Got the answer.
dataset1.tables("table_name").row(0).HasVersion
(DataRowVersion.Original)
>-----Original Message-----
>Hi,
>In datagrid I used following statement to do some action
>when col_name is null in service side. But sometimes this
>statement raises an exception says: "There is no original
>row to access."
>
>If IsDBNull((Dataset1.Tables("table_name").Rows(0)
>("col_name", DataRowVersion.Original))) Then
>
>// do some action
>
>End if
>
>The DataRowVersion.current pointing to the right row but
>in some situation DataRowVersion.Original doesn't point
to
>the right one, and raises that exception.
>Now the question is: How could i check for existing
>DataRowVersion.Original? i meant, to see if
>DataRowVersion.Original is available then do the action,
>other wise ignore it.
>
>Thanks.
>
>
>
>
>.
>