Select Convert( int , MyTimeStampColumn ) as MyTimeStampINT from
dbo.SomeTable
Then use it as an int in your c#
Use an alias so you keep it straight. (MyTimeStampINT is my alias)
"Tim Kelley" <tk*****@company.comwrote in message
news:%2***************@TK2MSFTNGP06.phx.gbl...
Is it possible to store a sql2000 timestamp field to a variable in C#. I
am creating a dataset from a stored procedure and one of the fields is a
timestamp field. I have created a variable of type binary[], but I am not
sure how to convert to data in the dataset.
Thanks.