Click here to Skip to main content
16,006,013 members
Home / Discussions / C#
   

C#

 
QuestionDate Validation Pin
Deepasubramanian23-Nov-06 19:27
Deepasubramanian23-Nov-06 19:27 
Questionredirecting the contents of command promt to a file Pin
sanki77923-Nov-06 19:23
sanki77923-Nov-06 19:23 
QuestionUsing java script to a XML onto grid view Pin
ah_jiang_923-Nov-06 18:54
ah_jiang_923-Nov-06 18:54 
AnswerRe: Using java script to a XML onto grid view Pin
Benoy Bose23-Nov-06 19:33
Benoy Bose23-Nov-06 19:33 
Questionhow to open a folder in a designated location Pin
Shirley, Wang23-Nov-06 18:14
Shirley, Wang23-Nov-06 18:14 
AnswerRe: how to open a folder in a designated location Pin
Eduard Keilholz24-Nov-06 5:12
Eduard Keilholz24-Nov-06 5:12 
Questionhow to override ondatabinding in case of binding data to datagrid Pin
333soori23-Nov-06 17:54
333soori23-Nov-06 17:54 
AnswerRe: how to override ondatabinding in case of binding data to datagrid Pin
Jasmine250123-Nov-06 20:57
Jasmine250123-Nov-06 20:57 
Do you really want to override it, or just create a new event handler? The Design View can be used to add an event handler to a control, or you can do it like this:

myDataGrid.OnDataBinding += new System.EventHandler(this.myEventHandler);

The OnDataBinding method itself doesn't really do anything but call the event handlers that are defined to respond to that event, and handles some issues that arise when databinding occurs (which happens when you call the DataBind() method). Did you want to change that behavior? If you override it, you will have to explicitly call the base class function in your override, or you will lose the default behaviors that keep the DataGrid functioning properly when new data is bound to it. Since you are aware of the times that you call DataBind(), you can handle any extra processing at that point, or you can create an event handler that does your extra stuff. I don't think you ever need to override the events themselves.

"Quality Software since 1983!"
http://www.smoothjazzy.com/ - see the "Programming" section for (freeware) JazzySiteMaps, a simple application to generate .Net and Google-style sitemaps!

Questiondrag and drop issue... Pin
Super Lloyd23-Nov-06 16:44
Super Lloyd23-Nov-06 16:44 
AnswerRe: drag and drop issue... Pin
Weckmann23-Nov-06 22:16
Weckmann23-Nov-06 22:16 
GeneralRe: drag and drop issue... Pin
Super Lloyd23-Nov-06 22:25
Super Lloyd23-Nov-06 22:25 
GeneralRe: drag and drop issue... Pin
Weckmann23-Nov-06 23:28
Weckmann23-Nov-06 23:28 
GeneralRe: drag and drop issue... Pin
Super Lloyd24-Nov-06 0:51
Super Lloyd24-Nov-06 0:51 
GeneralRe: drag and drop issue... Pin
Weckmann24-Nov-06 1:12
Weckmann24-Nov-06 1:12 
QuestionHow to create an array of label ? Pin
stny200023-Nov-06 15:59
stny200023-Nov-06 15:59 
AnswerRe: How to create an array of label ? Pin
Christian Graus23-Nov-06 16:37
protectorChristian Graus23-Nov-06 16:37 
GeneralRe: How to create an array of label ? Pin
stny200023-Nov-06 17:04
stny200023-Nov-06 17:04 
GeneralRe: How to create an array of label ? Pin
Christian Graus23-Nov-06 17:13
protectorChristian Graus23-Nov-06 17:13 
GeneralRe: How to create an array of label ? Pin
stny200023-Nov-06 17:39
stny200023-Nov-06 17:39 
AnswerRe: How to create an array of label ? Pin
Amar Chaudhary23-Nov-06 16:46
Amar Chaudhary23-Nov-06 16:46 
GeneralRe: How to create an array of label ? Pin
stny200023-Nov-06 17:09
stny200023-Nov-06 17:09 
GeneralRe: How to create an array of label ? Pin
Amar Chaudhary23-Nov-06 17:18
Amar Chaudhary23-Nov-06 17:18 
GeneralRe: How to create an array of label ? Pin
stny200023-Nov-06 17:37
stny200023-Nov-06 17:37 
QuestionCorba & C# Pin
ezazazel23-Nov-06 14:49
ezazazel23-Nov-06 14:49 
AnswerRe: Corba & C# Pin
Paresh Gheewala23-Nov-06 16:06
Paresh Gheewala23-Nov-06 16:06 

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.