G
Guest
Hi,
I have a DataBase that have some tables with more then 1 Million records.
I notice that the query is executed quite fast, but to put the data in a datagrid it's a bit slow, I Think dataset is slowing this operation...
Here is my code.
md = new OleDbCommand(SQL,dbConn);
da=new OleDbDataAdapter(cmd);
da.Fill(ds,"VEHICLE");
dtgVeiculos.DataSource = ds.Tables["VEHICLE"];
dtgVeiculos.TableStyles[0].MappingName= ds.Tables["VEHICLE"].ToString();
Do you know I can I improve the data Placement in datagrid for exemple?
Is datagrid the best control to put the data?
Thanks for your help,
BP
I have a DataBase that have some tables with more then 1 Million records.
I notice that the query is executed quite fast, but to put the data in a datagrid it's a bit slow, I Think dataset is slowing this operation...
Here is my code.
md = new OleDbCommand(SQL,dbConn);
da=new OleDbDataAdapter(cmd);
da.Fill(ds,"VEHICLE");
dtgVeiculos.DataSource = ds.Tables["VEHICLE"];
dtgVeiculos.TableStyles[0].MappingName= ds.Tables["VEHICLE"].ToString();
Do you know I can I improve the data Placement in datagrid for exemple?
Is datagrid the best control to put the data?
Thanks for your help,
BP