Hello,
I need help.
I have problem for VB.Net 2005.
My backend database is SQL Server 2005
I wrote the following code:
strSQL="Select FName, LName, MName FROM tblInfo"
RsOpen(strSQL)
If Rs.RecordCount> 0 Then
Rs.MoveFirst
txtFName.Text=R s.Fields("FName ").Value
txtMName.Text=R s.Fields("MName ").Value
txtLName.Text=R s.Fields("LName ").Value
End If
My problem is MName filed is null value. How can i check the null value?
I tried IsNull function in VB but in VB.Net there is no IsNull function.
Please anybody know the function for check IsNull ?
RaJaN
I need help.
I have problem for VB.Net 2005.
My backend database is SQL Server 2005
I wrote the following code:
strSQL="Select FName, LName, MName FROM tblInfo"
RsOpen(strSQL)
If Rs.RecordCount> 0 Then
Rs.MoveFirst
txtFName.Text=R s.Fields("FName ").Value
txtMName.Text=R s.Fields("MName ").Value
txtLName.Text=R s.Fields("LName ").Value
End If
My problem is MName filed is null value. How can i check the null value?
I tried IsNull function in VB but in VB.Net there is no IsNull function.
Please anybody know the function for check IsNull ?
RaJaN
Comment