how do i get a SQL timestamp into/out of a grid?

C

Craig G

i have a hidden template column that contains a label which is populated
with a SQL Timestamp. the problem is each time i bring the timestamp out it
is coming out as "System.Byte[]" which is just a string

i understand that the timestamp cannot be seen as its binary but what/how am
i meant to store it in within the grid and then return it out if the user
selects that particular record

ive just been using this to return other fields but that wont work for the
timestamp
myTimeStamp = CType(e.Item.Cells(5).Controls(1), Label).Text

anyone any idea's?

Cheers,
Craig
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top