Click here to Skip to main content
15,897,273 members
Home / Discussions / C#
   

C#

 
GeneralRe: Getting images from a browser Pin
aj.esler25-Nov-07 1:55
aj.esler25-Nov-07 1:55 
GeneralRe: Getting images from a browser Pin
Luc Pattyn25-Nov-07 2:28
sitebuilderLuc Pattyn25-Nov-07 2:28 
GeneralRe: Getting images from a browser Pin
Anthony Mushrow25-Nov-07 3:14
professionalAnthony Mushrow25-Nov-07 3:14 
GeneralRe: Getting images from a browser Pin
aj.esler25-Nov-07 12:20
aj.esler25-Nov-07 12:20 
QuestionGet color of a string Pin
shehezada25-Nov-07 0:02
shehezada25-Nov-07 0:02 
AnswerRe: Get color of a string Pin
Luc Pattyn25-Nov-07 0:09
sitebuilderLuc Pattyn25-Nov-07 0:09 
GeneralRe: Get color of a string Pin
shehezada25-Nov-07 0:38
shehezada25-Nov-07 0:38 
QuestionDataGridView - how to delete Row Pin
A.Asif24-Nov-07 23:39
A.Asif24-Nov-07 23:39 
Hi all,

I am working on C# project using C# 2.0. I have a DataGrid that contains 10 rows and at runtime I insert one more row at DataGridView.Insert(0,1); in my next step, I want to delete the row from DataGridView at DataGridView.RemoveAt(9) // Index 9 is the last row in the grid. But, I am not able to delete the row. I am getting following exception: System.InvalidOperationException:Uncommitted new row cannot be deleted. at System.Windows.Forms.DataGridViewRowCollection.RemoveAt(Int32 index)

Please help if you know the solution.

Thanks in advance for your help.



A.Asif

AnswerRe: DataGridView - how to delete Row Pin
Aftab Sindhi25-Nov-07 21:09
Aftab Sindhi25-Nov-07 21:09 
QuestionHelp Needed. DataBinding in Windows Forms Pin
Aftab Sindhi24-Nov-07 20:35
Aftab Sindhi24-Nov-07 20:35 
Questionfilling and retrieving tables Pin
sajid.salim.khan24-Nov-07 20:31
sajid.salim.khan24-Nov-07 20:31 
AnswerRe: filling and retrieving tables Pin
Aftab Sindhi24-Nov-07 20:41
Aftab Sindhi24-Nov-07 20:41 
GeneralRe: filling and retrieving tables Pin
sajid.salim.khan24-Nov-07 20:52
sajid.salim.khan24-Nov-07 20:52 
GeneralRe: filling and retrieving tables Pin
Aftab Sindhi24-Nov-07 21:05
Aftab Sindhi24-Nov-07 21:05 
QuestionUpdate 2 related froms on closing one of them Pin
Shaahinm24-Nov-07 20:08
Shaahinm24-Nov-07 20:08 
AnswerRe: Update 2 related froms on closing one of them Pin
Aftab Sindhi24-Nov-07 20:48
Aftab Sindhi24-Nov-07 20:48 
GeneralRe: Update 2 related froms on closing one of them Pin
Shaahinm24-Nov-07 22:57
Shaahinm24-Nov-07 22:57 
QuestionLINQ Pin
CataclysmicQuantum24-Nov-07 19:34
CataclysmicQuantum24-Nov-07 19:34 
AnswerRe: LINQ Pin
Christian Graus24-Nov-07 23:14
protectorChristian Graus24-Nov-07 23:14 
QuestionStored Procedure in a RichTextBox Pin
shehezada24-Nov-07 19:26
shehezada24-Nov-07 19:26 
AnswerRe: Stored Procedure in a RichTextBox Pin
mav.northwind24-Nov-07 20:04
mav.northwind24-Nov-07 20:04 
GeneralRe: Stored Procedure in a RichTextBox Pin
shehezada24-Nov-07 20:51
shehezada24-Nov-07 20:51 
GeneralRe: Stored Procedure in a RichTextBox Pin
mav.northwind25-Nov-07 1:04
mav.northwind25-Nov-07 1:04 
Questioncombo+sql+C# Pin
sajid.salim.khan24-Nov-07 19:21
sajid.salim.khan24-Nov-07 19:21 
AnswerRe: combo+sql+C# Pin
Aftab Sindhi24-Nov-07 20:55
Aftab Sindhi24-Nov-07 20:55 

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.