Hello All
I'm using the following code to get data into my datagird and it takes about 7-8 seconds to load 10 rows. Am I doing something wrong? Can I speed this up somehow
cn = New System.Data.SqlServerCe.SqlCeConnection("Data Source=\Program Files\first_app\star_mobile.sdf"
DataGrid1.RowHeadersVisible = Fals
Dim myCommand As New System.Data.SqlServerCe.SqlCeCommand("SELECT * FROM SM_DEMO ORDER BY
LAST_NAME", cn
myCommand.CommandType = CommandType.Tex
Dim myAdapter As New System.Data.SqlServerCe.SqlCeDataAdapte
myAdapter.SelectCommand = myComman
Dim ds As New DataSe
myAdapter.Fill(ds, "SM_DEMO"
DataGrid1.DataSource = ds.Tables("SM_DEMO").DefaultView(
Thanks for your input ;