Hi,
I need to convert some vb 6.0 code into vb.net.
If I write the same code in VB.Net with the help of Dataset; like
it gives me an error.
or If I write
there is no error but I'm not sure whether it will result correctly.
Please suggest how to do this.
--Shubh Maitrey
I need to convert some vb 6.0 code into vb.net.
VB.NET:
If code looks like
If adoRS("ENABLE") = 1 Then
If adoRS("STOCK_Available") = 1 Then
......
If I write the same code in VB.Net with the help of Dataset; like
VB.NET:
If objDs.Tables(0).Columns("ENABLE") = 1 Then
....
End If
or If I write
VB.NET:
If objDs.Tables(0).Columns("ENABLE").DefaultValue = 1 Then
....
End If
Please suggest how to do this.
--Shubh Maitrey
Last edited by a moderator: