0

hello, I am doing an auction program and i need to make the enrolldate cell in each roll equal to todays datetime. any one has an idea?

3
Contributors
6
Replies
7
Views
5 Years
Discussion Span
Last Post by suneye
0

Which concept is the problem?
- Assigning the DateTime value to the cell?
- Getting DateTime.Now as a value?

0

I want to assign the datetime to the cell's value inorder to add it to sql

0

Those are completely different problems.
In order to put it in SQL, it needs to be in a string.
To put it in a datagrid cell, it just needs to be added to the cell.
I can show you either.

0

I have tried to put the value in the cell but it doesn't appear in the datagridview so if u can show me how it is done i will be thankfull :)

0

what I am facing exactly is that I am trying to assign the current date to a specific cell using newrowneeded event but this is not working so what to do? eventhough if I entered the date without entering in an event it doesn't appear in the data grid view!! I hope u r understanding the point

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.