Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataSet/TableAdapter - any way to speed up?
Message
 
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01399267
Message ID:
01399377
Views:
44
>>Hi everybody,
>>
>>I type the ItemNo and using BL/DS I select info and then populate the textboxes on the form with the Information. This is very slow - looks like almost a minute before the info appears on the screen.
>
>Are all SQL accesses that slow? I'd bet the problem is likely to be, for whatever reason, a slow SQL connect. Are you using Windows or SQL authentication?
>
I believe it's Windows, I only specify DataSource
 //this._connection.ConnectionString = ("Data Source =" 
            //            + (System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase) + "\\SDCBarcodeData.sdf;"));

            this._connection.ConnectionString = Settings.Default.LocalConnectionString;
I have to change the designer code every time back to the second setting after I make any changes in DS.

With the Index on ItemNo it's quicker now, but not as quick as I want.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform