Click here to Skip to main content
15,895,709 members
Home / Discussions / C#
   

C#

 
GeneralRe: DataGridView null row Pin
tjschilling5-May-08 11:24
tjschilling5-May-08 11:24 
You pointed in a good direction but I still don't know why this is happening.

I checked the row added event on the grid and sure enough, when that is getting fired, there is an additional null row in my DataTable which is affecting the grid. When the new row in the DataTable gets committed, the null row disappears from the DataTable but the grid hangs on to it.

I can't find any problems with the logic that adds the row to the DataTable so I decided to loop backwards through the grid and get rid of all rows in the DataGrid that do not exist in the DataTable.
QuestionHow to refresh a comboBox that is bind to a table from a SqlDataBase? Pin
ioanap_855-May-08 8:59
ioanap_855-May-08 8:59 
AnswerRe: How to refresh a comboBox that is bind to a table from a SqlDataBase? Pin
SomeGuyThatIsMe5-May-08 9:34
SomeGuyThatIsMe5-May-08 9:34 
AnswerRe: How to refresh a comboBox that is bind to a table from a SqlDataBase? Pin
Dave Kreskowiak5-May-08 9:34
mveDave Kreskowiak5-May-08 9:34 
QuestionUse a maked textbox to limit entry to some char Pin
baranils5-May-08 8:56
baranils5-May-08 8:56 
AnswerRe: Use a maked textbox to limit entry to some char Pin
#realJSOP5-May-08 9:51
mve#realJSOP5-May-08 9:51 
GeneralRe: Use a maked textbox to limit entry to some char Pin
baranils5-May-08 10:07
baranils5-May-08 10:07 
GeneralRe: Use a maked textbox to limit entry to some char Pin
#realJSOP5-May-08 11:03
mve#realJSOP5-May-08 11:03 
GeneralRe: Use a maked textbox to limit entry to some char Pin
baranils5-May-08 19:14
baranils5-May-08 19:14 
AnswerRe: Use a maked textbox to limit entry to some char Pin
Christian Graus5-May-08 18:08
protectorChristian Graus5-May-08 18:08 
GeneralRe: Use a maked textbox to limit entry to some char Pin
#realJSOP6-May-08 3:30
mve#realJSOP6-May-08 3:30 
QuestionHow to traverse class properties for Nunit tests? Pin
pankazmittal5-May-08 6:47
pankazmittal5-May-08 6:47 
AnswerRe: How to traverse class properties for Nunit tests? Pin
Gareth H5-May-08 7:36
Gareth H5-May-08 7:36 
AnswerRe: How to traverse class properties for Nunit tests? Pin
Brady Kelly5-May-08 8:37
Brady Kelly5-May-08 8:37 
AnswerRe: How to traverse class properties for Nunit tests? Pin
Ed.Poore5-May-08 12:02
Ed.Poore5-May-08 12:02 
QuestionLoadPostData Error Pin
ceetee5-May-08 5:53
ceetee5-May-08 5:53 
AnswerRe: LoadPostData Error Pin
Gareth H5-May-08 6:21
Gareth H5-May-08 6:21 
GeneralRe: LoadPostData Error Pin
ceetee5-May-08 7:12
ceetee5-May-08 7:12 
Questiondisable taskmanager Pin
False Chicken5-May-08 5:03
False Chicken5-May-08 5:03 
AnswerRe: disable taskmanager Pin
tgrt5-May-08 5:42
tgrt5-May-08 5:42 
AnswerRe: disable taskmanager Pin
Dave Kreskowiak5-May-08 6:48
mveDave Kreskowiak5-May-08 6:48 
AnswerRe: disable taskmanager Pin
Giorgi Dalakishvili5-May-08 8:07
mentorGiorgi Dalakishvili5-May-08 8:07 
AnswerRe: disable taskmanager Pin
PIEBALDconsult5-May-08 8:44
mvePIEBALDconsult5-May-08 8:44 
QuestionAdd login form to a program? Pin
daden2035-May-08 4:48
daden2035-May-08 4:48 
AnswerRe: Add login form to a program? Pin
carbon_golem5-May-08 6:51
carbon_golem5-May-08 6:51 

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.