J
javabunch
Hello,
I am new to .Net and ADO.NET. I used Visual Studo .Net to create a
Oracle DataAdapter. Now I want to bind to a DataGrid to display the
result of the SQL Statment. I tried the following source code but it
does not work :-(
Here the code:
DataTable myTable = new DataTable();
DataSet myDataset = new DataSet();
oracleDataAdapter1.Fill(myTable);
myDataset.Tables.Add(myTable);
dataGrid1.DataSource = ;
dataGrid1.Visible = true;
Could someone tell me what I am doing wrong? I am happy for any help
Greetings
Javabunch
I am new to .Net and ADO.NET. I used Visual Studo .Net to create a
Oracle DataAdapter. Now I want to bind to a DataGrid to display the
result of the SQL Statment. I tried the following source code but it
does not work :-(
Here the code:
DataTable myTable = new DataTable();
DataSet myDataset = new DataSet();
oracleDataAdapter1.Fill(myTable);
myDataset.Tables.Add(myTable);
dataGrid1.DataSource = ;
dataGrid1.Visible = true;
Could someone tell me what I am doing wrong? I am happy for any help
Greetings
Javabunch