why this error is comming in vb.net wiodows application

Posted by Shanky11 under VB.NET on 3/2/2013 | Points: 10 | Views : 980 | Status : [Member] | Replies : 0
see why gridview is not populating values
No Errors Coming>.....................................dataset value is also showing
Public Sub fetchdetails()
sqlcon = New SqlConnection("data source=I3-001\SQL2008R2; initial catalog=SmsDb; user id=sa; password=bss123")
datset = New DataSet()
cmd1 = New SqlCommand("select * from Registration", sqlcon)
sqlda = New SqlDataAdapter(cmd1)
sqlda.Fill(datset)
DataGridView1.DataSource = datset

End Sub




Responses

(No response found.)

Login to post response