this blog contains information for .net and sql stuffs. You can find various tips and tricks to overcome problem you may be facing in ...

Monday, September 28, 2009

Read RowStamp column value from the SQL Database

Hey! have you ever face the problem to read the Value of "RowStamp" data type column.

When you read value through the datareader you will have that value in the data reader but in the .net Row stamp is treated as the array of Byte types

so you need to read the value of reader by
GetSqlBinary(columnindex) method and also needs to convert to Array of bytes then it will work.

Cheers..

No comments: