Click here to Skip to main content
15,902,492 members
Home / Discussions / C#
   

C#

 
QuestionAdd File in System New menu Pin
Abhijit Jana23-Oct-07 23:53
professionalAbhijit Jana23-Oct-07 23:53 
AnswerRe: Add File in System New menu Pin
Anthony Mushrow24-Oct-07 1:11
professionalAnthony Mushrow24-Oct-07 1:11 
GeneralRe: Add File in System New menu Pin
Abhijit Jana24-Oct-07 2:13
professionalAbhijit Jana24-Oct-07 2:13 
QuestionProperly Creating / Disposing of Socket connections Pin
hammerstein0523-Oct-07 23:41
hammerstein0523-Oct-07 23:41 
QuestionHow to cancel BindingNavigator event. Pin
azifaliazif23-Oct-07 23:26
azifaliazif23-Oct-07 23:26 
AnswerRe: How to cancel BindingNavigator event. Pin
c0ax_lx23-Oct-07 23:52
c0ax_lx23-Oct-07 23:52 
GeneralRe: How to cancel BindingNavigator event. Pin
azifaliazif24-Oct-07 0:15
azifaliazif24-Oct-07 0:15 
AnswerRe: How to cancel BindingNavigator event. Pin
azifaliazif24-Oct-07 23:11
azifaliazif24-Oct-07 23:11 
Well the situation has become a bit complex. In my DataSet I have two tables say table1 and table2. They have one to many relation (no rule is set like for update, delete or accepct/reject changes). When I drop a binding source for the parent table i.e table1, I get another binding source for child i.e table2BindingSource1 after rebuilding the project. That is really helpful because when I set

//this.BindingNavigator1.BindingSource = table1BindingSource;

The self created BindingSource collaborates with the navigator itself and I need not to do any extra coding.

Now the problem is when I do

//this.BindingNavigator1.BindingSource.CancelEdit();

to cancel any changes made to DataSet in case user clicks Delete button one the Navigator.

This only works for the parent table i.e table1 and not for the child table or say for self created BindingSource.

How can I apply this CancelEdit for both the tables in the DataSet ( for both BindingSources ).
Can anybody help me out?
QuestionDateTime insert SQL Query in C# Pin
dataminers23-Oct-07 23:22
dataminers23-Oct-07 23:22 
AnswerRe: DateTime insert SQL Query in C# Pin
Christian Graus23-Oct-07 23:30
protectorChristian Graus23-Oct-07 23:30 
GeneralRe: DateTime insert SQL Query in C# Pin
Guffa23-Oct-07 23:54
Guffa23-Oct-07 23:54 
AnswerRe: DateTime insert SQL Query in C# Pin
Colin Angus Mackay23-Oct-07 23:36
Colin Angus Mackay23-Oct-07 23:36 
AnswerRe: DateTime insert SQL Query in C# Pin
Guffa24-Oct-07 0:08
Guffa24-Oct-07 0:08 
Questionhow get data from database [modified] Pin
alok217123-Oct-07 23:05
alok217123-Oct-07 23:05 
AnswerRe: how get data into drop down box from database Pin
pmarfleet23-Oct-07 23:11
pmarfleet23-Oct-07 23:11 
Questionproperty grid Pin
sindhutiwari23-Oct-07 22:47
sindhutiwari23-Oct-07 22:47 
AnswerRe: property grid Pin
Christian Graus23-Oct-07 23:03
protectorChristian Graus23-Oct-07 23:03 
GeneralRe: property grid Pin
sindhutiwari23-Oct-07 23:07
sindhutiwari23-Oct-07 23:07 
GeneralRe: property grid Pin
Christian Graus23-Oct-07 23:28
protectorChristian Graus23-Oct-07 23:28 
QuestionUse window application in Web Application Pin
Sun Rays23-Oct-07 22:46
Sun Rays23-Oct-07 22:46 
AnswerRe: Use window application in Web Application Pin
Christian Graus23-Oct-07 22:50
protectorChristian Graus23-Oct-07 22:50 
GeneralRe: Use window application in Web Application Pin
c0ax_lx23-Oct-07 23:19
c0ax_lx23-Oct-07 23:19 
AnswerRe: Use window application in Web Application Pin
Paddy Boyd24-Oct-07 1:00
Paddy Boyd24-Oct-07 1:00 
Questionmultiple forms Pin
kabutar23-Oct-07 22:41
kabutar23-Oct-07 22:41 
AnswerRe: multiple forms Pin
Stefan Troschuetz23-Oct-07 22:44
Stefan Troschuetz23-Oct-07 22:44 

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.