some times when we are working with excel sheet data,
we might experience the changes in column names,
in that case we can simply use the following code to access the particular column of a returned dataset
VB.Net code
Dim ds As New DataSet
ds.Tables(0).Columns(0)
ds.Tables(0).Columns(1)
and so on..
we might experience the changes in column names,
in that case we can simply use the following code to access the particular column of a returned dataset
VB.Net code
Dim ds As New DataSet
ds.Tables(0).Columns(0)
ds.Tables(0).Columns(1)
and so on..
No comments:
Post a Comment