hi every one!
i'm trying to display my data using DataGrid,there is no Data
Grid control available in asp.net(vs 2005).i'm trying to do it
programmatically,but it shows nothing:i have used the following code:
con.Open();
OleDbCommand cmd1 = con.CreateCommand();
OleDbDataAdapter dap = new OleDbDataAdapter("select * from
admin", con);
OleDbCommandBuilder cb = new OleDbCommandBuilder(dap);
DataSet ds = new DataSet();
ds.Fill(dap, 0, 0, "admin");
DataGrid dg=new DataGrid();
dg.DataSource=ds;
con.Close();
plz guid me how to do it,i will wait anxiously