Click here to Skip to main content
15,892,298 members
Home / Discussions / C#
   

C#

 
GeneralRe: S_OK Does Not Exist... Pin
Dave Kreskowiak20-Sep-07 8:37
mveDave Kreskowiak20-Sep-07 8:37 
QuestionHow to get a handle to a brush object for GDI Pin
Frank Fajardo20-Sep-07 6:50
Frank Fajardo20-Sep-07 6:50 
AnswerRe: How to get a handle to a brush object for GDI Pin
Guffa20-Sep-07 7:26
Guffa20-Sep-07 7:26 
GeneralRe: How to get a handle to a brush object for GDI [modified] Pin
Frank Fajardo20-Sep-07 13:55
Frank Fajardo20-Sep-07 13:55 
GeneralRe: How to get a handle to a brush object for GDI Pin
Guffa21-Sep-07 9:52
Guffa21-Sep-07 9:52 
GeneralRe: How to get a handle to a brush object for GDI Pin
Frank Fajardo21-Sep-07 20:59
Frank Fajardo21-Sep-07 20:59 
Questiongetting data back the order as it appears in datagridview Pin
gericooper20-Sep-07 6:06
gericooper20-Sep-07 6:06 
AnswerRe: getting data back the order as it appears in datagridview Pin
Dave Kreskowiak20-Sep-07 7:24
mveDave Kreskowiak20-Sep-07 7:24 
Did you know that databases do not care about the order of records in a table?? Unless told otherwise with a ORDER BY clause, a SELECT statement can return records in any order.

About the only way to accomplish this would be to give each record in the table an index number specifying which row in the view it is in. When you write the data back out to the database, you'd have to include this view order number with the data and store it in it's own column in the table. When you retrieve the data again, you'd have to specify and ORDER BY clause on that view order column in the SELECT statement, thereby guaranteeing that you get a table sorted in the order the user last saw it.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: getting data back the order as it appears in datagridview Pin
gericooper20-Sep-07 21:35
gericooper20-Sep-07 21:35 
GeneralRe: getting data back the order as it appears in datagridview Pin
Dave Kreskowiak21-Sep-07 2:06
mveDave Kreskowiak21-Sep-07 2:06 
GeneralRe: getting data back the order as it appears in datagridview Pin
gericooper21-Sep-07 2:10
gericooper21-Sep-07 2:10 
Question[Message Deleted] Pin
Bojja Lakshmi20-Sep-07 4:05
Bojja Lakshmi20-Sep-07 4:05 
AnswerRe: Regarding Window services Pin
Pete O'Hanlon20-Sep-07 4:57
mvePete O'Hanlon20-Sep-07 4:57 
GeneralRe: Regarding Window services Pin
Justin Perez20-Sep-07 4:59
Justin Perez20-Sep-07 4:59 
AnswerRe: Regarding Window services Pin
Dave Kreskowiak20-Sep-07 7:19
mveDave Kreskowiak20-Sep-07 7:19 
QuestionPlugin API Pin
Andre Trollip20-Sep-07 3:49
Andre Trollip20-Sep-07 3:49 
AnswerRe: Plugin API Pin
originSH20-Sep-07 3:52
originSH20-Sep-07 3:52 
AnswerRe: Plugin API Pin
Ravi Bhavnani20-Sep-07 3:54
professionalRavi Bhavnani20-Sep-07 3:54 
GeneralRe: Plugin API Pin
Andre Trollip20-Sep-07 4:00
Andre Trollip20-Sep-07 4:00 
QuestionStatic member Pin
ss.mmm20-Sep-07 3:44
ss.mmm20-Sep-07 3:44 
AnswerRe: Static member Pin
kubben20-Sep-07 3:45
kubben20-Sep-07 3:45 
GeneralRe: Static member Pin
Colin Angus Mackay20-Sep-07 3:47
Colin Angus Mackay20-Sep-07 3:47 
GeneralRe: Static member Pin
kubben20-Sep-07 3:48
kubben20-Sep-07 3:48 
JokeRe: Static member Pin
Pete O'Hanlon20-Sep-07 4:19
mvePete O'Hanlon20-Sep-07 4:19 
AnswerRe: Static member Pin
ss.mmm20-Sep-07 8:44
ss.mmm20-Sep-07 8:44 

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.