Search results

  1. P

    date?

    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.
  2. P

    Help

    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.
  3. P

    record tracking

    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...
  4. P

    readonly?

    sorry, i mean how to make the combobox greyout?
  5. P

    previous and next button

    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...
  6. P

    previous and next button

    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...
  7. P

    previous and next button

    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.
  8. P

    previous and next button

    is there any other way to write the codes for buttons(next, and previous button to view record) if i dont have dataset?thanks
  9. P

    help..

    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
  10. P

    help..

    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
  11. P

    edit/view form(help)

    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...
  12. P

    problem with search engine

    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...
  13. P

    problem with search engine

    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...
  14. P

    problem with search engine

    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?
  15. P

    readonly?

    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
  16. P

    help..

    Thanks alot..it really work..:)
  17. P

    problem with search engine

    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:)
  18. P

    help..

    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...
  19. P

    problem with search engine

    btw wat is the use of Dim reader As OleDbDataReader = cmd.ExecuteReader?
  20. P

    problem with search engine

    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 =...
Top Bottom