Click here to Skip to main content
15,918,742 members
Home / Discussions / C#
   

C#

 
GeneralRe: flicker free drawing.... Pin
Denver Thomas8-Oct-08 21:47
Denver Thomas8-Oct-08 21:47 
QuestionWhat's the differense between int and int[] Pin
Pedram Behroozi8-Oct-08 19:00
Pedram Behroozi8-Oct-08 19:00 
AnswerRe: What's the differense between int and int[] Pin
Parwej Ahamad8-Oct-08 19:16
professionalParwej Ahamad8-Oct-08 19:16 
GeneralRe: What's the differense between int and int[] Pin
Pedram Behroozi8-Oct-08 19:21
Pedram Behroozi8-Oct-08 19:21 
QuestionEmbeded HTML Files C# V.Studio Exp. Edtn. Pin
jas0n238-Oct-08 16:54
jas0n238-Oct-08 16:54 
AnswerRe: Embeded HTML Files C# V.Studio Exp. Edtn. Pin
Mbah Dhaim8-Oct-08 17:47
Mbah Dhaim8-Oct-08 17:47 
GeneralRe: Embeded HTML Files C# V.Studio Exp. Edtn. Pin
jas0n239-Oct-08 0:01
jas0n239-Oct-08 0:01 
QuestionError with DataGridView? Pin
Richard Blythe8-Oct-08 16:18
Richard Blythe8-Oct-08 16:18 
I've ran into a subtle but problematic issue with the DataGridView saving a new row. I have a databound dgv stored in a UserControl and when the user enters values into a field, the values are not updated when the UserControl is closed (removed from the form). To save time I won't do into an explanation on why the dgv resides in a UserControl but I promise that there is a legitimate reason. Does anyone know how to force the dgv to save state of the new row being edited? If the user enters values into a new row and moves to another row, the state is saved but I can't depend on that happening in a real world situation. I have tried: dgv.NotifyCurrentCellDirty(), dgv.EndEdit() etc and nothing is working.

Here is how to replicate this issue. (Maybe a bug)
Try dropping a dgv that is bound to a dataTable into a UserControl. Now drop the UC inside a Form. Have a MenuStrip item that can be clicked to remove the UserControl from the form. Run the application and add some text to the new row at the bottom. Now without moving the cursor to another cell, click the MenuStrip to remove the UserControl. Now run the program again and the new row's state will not be saved. Enter some text again into the new row at the bottom and close the Form this time. The new row should save state this time.

Thanks for any help that can be provided.

Richard

I've used up all my sick days, so today I'm calling in dead.

QuestionCrystal Reports - IFieldObject (and others) Pin
nelsonpaixao8-Oct-08 14:08
nelsonpaixao8-Oct-08 14:08 
QuestionMD5 Conflict between PHP and C# Pin
Vasudevan Deepak Kumar8-Oct-08 12:05
Vasudevan Deepak Kumar8-Oct-08 12:05 
AnswerRe: MD5 Conflict between PHP and C# Pin
DaveyM698-Oct-08 12:24
professionalDaveyM698-Oct-08 12:24 
GeneralRe: MD5 Conflict between PHP and C# Pin
Vasudevan Deepak Kumar8-Oct-08 13:34
Vasudevan Deepak Kumar8-Oct-08 13:34 
AnswerRe: MD5 Conflict between PHP and C# Pin
Ennis Ray Lynch, Jr.8-Oct-08 12:30
Ennis Ray Lynch, Jr.8-Oct-08 12:30 
GeneralRe: MD5 Conflict between PHP and C# Pin
Vasudevan Deepak Kumar8-Oct-08 13:35
Vasudevan Deepak Kumar8-Oct-08 13:35 
AnswerRe: MD5 Conflict between PHP and C# Pin
Mark Churchill8-Oct-08 17:06
Mark Churchill8-Oct-08 17:06 
Questionevent not fired [modified] Pin
netJP12L8-Oct-08 12:02
netJP12L8-Oct-08 12:02 
AnswerRe: event not fired Pin
DaveyM698-Oct-08 12:31
professionalDaveyM698-Oct-08 12:31 
GeneralRe: event not fired Pin
netJP12L8-Oct-08 16:58
netJP12L8-Oct-08 16:58 
QuestionError- This row already belongd to another table Pin
rahul218-Oct-08 10:40
rahul218-Oct-08 10:40 
AnswerRe: Error- This row already belongd to another table Pin
Richard Blythe8-Oct-08 16:14
Richard Blythe8-Oct-08 16:14 
QuestionHow do I call the combobox SelectionChangeCommitted event manually? Pin
OldSchoolToC#8-Oct-08 5:56
OldSchoolToC#8-Oct-08 5:56 
AnswerRe: How do I call the combobox SelectionChangeCommitted event manually? Pin
DaveyM698-Oct-08 6:30
professionalDaveyM698-Oct-08 6:30 
GeneralRe: How do I call the combobox SelectionChangeCommitted event manually? Pin
led mike8-Oct-08 10:08
led mike8-Oct-08 10:08 
GeneralRe: How do I call the combobox SelectionChangeCommitted event manually? Pin
DaveyM698-Oct-08 11:50
professionalDaveyM698-Oct-08 11:50 
GeneralRe: How do I call the combobox SelectionChangeCommitted event manually? Pin
OldSchoolToC#8-Oct-08 10:17
OldSchoolToC#8-Oct-08 10:17 

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.