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

C#

 
QuestionAbout InvalidOperationEception Pin
jason_mf18-Nov-07 21:05
jason_mf18-Nov-07 21:05 
AnswerRe: About InvalidOperationEception Pin
JoeRip18-Nov-07 21:39
JoeRip18-Nov-07 21:39 
GeneralRe: About InvalidOperationEception [modified] Pin
jason_mf18-Nov-07 22:16
jason_mf18-Nov-07 22:16 
GeneralRe: About InvalidOperationEception Pin
JoeRip18-Nov-07 22:45
JoeRip18-Nov-07 22:45 
Questionquestion concerning windows service Pin
stephan_00718-Nov-07 21:05
stephan_00718-Nov-07 21:05 
AnswerRe: question concerning windows service [modified] Pin
Jimmanuel19-Nov-07 2:07
Jimmanuel19-Nov-07 2:07 
AnswerRe: question concerning windows service Pin
PIEBALDconsult19-Nov-07 4:32
mvePIEBALDconsult19-Nov-07 4:32 
QuestionChanging Column Balue Before Insert in Data Grid Pin
Aftab Sindhi18-Nov-07 20:55
Aftab Sindhi18-Nov-07 20:55 
I've typed data set and Binding source in the windows form. Data Grid is bound to the Binding Source. Table's primary key is Uniqueidentifier / Guid, which is hidden in DataGrid. Row contains some other NOT NULL columns, i.e Name. I can insert the record by generating the NewGuid() in DataGrid's RowValidating event and assigning to the Primary key field. Its working fine. Problem is this, when DataGrid's New Row is clicked(to add new row), and without typing any value(i.e Name) record pointer is changed (any other row is clicked), error is generated reporting that [Name] can not be null i.e Null value can not b inserted in NOT NULL column Name. I am sure RowValidating is fired, which has populated the ID with new generated Guid value, but Name is not entered thats why error is thrown.

How I can detect row is not entered so that I should not assign new Guid value to ID or How & where I can assign the new generated Guid, when it is sure the row is entered?.

Hope i can get quick response including sample code if possible.

Regards
QuestionGraphical Grid in c#.net Pin
sindhutiwari18-Nov-07 20:47
sindhutiwari18-Nov-07 20:47 
QuestionHow to refresh child picturebox when moving (with mouse) on parent picturebox. Pin
Chintan.Desai18-Nov-07 20:13
Chintan.Desai18-Nov-07 20:13 
QuestionBarcode reader events handillinh Pin
shahid hameed18-Nov-07 20:04
shahid hameed18-Nov-07 20:04 
AnswerRe: Barcode reader events handillinh Pin
MickCurley18-Nov-07 22:47
MickCurley18-Nov-07 22:47 
QuestionString Manipulation Pin
Programm3r18-Nov-07 20:02
Programm3r18-Nov-07 20:02 
AnswerRe: String Manipulation Pin
Guffa18-Nov-07 20:58
Guffa18-Nov-07 20:58 
GeneralRe: String Manipulation Pin
Programm3r18-Nov-07 21:12
Programm3r18-Nov-07 21:12 
AnswerRe: String Manipulation Pin
Guffa19-Nov-07 0:16
Guffa19-Nov-07 0:16 
GeneralRe: String Manipulation Pin
Programm3r19-Nov-07 0:41
Programm3r19-Nov-07 0:41 
GeneralRe: String Manipulation Pin
mabo4219-Nov-07 0:53
mabo4219-Nov-07 0:53 
GeneralRe: String Manipulation Pin
Programm3r19-Nov-07 0:56
Programm3r19-Nov-07 0:56 
GeneralRe: String Manipulation Pin
mabo4219-Nov-07 1:09
mabo4219-Nov-07 1:09 
GeneralRe: String Manipulation Pin
mabo4219-Nov-07 1:22
mabo4219-Nov-07 1:22 
GeneralRe: String Manipulation Pin
Programm3r19-Nov-07 2:29
Programm3r19-Nov-07 2:29 
GeneralRe: String Manipulation Pin
mabo4219-Nov-07 2:23
mabo4219-Nov-07 2:23 
GeneralRe: String Manipulation Pin
PIEBALDconsult19-Nov-07 4:35
mvePIEBALDconsult19-Nov-07 4:35 
GeneralPassing a property accesor as a function Pin
Brady Kelly18-Nov-07 20:01
Brady Kelly18-Nov-07 20:01 

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.