Search results for query: *

  1. R

    Problems comparing values in a datatable

    This is good to know. I will start using .Equals(). I will need to research other methods that are more efficient. Not suprised. I am new to programming in general. I need to do some reading on typed vs untyped datatables. The reason why I did it that way was because I didn't know any...
  2. R

    Problems comparing values in a datatable

    I get the error Dr.WinningDrawingColumn "is not a member of system.data.row" If Dr.WinningDrawingColumn = Me.TextBox1.Text Then No clue why that does not work.
  3. R

    Problems comparing values in a datatable

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

    Adding a row with a Date and Number Type

    The trouble I am having is understanding the two parts of the of the code (highlighted in bold) drNew.Item("Picked") = "Picked" The first "Picked" in this case appears to be the name of the field in the table. The second "Picked" is the value is being attemped to be inserted into a bound...
  5. R

    Adding a row with a Date and Number Type

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

    add a row to an access database

    Hang in there Dean. I did the same exact thing this morning until I realized that recordsets did not exist in ADO.net. It will get better.
  7. R

    Format Date in Combo Box

    No Problem. Just another reason to upgrade to 2005. Thanks for the help. :o
  8. R

    Format Date in Combo Box

    LOL. I figured out another method two seconds after that last post. I formatted the value in the Select statement using "d". Thanks for the help.
  9. R

    Format Date in Combo Box

    Doh!! It did not click when you said Property but I can not locate "FormatString property" in the properties box. That may explain why I did not understand your previous post. I reviewed all the properties in the box and none of them seem to fit FormatString. Sorry for understanding.
  10. R

    Format Date in Combo Box

    Thanks for the in-depth reply Jmc. I am pretty new to programming in general so this helps out alot. I used the link below and see several examples, however all of these code examples seem to print messages and not format a bound combo box. I think my main problem is not understanding where...
  11. R

    Format Date in Combo Box

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

    Datagrid to change with new record...

    I have the same exact problem, do you have a link for VS 2003? Thanks for the help
Back
Top