This is my first post here.Woohoo! Seems like an awesome place to collaborate. So heres my issue, thread title explains pretty well though. I have a C# app that I am working on, and I have a datagrid and one button in the UI. Heres me ISSUE: I have been trying to assign a C# string variable to a datetime value in my datagrid. Btw, in my datagrid, I have 4 columns, firstName, LastName, Membership, Date.
EXAMPLE: Member scans card. App pulls members info from the SQL database, populates datagrid, then compares current date with the last time his/her card was scanned(if applicable).(DONT NEED HELP ON COMPARING THE DATES, I KNOW HOW TO DO THAT)
Can someone please explain CLEARLY how to assign the Date columns value from my datagrid to a C# string variable?
And if you cant explain that, dull it down a little bit and explain how to simply assign a datagrid string value to a C# string variable. THANKS IN ADVANCE!