I want to insert a value from loop in datarow so before entering value in datarow, I want to check that a perticular column NAME exist in table or not.
Please tell me how can I check it. (vb.net preferred).
I got the answer.and its working . its:
If dr.Table.Columns.Contains("columnname") = True Then
--your work---
End If