Hello
I use this code to fill datagrid , but rows was created without data! whats the problem?
I use this code to fill datagrid , but rows was created without data! whats the problem?
Dim connString As String = "Provider=SQLOLEDB.1;Password=*******;Persist Security Info=True;User ID=sa;Initial Catalog=chek;Data Source=ahnd" Dim myConnection As OleDbConnection = New OleDbConnection '192.168.168.1 'Data Source=ahnd;Initial Catalog=chek;Persist Security Info=True;User ID=sa myConnection.ConnectionString = connString Dim da As OleDbDataAdapter = New OleDbDataAdapter("select * from x" , myConnection) Dim ds As DataSet = New DataSet da.Fill(ds, "x") RadGridView1.DataSource = ds.Tables("x").DefaultView