locked
newby datagridview question

    Question

  • I'm new to vb.net and I'm working in a project with a datagridview. In short, the user will check a box on the gridview and I need to time stamp that event automatically. I have a column for the time stamp but I'm haveing issues. What would be the best way (easiest) to put a date and time in the time stamp column automatically?
    Wednesday, September 17, 2008 3:24 PM

Answers

  • Hi powerr
    powerr said:

    I'm new to vb.net and I'm working in a project with a datagridview. In short, the user will check a box on the gridview and I need to time stamp that event automatically. I have a column for the time stamp but I'm haveing issues. What would be the best way (easiest) to put a date and time in the time stamp column automatically?

    One way you could insert a column of type Date/Time in the table, and when you write data to the table, through the value of DateTime.Now to check column from the application.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    • Marked as answer by Xingwei Hu Tuesday, September 23, 2008 1:41 AM
    Monday, September 22, 2008 7:42 AM