G
Guest
The below code works in a Web application, but does not work in a Windows
application. The DataBind() command only exists for Web forms. How do I write
this code for a Windows app? Can you give me the code on how to do that?
this.sqlConnection1.Open();
this.dreader = this.sqlCommand3.ExecuteReader...
this.DataGrid1.DataSource = dreader;
this.DataGrid1.DataBind();
this.dreader.Close();
this.sqlConnection1.Close();
application. The DataBind() command only exists for Web forms. How do I write
this code for a Windows app? Can you give me the code on how to do that?
this.sqlConnection1.Open();
this.dreader = this.sqlCommand3.ExecuteReader...
this.DataGrid1.DataSource = dreader;
this.DataGrid1.DataBind();
this.dreader.Close();
this.sqlConnection1.Close();