If your using a dataset (especially a typed one) use the BeginLoadData
method.
i.e.
Dim myStrongDataset 1 as new myStrongDataSet 1
myStrongDataset 1.MyTable.Begin LoadData()
myDataAdapter.F ill(myStrongDat aset.MyTable)
myStrongDataset 1.myTable.EndLo adData()
this turns off notifications which can cause performance problem.s
You can also use the currency manager to assist this with
dim cm as CurrencyManager
cm = BindingContext( myStrongDataset 1, "MyTable")
cm.SuspendBindi ng
myStrongDataset 1.MyTable.Begin LoadData()
myDataAdapter.F ill(myStrongDat aset.MyTable)
myStrongDataset 1.myTable.EndLo adData()
cm.ResumeBindin g
HTH,
CJ
"Agnes" <ag***@dynamict ech.com.hk> wrote in message
news:O8******** ******@TK2MSFTN GP11.phx.gbl...
I got a tables which got 10,000 records.
user will input the invoice no as key.
my strConnection = "select * from invoice_Table where invno ='" &
(Me.txtInvoiceN o.Text) &"' "
in my form, there are over 20 textbox.
If i use databinding to bind each textbox. will it become slow ???
if i move the position, will it slow ??
Thanks