PC Review Forums Newsgroups Microsoft DotNet Microsoft ADO .NET datagrid operation

Reply

datagrid operation

 
Thread Tools Rate Thread
Old 22-06-2006, 04:55 AM   #1
=?Utf-8?B?UmFq?=
Guest
 
Posts: n/a
Default RE: datagrid operation


Hi,

Implemet a DataGridTextBox, add a double click event for the same and then
try to capture...here is the sample code
private DataGridTextBox dgTxtBox;
DataGridTextBoxColumn dgPanicCol = new DataGridTextBoxColumn();
dgPanicCol.HeaderText="Panic Data";
dgPanicCol.MappingName="Panic Data";
dgPanicCol.ReadOnly = true;

dgTxtBox = (DataGridTextBox) dgPanicCol.TextBox;
dgTxtBox.DoubleClick +=new EventHandler(dgTxtBox_DoubleClick);

Raj
"sai" wrote:

> hi friends,
> I am working on datagrid in windows application, I need to
> retrieve row from datagrid whenever I double clicked on it . so plz suggest
> me how to proceed.
>
> Regards
> Sai.
>
>
>

  Reply With Quote
Old 22-06-2006, 05:31 AM   #2
sai
Guest
 
Posts: n/a
Default datagrid operation

hi friends,
I am working on datagrid in windows application, I need to
retrieve row from datagrid whenever I double clicked on it . so plz suggest
me how to proceed.

Regards
Sai.


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off