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

C#

 
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 
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 
The properties page is only relevant in the designer - not in the code window, if that's where you are clicking.
You can't click a DataTable in the designer window directly - it doesn't have any UI element, so I assume you are highlighting the DataTable in the code window and trying to add an event? If so, then just on a new line in your code, type the name of the DataTable instance and press "." Intellisense will pop up a list of objects - select the event you want to add a handler for and type "+="
C#
myDataTable.ColumnChanged+=
Intellisense will pop up a handler helper box:
new DataColumnChangeEventHandler(dt_ColumnChanged);   (Press TAB to insert)
Press Tab to insert the text, and another box will appear:
Press TAB to generate Handler "dt_ColumnChanged" in this class
If you press Tab again, it will create a handler method stub for you to complete.

Once you have the basic code, you can modify or tweak it to fit what you want to do !
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 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 
GeneralRe: Dictionary Error? (or User Error! more likely) Pin
glennPattonWork35-Jul-12 0:30
professionalglennPattonWork35-Jul-12 0:30 
GeneralRe: Dictionary Error? (or User Error! more likely) Pin
Pete O'Hanlon5-Jul-12 0:32
mvePete O'Hanlon5-Jul-12 0:32 

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.