Click here to Skip to main content
15,888,454 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Rows.Clear is not working properly for an Unbound DataGridView in VB.NET 2005 Pin
Bernhard Hiller23-Aug-12 23:05
Bernhard Hiller23-Aug-12 23:05 
GeneralRe: Rows.Clear is not working properly for an Unbound DataGridView in VB.NET 2005 Pin
Phoenix Hawke27-Aug-12 2:17
Phoenix Hawke27-Aug-12 2:17 
GeneralRe: Rows.Clear is not working properly for an Unbound DataGridView in VB.NET 2005 Pin
Bernhard Hiller27-Aug-12 2:34
Bernhard Hiller27-Aug-12 2:34 
GeneralRe: Rows.Clear is not working properly for an Unbound DataGridView in VB.NET 2005 Pin
Phoenix Hawke27-Aug-12 3:02
Phoenix Hawke27-Aug-12 3:02 
GeneralRe: Rows.Clear is not working properly for an Unbound DataGridView in VB.NET 2005 Pin
Bernhard Hiller27-Aug-12 3:19
Bernhard Hiller27-Aug-12 3:19 
GeneralRe: Rows.Clear is not working properly for an Unbound DataGridView in VB.NET 2005 Pin
Phoenix Hawke27-Aug-12 3:46
Phoenix Hawke27-Aug-12 3:46 
GeneralRe: Rows.Clear is not working properly for an Unbound DataGridView in VB.NET 2005 Pin
Dave Kreskowiak24-Aug-12 6:33
mveDave Kreskowiak24-Aug-12 6:33 
GeneralRe: Rows.Clear is not working properly for an Unbound DataGridView in VB.NET 2005 Pin
Phoenix Hawke27-Aug-12 2:30
Phoenix Hawke27-Aug-12 2:30 
Dave Kreskowiak wrote:
Nobody is going to look through 300,000 records for anything. On top of that,
you're loading all of those into a DataTable, burning up network bandwidth
transmitting all those records and burning up memory because you're storing them
all in a DataTable.
 
Virtual mode is intended to give you an
oportunity to retrieve only the visible subset of the larger recordset being
viewed. For example, if your displayed grid is only 20 rows high, you can
retrieve only the 20 rows you can see from the 300,000 available.

Thank you for your feedback.

Your observation is very interesting. I say this becuse the tool returns 300K+ of records in under 6 seconds and 4 of those seconds is the time it takes the query to return results and the other 2 is the load time into the DataGridView. Please keep in mind we are dealing with an Ad-Hoc Query tool which allows the user to design any query they want to. It is up to the application to properly handle what they have designed and return the results in a reasonable amount of time.

I am really asking for advice on why the DataGridView works one way then another way when dealing with the exact same circumstances being executed twice. I defintiely want to enlist other design concepts but criticism without providing another solution is frankly useless to me.

Thanks
GeneralRe: Rows.Clear is not working properly for an Unbound DataGridView in VB.NET 2005 Pin
Dave Kreskowiak27-Aug-12 4:54
mveDave Kreskowiak27-Aug-12 4:54 
Questionhow to block input value from user in inputbox or msgbox? Pin
lukaszo4422-Aug-12 21:56
lukaszo4422-Aug-12 21:56 
AnswerRe: how to block input value from user in inputbox or msgbox? Pin
Eddy Vluggen23-Aug-12 1:19
professionalEddy Vluggen23-Aug-12 1:19 
AnswerKeyboard emulator? Pin
David Mujica23-Aug-12 2:24
David Mujica23-Aug-12 2:24 
Questioncoverters from c# to vb6 Pin
Karthik Chintala22-Aug-12 20:43
Karthik Chintala22-Aug-12 20:43 
AnswerRe: coverters from c# to vb6 Pin
Eddy Vluggen23-Aug-12 1:17
professionalEddy Vluggen23-Aug-12 1:17 
AnswerRe: coverters from c# to vb6 Pin
Dave Kreskowiak23-Aug-12 2:20
mveDave Kreskowiak23-Aug-12 2:20 
QuestionVB Script & file renaming question(s) Pin
puterguy_200022-Aug-12 9:50
puterguy_200022-Aug-12 9:50 
QuestionRe: VB Script & file renaming question(s) Pin
Eddy Vluggen23-Aug-12 1:14
professionalEddy Vluggen23-Aug-12 1:14 
AnswerRe: VB Script & file renaming question(s) Pin
puterguy_200023-Aug-12 5:44
puterguy_200023-Aug-12 5:44 
GeneralRe: VB Script & file renaming question(s) Pin
Eddy Vluggen23-Aug-12 5:53
professionalEddy Vluggen23-Aug-12 5:53 
GeneralRe: VB Script & file renaming question(s) Pin
puterguy_200023-Aug-12 10:01
puterguy_200023-Aug-12 10:01 
QuestionCould not load file or assembly or one of its dependencies. Pin
Karthik Chintala20-Aug-12 23:24
Karthik Chintala20-Aug-12 23:24 
QuestionRe: Could not load file or assembly or one of its dependencies. Pin
Eddy Vluggen20-Aug-12 23:49
professionalEddy Vluggen20-Aug-12 23:49 
AnswerRe: Could not load file or assembly or one of its dependencies. Pin
Karthik Chintala20-Aug-12 23:51
Karthik Chintala20-Aug-12 23:51 
GeneralRe: Could not load file or assembly or one of its dependencies. Pin
Eddy Vluggen21-Aug-12 0:17
professionalEddy Vluggen21-Aug-12 0:17 
GeneralRe: Could not load file or assembly or one of its dependencies. Pin
Dave Kreskowiak21-Aug-12 3:07
mveDave Kreskowiak21-Aug-12 3:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.