Click here to Skip to main content
15,905,785 members
Home / Discussions / C#
   

C#

 
Questiondataset Simple sort. Pin
udikantz15-May-09 12:13
udikantz15-May-09 12:13 
QuestionCan i use web space in C# project? Pin
abhishek2915-May-09 9:26
abhishek2915-May-09 9:26 
AnswerRe: Can i use web space in C# project? Pin
DaveyM6915-May-09 9:59
professionalDaveyM6915-May-09 9:59 
AnswerRe: Can i use web space in C# project? Pin
EliottA15-May-09 11:46
EliottA15-May-09 11:46 
GeneralRe: Can i use web space in C# project? Pin
abhishek2926-May-09 9:08
abhishek2926-May-09 9:08 
GeneralRe: Can i use web space in C# project? Pin
EliottA26-May-09 9:20
EliottA26-May-09 9:20 
GeneralRe: Can i use web space in C# project? Pin
abhishek2926-May-09 17:55
abhishek2926-May-09 17:55 
QuestionMDI parent form maximize problem Pin
atifamin200215-May-09 9:15
atifamin200215-May-09 9:15 
AnswerRe: MDI parent form maximize problem Pin
DaveyM6915-May-09 9:44
professionalDaveyM6915-May-09 9:44 
QuestionBackground worker Pin
Payam Rastogi15-May-09 6:54
Payam Rastogi15-May-09 6:54 
AnswerRe: Background worker Pin
DaveyM6915-May-09 9:50
professionalDaveyM6915-May-09 9:50 
GeneralRe: Background worker Pin
Payam Rastogi15-May-09 9:57
Payam Rastogi15-May-09 9:57 
GeneralRe: Background worker Pin
DaveyM6915-May-09 10:10
professionalDaveyM6915-May-09 10:10 
QuestionHow to prevent RowState change if Cell is not changed Pin
EURaklap15-May-09 6:19
EURaklap15-May-09 6:19 
QuestionMultiple forms and datagridviews Pin
bwood202015-May-09 6:02
bwood202015-May-09 6:02 
AnswerRe: Multiple forms and datagridviews Pin
Henry Minute15-May-09 10:05
Henry Minute15-May-09 10:05 
GeneralRe: Multiple forms and datagridviews Pin
bwood202015-May-09 10:09
bwood202015-May-09 10:09 
GeneralRe: Multiple forms and datagridviews Pin
Henry Minute15-May-09 10:33
Henry Minute15-May-09 10:33 
GeneralRe: Multiple forms and datagridviews Pin
bwood202015-May-09 12:17
bwood202015-May-09 12:17 
GeneralRe: Multiple forms and datagridviews Pin
Henry Minute15-May-09 13:09
Henry Minute15-May-09 13:09 
GeneralRe: Multiple forms and datagridviews [modified] Pin
bwood202018-May-09 6:50
bwood202018-May-09 6:50 
GeneralRe: Multiple forms and datagridviews Pin
Henry Minute18-May-09 8:18
Henry Minute18-May-09 8:18 
Hi, have a good weekend?

The problem is, that there are still two members with the same name, which could get confusing. However if the compiler doesn't complain, why should I. Smile | :)

The next problem to tackle is the line string Query = ("SELECT * FROM [" + dataGridView1 + "]");

I don't know if you know how to use breakpoints, the debugger and single stepping, but if you do you will be able to determine that
it evaluates to
SELECT * FROM [System.Windows.Forms.DataGridView]


at runtime.

Whereas I suspect that you want it to get the data from the table whose name is selected in dataGridView1.

Is that correct?

Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

GeneralRe: Multiple forms and datagridviews Pin
bwood202018-May-09 8:44
bwood202018-May-09 8:44 
GeneralRe: Multiple forms and datagridviews Pin
Henry Minute18-May-09 9:54
Henry Minute18-May-09 9:54 
GeneralRe: Multiple forms and datagridviews Pin
bwood202018-May-09 12:54
bwood202018-May-09 12:54 

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.