W
Werner
I am having trouble getting my data into the datagrid.
All I get is the header row.
What am I doing wrong?
Or is there a problem with the new service packs?
Here is my source code:
DbConnection db = new DbConnection(conString,DbTypEnum.SQL_Server_Typ);
SuperDataAdapter adapLogs = db.CreateDataAdapter("Select * from LogEintrag");
DataSet dsLogs = new DataSet();
db.Open();
adapLogs.Fill(dsLogs,"LogEintrag");
DataGrid1.DataSource = dsLogs;
DataGrid1.DataMember = "LogEintrag";
DataGrid1.DataBind();
db.Close();
Nice regards
Werner Kratochwil
All I get is the header row.
What am I doing wrong?
Or is there a problem with the new service packs?
Here is my source code:
DbConnection db = new DbConnection(conString,DbTypEnum.SQL_Server_Typ);
SuperDataAdapter adapLogs = db.CreateDataAdapter("Select * from LogEintrag");
DataSet dsLogs = new DataSet();
db.Open();
adapLogs.Fill(dsLogs,"LogEintrag");
DataGrid1.DataSource = dsLogs;
DataGrid1.DataMember = "LogEintrag";
DataGrid1.DataBind();
db.Close();
Nice regards
Werner Kratochwil