This is the first time that I have tried to loop through a datatable. I know there are better methods to count rows but I was making sure that the loop worked. My next step is to take a value (TextBox1) and compare it to a value in each row of the datatable (tbl_WinningNumbers).
Dim...
Need some help with adding a row to a data table with a data type of date and number type. All the examples I find are for fields that are strings. Here is the code:
drNew.Item("Unique Key") = "Unique Key" 'number type, does not work
drNew.Item("Player") = "Player" 'string type, works...
Have combo box that is binded to a date field in an Access database. For the life of me I can not get rid of the time at the end.
I have the Data Type set to Date/Time in Access and the format is Short Date. All the dates are entered as mm/dd/yyyy. The value in the dataset is set to Date...
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.