I hve a windows form with 2 TextBoxes and 2 Cancel buttons. As a textboxes value can be cancelled .
I populate the data from the dataset (well i dont bind it as its not ncesssary)
in both the textboxes. User can click cancel to cancel a value in textbox where I update the database saying that line has been cancelled.
How would we know that if cancel button pressed corresponds to textbox1 or textbox2
Can a simple example be shown ? thanks in advance