example: if i want to calculate the date due for an item,how can i do it?
iszit possible to add current date to the no of days(for loan) to calculate the date due?
can anyone , pls help.thanks alot.
if i have a txtbox which allow me to choose video, vcd, and dvd.then when i choose (example)video, and submit into the database,instead of inserting the word,video,iszit possible that when insert, the word is '1' NOT VIDEO.
THANKS.
when i view my data, my record tracking item will increase/decrease its position.
after i click next or previous.but if i search a data which is (example) record 4
my record tracking will not be state 4.it will remain unmoved.and if after the search button i click the next/prev record, it prompt...
i use the below code to navigate my record to next record but it give problem..
can anyone help me c where did i went wrong. or iszit my coding for my loading of data is wrong. cos for my loading of data, i use data reader to read from my database and load to my window form,it is wrong iszit...
i use the below code for the next button, but it wont work.iszit because my coding is all wrong?
below is my coding:
Private Sub btnNext_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNext.Click
Dim strConn As String = "Provider=Microsoft.Jet.OLEDB.4.0; Data...
for txtbox, i use readonly to make the txtbox uneditable,then for button,how can i make it unpressable? anyone know?
btw the way,thank for the help..now trying to use datareader for the next button,but looks like it gives me problems too..
thanks.
no..is sumting like u refresh the whole page..cos if i choose my gender as female and update the data.then for the next search, my gender combobox still have the female wording there.that y i wish to "reset" the text
iszit possible to reset the field of the combobox..cos i wrote it this way.it wont work
Me.cboGender.ResetText().
is there other way i can clear..cos i try.me.cboGender.selecteditems.clear() also cant work..
thanks
wat if i only want the txtbox outside the groupbox always to be a non-read only file format and inside the groupbox,all txtbox to be,editable/non-editable,except one txtfield to be always a ready file format, how can i make the txtbox outside the groupbox to be non-readonly format? and one of...
now, i am able to update record,but i have some problem.
if my nric has some relationship with other table like rental, when i update the record,how can i let it automatic update the record in the rental table part too?
secondly- outside my groupbox, i have the txtbox(customerNRIC) and a...
i was trying with this following code to update record to the database.
Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
Dim strConn As String = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\Documents and Settings\YangLim\My...
now i manage to search the data that i need, but the thing is when i wan to edit the record,and after i finish editing and how do i update the record to the database?
For txt box, i can set it to read only by using the below code,
txtCustID.ReadOnly = True
but how to set it if it is for comboxbox?
anyone can help me..thanks
Thanks alot...i try the datareader,it really work.thanks for your advice.
if i search and display the data in the datagrid,and iszit possible to have the data appearing at a new form after i click on a particular record that i want to edit? so that i can make editing easier?
thanks:)
i am doing a search page which can fill all the textfield.but if will encounter problem when i run the program,if i not wrong, problem lies with the reader part.
The problem state:
An unhandled exception of type 'System.InvalidCastException' occurred in system.data.dll
Additional...
i am doing search engine and can i have problem retriving data in the textfields after i press the search button.
here the code i write
Dim strConn As String = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\Documents and Settings\Yee\My Documents\Assignment2.mdb"
Dim MySQL As String =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.