Data list binding
hello,
I am facing some prob while binding dataset to datalist with the help of following code
Private Sub GetNewLocationInformation()
dlNewLocationInformation.DataSource = dsResult.Tables(0)
dlNewLocationInformation.DataBind()
End Sub
Probelem is that my some row in this dataset have null values So its giving the error " Cast from DBNull to type string is not valid"
pleae solve it
Thanks and Regards,
Alok Gupta
Software Engineer,
Infosys Technologies Ltd
|