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

C#

 
GeneralRe: Integrate C and C# Codes Pin
Hamid_RT3-Oct-06 1:07
Hamid_RT3-Oct-06 1:07 
QuestionHow to ... ? work with MS Excel Pin
Vasya - dragon1-Oct-06 22:42
Vasya - dragon1-Oct-06 22:42 
QuestionDatabase question, Smart PC, SQL Mobile,C# Pin
latso21-Oct-06 21:04
latso21-Oct-06 21:04 
Questionregistry values Pin
rzvme1-Oct-06 21:00
rzvme1-Oct-06 21:00 
AnswerRe: registry values Pin
Stefan Troschuetz1-Oct-06 21:10
Stefan Troschuetz1-Oct-06 21:10 
AnswerRe: registry values Pin
JacquesDP1-Oct-06 22:01
JacquesDP1-Oct-06 22:01 
QuestionPrint an html document Pin
Support1231-Oct-06 20:48
Support1231-Oct-06 20:48 
QuestionError : "current item cannot be removed from the list because there is no current item." Pin
Nadia Monalisa1-Oct-06 20:33
Nadia Monalisa1-Oct-06 20:33 
Hi,
In my C# Windows form, I have a datagridview where datagridview is bounded to a databinding source.

Now, when I have no rows in the gridview, there a single * marked row always there to allow user to ADD a new row. Now If I just click the DELETE button of the binding navigator, I get this error

Error : "current item cannot be removed from the list because there is no current item."

I have no way to handle this exception as the Delete button of binding navigator has no predelete event rather it has click event and this event occurs after the row is deleted.

Is there nay idea how can I handle this error ?

Thanks.

AnswerRe: Error : "current item cannot be removed from the list because there is no current item." Pin
LongRange.Shooter3-Oct-06 8:01
LongRange.Shooter3-Oct-06 8:01 
QuestionHow to play a sound from my program Pin
CodeItWell1-Oct-06 20:29
CodeItWell1-Oct-06 20:29 
AnswerRe: How to play a sound from my program [modified] Pin
Nadia Monalisa1-Oct-06 20:35
Nadia Monalisa1-Oct-06 20:35 
AnswerRe: How to play a sound from my program Pin
Corinna John1-Oct-06 20:50
Corinna John1-Oct-06 20:50 
GeneralRe: How to play a sound from my program Pin
CodeItWell1-Oct-06 23:02
CodeItWell1-Oct-06 23:02 
GeneralRe: How to play a sound from my program Pin
Christian Graus1-Oct-06 23:35
protectorChristian Graus1-Oct-06 23:35 
GeneralRe: How to play a sound from my program Pin
Corinna John2-Oct-06 1:07
Corinna John2-Oct-06 1:07 
AnswerRe: How to play a sound from my program Pin
Hamid_RT2-Oct-06 9:36
Hamid_RT2-Oct-06 9:36 
QuestionHow to use crystal reprts XI in vs2005 ? Pin
hdv2121-Oct-06 20:09
hdv2121-Oct-06 20:09 
QuestionHow to grab content from xml file using C# Pin
yltoh1-Oct-06 17:22
yltoh1-Oct-06 17:22 
AnswerRe: How to grab content from xml file using C# Pin
Christian Graus1-Oct-06 17:45
protectorChristian Graus1-Oct-06 17:45 
AnswerRe: How to grab content from xml file using C# Pin
Stefan Troschuetz1-Oct-06 21:29
Stefan Troschuetz1-Oct-06 21:29 
QuestionCompact frame work 2.0 Pin
Sri harini1-Oct-06 16:50
Sri harini1-Oct-06 16:50 
AnswerRe: SDK Pin
Christian Graus1-Oct-06 17:46
protectorChristian Graus1-Oct-06 17:46 
GeneralRe: SDK Pin
Christian Graus1-Oct-06 18:11
protectorChristian Graus1-Oct-06 18:11 
QuestionEditing Excel Worksheet Cells Pin
StyrofoamSUV1-Oct-06 16:15
StyrofoamSUV1-Oct-06 16:15 
AnswerRe: Editing Excel Worksheet Cells Pin
Coding C#2-Oct-06 0:52
Coding C#2-Oct-06 0:52 

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.