Click here to Skip to main content
15,891,670 members
Home / Discussions / C#
   

C#

 
AnswerRe: Datagrid select row Pin
CWIZO16-Mar-06 2:09
CWIZO16-Mar-06 2:09 
GeneralRe: Datagrid select row Pin
Rmokkenstorm16-Mar-06 2:15
Rmokkenstorm16-Mar-06 2:15 
GeneralRe: Datagrid select row Pin
esjq16-Mar-06 2:44
esjq16-Mar-06 2:44 
GeneralRe: Datagrid select row Pin
esjq16-Mar-06 3:33
esjq16-Mar-06 3:33 
GeneralRe: Datagrid select row Pin
Rmokkenstorm16-Mar-06 4:25
Rmokkenstorm16-Mar-06 4:25 
GeneralRe: Datagrid select row Pin
esjq16-Mar-06 20:30
esjq16-Mar-06 20:30 
GeneralRe: Datagrid select row Pin
Rmokkenstorm16-Mar-06 22:20
Rmokkenstorm16-Mar-06 22:20 
GeneralRe: Datagrid select row Pin
esjq17-Mar-06 1:41
esjq17-Mar-06 1:41 
Rmokkenstorm wrote:
Rows[index] ? where does that stand for?

It referred to my previous example.

But I got your code executing on my computer Big Grin | :-D

I don't know if you forgot to provide all of your code. But I added a delegate to support the event:

public delegate void CustomRowHandler(object sender, CustomRowEventArgs e);

But more important, I also added the following code snippet to the constructor of the class. In my case, in the constructor of the main form class.

CustomRow+=new CustomRowHandler(customHandler_CustomRow);

You have to associate the delegate to the event.

Then it worked, and the textbox was filled with data.
GeneralRe: Datagrid select row Pin
Rmokkenstorm17-Mar-06 1:50
Rmokkenstorm17-Mar-06 1:50 
GeneralRe: Datagrid select row Pin
esjq17-Mar-06 2:05
esjq17-Mar-06 2:05 
GeneralRe: Datagrid select row Pin
Rmokkenstorm17-Mar-06 3:45
Rmokkenstorm17-Mar-06 3:45 
GeneralRe: Datagrid select row Pin
esjq19-Mar-06 20:44
esjq19-Mar-06 20:44 
GeneralRe: Datagrid select row Pin
Rmokkenstorm19-Mar-06 22:22
Rmokkenstorm19-Mar-06 22:22 
GeneralRe: Datagrid select row Pin
esjq20-Mar-06 2:21
esjq20-Mar-06 2:21 
GeneralRe: Datagrid select row Pin
Rmokkenstorm20-Mar-06 2:23
Rmokkenstorm20-Mar-06 2:23 
GeneralRe: Datagrid select row Pin
esjq20-Mar-06 2:44
esjq20-Mar-06 2:44 
GeneralRe: Datagrid select row Pin
Rmokkenstorm20-Mar-06 2:49
Rmokkenstorm20-Mar-06 2:49 
GeneralRe: Datagrid select row Pin
esjq20-Mar-06 3:05
esjq20-Mar-06 3:05 
GeneralRe: Datagrid select row Pin
Rmokkenstorm20-Mar-06 3:29
Rmokkenstorm20-Mar-06 3:29 
GeneralRe: Datagrid select row Pin
esjq20-Mar-06 3:45
esjq20-Mar-06 3:45 
QuestionRe: Datagrid select row Pin
Rmokkenstorm20-Mar-06 4:18
Rmokkenstorm20-Mar-06 4:18 
QuestionPopulating a Datalist only when if Statement is True Pin
Brendan Vogt16-Mar-06 0:54
Brendan Vogt16-Mar-06 0:54 
AnswerRe: Populating a Datalist only when if Statement is True Pin
CWIZO16-Mar-06 2:11
CWIZO16-Mar-06 2:11 
GeneralRe: Populating a Datalist only when if Statement is True Pin
Brendan Vogt16-Mar-06 2:36
Brendan Vogt16-Mar-06 2:36 
GeneralRe: Populating a Datalist only when if Statement is True Pin
CWIZO16-Mar-06 2:42
CWIZO16-Mar-06 2:42 

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.