Click here to Skip to main content
15,917,568 members
Home / Discussions / C#
   

C#

 
QuestionOverriding a function Pin
sindhutiwari24-Oct-07 1:15
sindhutiwari24-Oct-07 1:15 
AnswerRe: Overriding a function Pin
Luc Pattyn24-Oct-07 1:44
sitebuilderLuc Pattyn24-Oct-07 1:44 
QuestionLoading and parsing a html-page Pin
Tomerland24-Oct-07 0:36
Tomerland24-Oct-07 0:36 
AnswerRe: Loading and parsing a html-page Pin
Spunky Coder24-Oct-07 0:48
Spunky Coder24-Oct-07 0:48 
GeneralRe: Loading and parsing a html-page Pin
Tomerland24-Oct-07 1:47
Tomerland24-Oct-07 1:47 
AnswerRe: Loading and parsing a html-page Pin
Anthony Mushrow24-Oct-07 0:59
professionalAnthony Mushrow24-Oct-07 0:59 
GeneralRe: Loading and parsing a html-page Pin
Tomerland24-Oct-07 1:49
Tomerland24-Oct-07 1:49 
QuestionLasso tool for free image selections Pin
Barbarus24-Oct-07 0:02
Barbarus24-Oct-07 0:02 
AnswerRe: Lasso tool for free image selections Pin
Christian Graus24-Oct-07 0:36
protectorChristian Graus24-Oct-07 0:36 
JokeRe: Lasso tool for free image selections Pin
Luc Pattyn24-Oct-07 2:02
sitebuilderLuc Pattyn24-Oct-07 2:02 
QuestionRe: Lasso tool for free image selections Pin
Barbarus24-Oct-07 3:06
Barbarus24-Oct-07 3:06 
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 

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.