Click here to Skip to main content
15,888,579 members
Home / Discussions / C#
   

C#

 
GeneralRe: Cant find onClick function in C# Pin
Member 90660255-Jul-12 2:08
Member 90660255-Jul-12 2:08 
GeneralRe: Cant find onClick function in C# Pin
Member 90660255-Jul-12 2:13
Member 90660255-Jul-12 2:13 
AnswerRe: Cant find onClick function in C# Pin
AmitGajjar5-Jul-12 2:01
professionalAmitGajjar5-Jul-12 2:01 
AnswerRe: Cant find onClick function in C# Pin
Alireza C5-Jul-12 10:52
Alireza C5-Jul-12 10:52 
GeneralRe: Cant find onClick function in C# Pin
AmitGajjar5-Jul-12 17:11
professionalAmitGajjar5-Jul-12 17:11 
GeneralRe: Cant find onClick function in C# Pin
Alireza C5-Jul-12 18:01
Alireza C5-Jul-12 18:01 
QuestionDataset TableNewRow Event [solved] Pin
Midnight Ahri4-Jul-12 16:54
Midnight Ahri4-Jul-12 16:54 
AnswerRe: Dataset TableNewRow Event Pin
OriginalGriff4-Jul-12 21:25
mveOriginalGriff4-Jul-12 21:25 
The two combo boxes are easy - the left is all the classes in the current file - click on one and it will take you to the start of the definition. On the right are all the objects in the class - again, click to go to definition.

The event adding in C# is the same for DataSet object (you can't add DataTables directly in the designer, so they are irrelevant here). Highlight the dataset, and look at the Properties pane. Click on the Lightning Bolt button to switch to the Events view, and double click the event - there are only three for a dataset anyway, and it it unlikely that you would want to handle any of them as a beginner in C# - Disposed, Initialized and MergeFailed are events I've not needed to override yet! Laugh | :laugh:

To add event handlers for a DataTable, you have to add it to the DataSet via it's Tables property, then select the table in the Property pane Objects drop down list. You can then access the events via the Lightening bolt button as before.
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

QuestionRe: Dataset TableNewRow Event Pin
Midnight Ahri4-Jul-12 21:35
Midnight Ahri4-Jul-12 21:35 
AnswerRe: Dataset TableNewRow Event Pin
OriginalGriff4-Jul-12 21:52
mveOriginalGriff4-Jul-12 21:52 
QuestionRe: Dataset TableNewRow Event Pin
Midnight Ahri4-Jul-12 22:22
Midnight Ahri4-Jul-12 22:22 
AnswerRe: Dataset TableNewRow Event Pin
OriginalGriff4-Jul-12 22:34
mveOriginalGriff4-Jul-12 22:34 
AnswerRe: Dataset TableNewRow Event Pin
Midnight Ahri4-Jul-12 23:04
Midnight Ahri4-Jul-12 23:04 
GeneralRe: Dataset TableNewRow Event Pin
OriginalGriff4-Jul-12 23:59
mveOriginalGriff4-Jul-12 23:59 
GeneralHow to Update DataTable to MySql database Without loop Pin
rongvangso74-Jul-12 15:26
rongvangso74-Jul-12 15:26 
GeneralRe: How to Update DataTable to MySql database Without loop Pin
Abhinav S4-Jul-12 16:16
Abhinav S4-Jul-12 16:16 
GeneralRe: How to Update DataTable to MySql database Without loop Pin
amirafoods4-Jul-12 20:25
amirafoods4-Jul-12 20:25 
GeneralSOLVED!! (do the happy dance!) Dictionary Error? (or User Error! more likely) Pin
glennPattonWork34-Jul-12 5:33
professionalglennPattonWork34-Jul-12 5:33 
AnswerRe: Dictionary Error? (or User Error! more likely) Pin
Pete O'Hanlon4-Jul-12 6:36
mvePete O'Hanlon4-Jul-12 6:36 
GeneralRe: Dictionary Error? (or User Error! more likely) Pin
glennPattonWork34-Jul-12 22:37
professionalglennPattonWork34-Jul-12 22:37 
GeneralRe: Dictionary Error? (or User Error! more likely) Pin
Pete O'Hanlon4-Jul-12 23:09
mvePete O'Hanlon4-Jul-12 23:09 
GeneralRe: Dictionary Error? (or User Error! more likely) Pin
glennPattonWork34-Jul-12 23:35
professionalglennPattonWork34-Jul-12 23:35 
GeneralRe: Dictionary Error? (or User Error! more likely) Pin
Pete O'Hanlon4-Jul-12 23:43
mvePete O'Hanlon4-Jul-12 23:43 
GeneralRe: Dictionary Error? (or User Error! more likely) Pin
glennPattonWork35-Jul-12 0:04
professionalglennPattonWork35-Jul-12 0:04 
GeneralRe: Dictionary Error? (or User Error! more likely) Pin
Pete O'Hanlon5-Jul-12 0:11
mvePete O'Hanlon5-Jul-12 0:11 

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.