Click here to Skip to main content
15,922,007 members
Home / Discussions / C#
   

C#

 
AnswerRe: use Process class on Mono? Pin
Stefan Troschuetz24-Oct-07 23:57
Stefan Troschuetz24-Oct-07 23:57 
QuestionHow to Cancel BindingNavigator event (AddItem) while BindingNavigator operates on two BindingSources Pin
azifaliazif24-Oct-07 23:19
azifaliazif24-Oct-07 23:19 
Hi
I am working on a desktop application using C# and .NET 2.0.

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 on the windows forms, 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?

QuestionAsynchronous Web Service Calls from Client Application Pin
Neeraj Kr24-Oct-07 23:04
Neeraj Kr24-Oct-07 23:04 
QuestionRe: Asynchronous Web Service Calls from Client Application Pin
MCEdwards24-Oct-07 23:13
MCEdwards24-Oct-07 23:13 
AnswerRe: Asynchronous Web Service Calls from Client Application Pin
Neeraj Kr24-Oct-07 23:24
Neeraj Kr24-Oct-07 23:24 
GeneralRe: Asynchronous Web Service Calls from Client Application Pin
MCEdwards25-Oct-07 0:39
MCEdwards25-Oct-07 0:39 
GeneralRe: Asynchronous Web Service Calls from Client Application Pin
Neeraj Kr25-Oct-07 0:49
Neeraj Kr25-Oct-07 0:49 
GeneralRe: Asynchronous Web Service Calls from Client Application Pin
MCEdwards25-Oct-07 1:26
MCEdwards25-Oct-07 1:26 
GeneralRe: Asynchronous Web Service Calls from Client Application Pin
Neeraj Kr25-Oct-07 2:30
Neeraj Kr25-Oct-07 2:30 
AnswerRe: Asynchronous Web Service Calls from Client Application Pin
Pete O'Hanlon24-Oct-07 23:23
mvePete O'Hanlon24-Oct-07 23:23 
GeneralRe: Asynchronous Web Service Calls from Client Application Pin
Neeraj Kr24-Oct-07 23:27
Neeraj Kr24-Oct-07 23:27 
GeneralRe: Asynchronous Web Service Calls from Client Application Pin
Pete O'Hanlon24-Oct-07 23:37
mvePete O'Hanlon24-Oct-07 23:37 
GeneralRe: Asynchronous Web Service Calls from Client Application Pin
Neeraj Kr24-Oct-07 23:41
Neeraj Kr24-Oct-07 23:41 
GeneralRe: Asynchronous Web Service Calls from Client Application Pin
Pete O'Hanlon25-Oct-07 1:05
mvePete O'Hanlon25-Oct-07 1:05 
QuestionHow to compare two nodes?? Pin
Sri_346424-Oct-07 23:02
Sri_346424-Oct-07 23:02 
AnswerRe: How to compare two nodes?? Pin
Christian Graus24-Oct-07 23:34
protectorChristian Graus24-Oct-07 23:34 
QuestionANONYMUS function call(javascript error) Pin
seth.dhawal24-Oct-07 22:53
seth.dhawal24-Oct-07 22:53 
AnswerRe: ANONYMUS function call(javascript error) Pin
Christian Graus24-Oct-07 23:35
protectorChristian Graus24-Oct-07 23:35 
AnswerRe: ANONYMUS function call(javascript error) Pin
Guffa24-Oct-07 23:45
Guffa24-Oct-07 23:45 
QuestionIs Session ID Unique? Pin
Prakash_Mishra24-Oct-07 22:06
Prakash_Mishra24-Oct-07 22:06 
AnswerRe: Is Session ID Unique? Pin
Abhijit Jana24-Oct-07 22:16
professionalAbhijit Jana24-Oct-07 22:16 
GeneralRe: Is Session ID Unique? Pin
N a v a n e e t h24-Oct-07 23:15
N a v a n e e t h24-Oct-07 23:15 
GeneralRe: Is Session ID Unique? Pin
Abhijit Jana24-Oct-07 23:45
professionalAbhijit Jana24-Oct-07 23:45 
GeneralRe: Is Session ID Unique? Pin
Guffa24-Oct-07 23:49
Guffa24-Oct-07 23:49 
GeneralRe: Is Session ID Unique? Pin
N a v a n e e t h25-Oct-07 0:03
N a v a n e e t h25-Oct-07 0:03 

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.