Best way to make queries?
Best way to make queries?
Best way to make queries?
Best way to make queries?
Best way to make queries?
Best way to make queries? Best way to make queries? Best way to make queries? Best way to make queries? Best way to make queries? Best way to make queries? Best way to make queries? Best way to make queries?
Best way to make queries? Best way to make queries?
Best way to make queries?
Go Back  Xtreme Visual Basic Talk > > > Best way to make queries?


Reply
 
Thread Tools Display Modes
  #1  
Old 05-07-2014, 12:58 PM
Fat_Lip's Avatar
Fat_Lip Fat_Lip is offline
Centurion
 
Join Date: Feb 2005
Posts: 123
Default Best way to make queries?


I have a question about queries. I am using an unbound DataGridView to display different results and many queries are being made whenever a new row is entered. It's running a little bit slower than I would like so my question is... If I have a table with 12 fields is it better to make a sub that gets results for all 12 fields at one time? Right now I am using the ID field of a table and getting results by making queries one at a time. It really shortens up my code and makes things simple but I don't know if that's the way it's done in the professional world. I want to do it right before I go any farther on this app.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Best way to make queries?
Best way to make queries?
Best way to make queries? Best way to make queries?
Best way to make queries?
Best way to make queries?
Best way to make queries? Best way to make queries? Best way to make queries? Best way to make queries? Best way to make queries? Best way to make queries? Best way to make queries?
Best way to make queries?
Best way to make queries?
 
Best way to make queries?
Best way to make queries?
 
-->