Click here to Skip to main content
15,881,204 members
Home / Discussions / C#
   

C#

 
AnswerRe: XMLTextReader - Find Max Depth Pin
Heath Stewart12-Jul-11 12:27
protectorHeath Stewart12-Jul-11 12:27 
AnswerRe: XMLTextReader - Find Max Depth Pin
BobJanova13-Jul-11 0:48
BobJanova13-Jul-11 0:48 
QuestionVertical Alignment in RichTextbox Pin
Blubbo12-Jul-11 7:28
Blubbo12-Jul-11 7:28 
AnswerRe: Vertical Alignment in RichTextbox [modified] Pin
Carmelo La Monica12-Jul-11 7:55
professionalCarmelo La Monica12-Jul-11 7:55 
GeneralRe: Vertical Alignment in RichTextbox Pin
Blubbo12-Jul-11 8:00
Blubbo12-Jul-11 8:00 
GeneralRe: Vertical Alignment in RichTextbox Pin
Carmelo La Monica12-Jul-11 8:14
professionalCarmelo La Monica12-Jul-11 8:14 
GeneralRe: Vertical Alignment in RichTextbox Pin
Blubbo12-Jul-11 8:16
Blubbo12-Jul-11 8:16 
QuestionSQL DataGridView Pin
Falterfire12-Jul-11 6:02
Falterfire12-Jul-11 6:02 
Okay, so I'm thinking my problem here probably involves completely misunderstanding the use of a DataGridView, but here goes:

I'm currently working on learning how to use SQL with C#/.NET using VS2010. I created a DataGridView that's linked to my data table. Adding rows to the DataGridView while the program was running did not actually save the changes to the database, so I created a separate piece using SqlConnection & SqlCommand. This successfully added the rows to the database, but did not update the DataGridView.

So I suppose there are two questions here: How do I save the changes to a DataGridView to the bound data table? and How do I have the DataGridView reload table data?
AnswerRe: SQL DataGridView Pin
Dan Mos12-Jul-11 8:35
Dan Mos12-Jul-11 8:35 
GeneralRe: SQL DataGridView Pin
Falterfire12-Jul-11 8:58
Falterfire12-Jul-11 8:58 
AnswerRe: SQL DataGridView Pin
PIEBALDconsult12-Jul-11 17:42
mvePIEBALDconsult12-Jul-11 17:42 
QuestionManaged C# DLL called from native C main with callbacks Pin
Stuart Rubin12-Jul-11 4:18
Stuart Rubin12-Jul-11 4:18 
AnswerRe: Managed C# DLL called from native C main with callbacks Pin
Pete O'Hanlon12-Jul-11 5:57
mvePete O'Hanlon12-Jul-11 5:57 
GeneralRe: Managed C# DLL called from native C main with callbacks Pin
GuyThiebaut12-Jul-11 10:28
professionalGuyThiebaut12-Jul-11 10:28 
GeneralRe: Managed C# DLL called from native C main with callbacks Pin
Stuart Rubin13-Jul-11 7:04
Stuart Rubin13-Jul-11 7:04 
GeneralRe: Managed C# DLL called from native C main with callbacks Pin
Pete O'Hanlon13-Jul-11 7:09
mvePete O'Hanlon13-Jul-11 7:09 
GeneralRe: Managed C# DLL called from native C main with callbacks Pin
Stuart Rubin13-Jul-11 7:24
Stuart Rubin13-Jul-11 7:24 
GeneralRe: Managed C# DLL called from native C main with callbacks Pin
Pete O'Hanlon13-Jul-11 7:38
mvePete O'Hanlon13-Jul-11 7:38 
Questionimporting some data form excell to database Pin
cpokazi12-Jul-11 2:33
cpokazi12-Jul-11 2:33 
AnswerRe: importing some data form excell to database Pin
PIEBALDconsult12-Jul-11 3:16
mvePIEBALDconsult12-Jul-11 3:16 
GeneralRe: importing some data form excell to database Pin
cpokazi12-Jul-11 3:27
cpokazi12-Jul-11 3:27 
GeneralRe: importing some data form excell to database Pin
PIEBALDconsult12-Jul-11 15:09
mvePIEBALDconsult12-Jul-11 15:09 
AnswerRe: importing some data form excell to database Pin
Shameel12-Jul-11 3:48
professionalShameel12-Jul-11 3:48 
GeneralRe: importing some data form excell to database Pin
cpokazi12-Jul-11 4:04
cpokazi12-Jul-11 4:04 
GeneralRe: importing some data form excell to database Pin
Shameel12-Jul-11 4:37
professionalShameel12-Jul-11 4:37 

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.