Click here to Skip to main content
15,889,831 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to use uxtheme APIs in custom control? Pin
James T. Johnson7-Aug-02 1:07
James T. Johnson7-Aug-02 1:07 
GeneralRe: How to use uxtheme APIs in custom control? Pin
Li-kai Liu (Angus)7-Aug-02 11:20
Li-kai Liu (Angus)7-Aug-02 11:20 
GeneralRe: How to use uxtheme APIs in custom control? Pin
James T. Johnson7-Aug-02 15:06
James T. Johnson7-Aug-02 15:06 
GeneralRe: How to use uxtheme APIs in custom control? Pin
Li-kai Liu (Angus)7-Aug-02 17:45
Li-kai Liu (Angus)7-Aug-02 17:45 
GeneralDataReader Pin
Mazdak5-Aug-02 20:44
Mazdak5-Aug-02 20:44 
GeneralRe: DataReader Pin
SimonS5-Aug-02 22:13
SimonS5-Aug-02 22:13 
GeneralRe: DataReader Pin
Mazdak6-Aug-02 19:12
Mazdak6-Aug-02 19:12 
GeneralRe: DataReader Pin
James T. Johnson6-Aug-02 19:35
James T. Johnson6-Aug-02 19:35 
It has that property, but that data isn't available until you've gone through all of the results returned.

If you run the SELECT command through query analyzer you will see the rowcount is returned as the last item.

This is done for performance reasons, so it can begin passing the data on to the next process that needs it; whether that be a parent query or a client such as the DataReader.

Otherwise it would have to load all of the results into memory, then count the number of rows before starting to send data; or perform the query twice: once to count the rows and again to send them.

This doesn't seem like much until you have a table with a million-plus rows and your query results in half of them being returned. Eek! | :eek:

James
GeneralIDE Controls Help Pin
BLaZiNiX5-Aug-02 14:24
BLaZiNiX5-Aug-02 14:24 
GeneralRe: IDE Controls Help Pin
jparsons6-Aug-02 6:22
jparsons6-Aug-02 6:22 
GeneralRe: IDE Controls Help Pin
BLaZiNiX6-Aug-02 13:01
BLaZiNiX6-Aug-02 13:01 
GeneralRe: IDE Controls Help Pin
leppie7-Aug-02 2:21
leppie7-Aug-02 2:21 
GeneralRe: IDE Controls Help Pin
leppie7-Aug-02 3:06
leppie7-Aug-02 3:06 
GeneralCustom Controls Pin
mbp5-Aug-02 14:19
mbp5-Aug-02 14:19 
GeneralResizable dialog Pin
Christian Graus5-Aug-02 13:03
protectorChristian Graus5-Aug-02 13:03 
GeneralRe: Resizable dialog Pin
Christian Graus5-Aug-02 13:09
protectorChristian Graus5-Aug-02 13:09 
Generalpure c# unsigned short* Pin
Anonymous5-Aug-02 12:36
Anonymous5-Aug-02 12:36 
GeneralControl on Control Pin
Nnamdi Onyeyiri5-Aug-02 9:40
Nnamdi Onyeyiri5-Aug-02 9:40 
GeneralRe: Control on Control - SOLVED Pin
Nnamdi Onyeyiri5-Aug-02 9:58
Nnamdi Onyeyiri5-Aug-02 9:58 
GeneralRe: Control on Control - SOLVED Pin
Nish Nishant5-Aug-02 10:00
sitebuilderNish Nishant5-Aug-02 10:00 
GeneralShut down function Pin
Anonymous5-Aug-02 8:03
Anonymous5-Aug-02 8:03 
GeneralRe: Shut down function Pin
BLaZiNiX6-Aug-02 13:03
BLaZiNiX6-Aug-02 13:03 
GeneralThe Old - 'It doesnt work', 'Well it works on my comp' Pin
Nnamdi Onyeyiri5-Aug-02 6:47
Nnamdi Onyeyiri5-Aug-02 6:47 
GeneralRe: The Old - 'It doesnt work', 'Well it works on my comp' Pin
leppie5-Aug-02 7:01
leppie5-Aug-02 7:01 
GeneralRe: The Old - 'It doesnt work', 'Well it works on my comp' Pin
Nnamdi Onyeyiri5-Aug-02 9:36
Nnamdi Onyeyiri5-Aug-02 9:36 

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.