Click here to Skip to main content
16,008,010 members
Home / Discussions / C#
   

C#

 
GeneralRe: Truncating ListView Cell Pin
Echilon25-Mar-08 4:25
Echilon25-Mar-08 4:25 
GeneralMVC architecture Pin
bruze24-Mar-08 1:10
bruze24-Mar-08 1:10 
GeneralRe: MVC architecture Pin
N a v a n e e t h24-Mar-08 1:20
N a v a n e e t h24-Mar-08 1:20 
GeneralRe: MVC architecture Pin
pachan24-Mar-08 1:58
pachan24-Mar-08 1:58 
GeneralRe: MVC architecture Pin
papadimitriou24-Mar-08 3:03
papadimitriou24-Mar-08 3:03 
GeneralRe: MVC architecture Pin
Not Active24-Mar-08 4:34
mentorNot Active24-Mar-08 4:34 
QuestionHelp regarding Checkbox event in datagridview Pin
mrcsn24-Mar-08 0:58
mrcsn24-Mar-08 0:58 
GeneralRe: Help regarding Checkbox event in datagridview Pin
C1AllenS24-Mar-08 5:50
C1AllenS24-Mar-08 5:50 
Hi,

You can use the CellEndEdit() event for DataGridView. You can probably take a look at the given code.
Lets say we have a grid with first column as boolen column. You have another form2 with a property
GetDataRow() to receive the DataGridView row. In this scenario, you can put the following code under
CellEndEdit() event.

<br />
if (e.ColumnIndex == 0) <br />
{ <br />
     <br />
        DataRow dr; <br />
        <br />
        if (DataGridView1(e.ColumnIndex, e.RowIndex).Value == false) <br />
        {          <br />
<br />
            Form2 frm = new Form2(); <br />
            frm.GetDataRow = DataGridView1.Rows[e.RowIndex];//Property on Form2 which accepts the row<br />
            frm.ShowDialog();         <br />
            <br />
        } <br />
} <br />


I hope this helps.

Regards,

Allen Smith

Software Engineer
ComponentOne LLC
www.componentone.com

GeneralRe: Help regarding Checkbox event in datagridview Pin
mrcsn24-Mar-08 20:26
mrcsn24-Mar-08 20:26 
Generalsetup and deployment Pin
D i x y23-Mar-08 23:48
D i x y23-Mar-08 23:48 
GeneralRe: setup and deployment Pin
fearless stallion24-Mar-08 1:09
fearless stallion24-Mar-08 1:09 
QuestionHow to set cursor position to next line? Pin
Aravinthan23-Mar-08 23:38
Aravinthan23-Mar-08 23:38 
AnswerRe: How to set cursor position to next line? Pin
Dave Kreskowiak24-Mar-08 4:24
mveDave Kreskowiak24-Mar-08 4:24 
GeneralRe: How to set cursor position to next line? Pin
Aravinthan24-Mar-08 5:20
Aravinthan24-Mar-08 5:20 
GeneralRe: How to set cursor position to next line? Pin
Dave Kreskowiak24-Mar-08 10:48
mveDave Kreskowiak24-Mar-08 10:48 
QuestionCreating controls and events dynamically Pin
halm198523-Mar-08 23:29
halm198523-Mar-08 23:29 
GeneralRe: Creating controls and events dynamically Pin
papadimitriou24-Mar-08 3:18
papadimitriou24-Mar-08 3:18 
Generalselecting check box Pin
chithra.r23-Mar-08 22:56
chithra.r23-Mar-08 22:56 
GeneralRe: selecting check box Pin
Vimal Raj23-Mar-08 23:22
Vimal Raj23-Mar-08 23:22 
GeneralRe: selecting check box Pin
chithra.r24-Mar-08 20:07
chithra.r24-Mar-08 20:07 
GeneralRe: selecting check box Pin
Vimal Raj24-Mar-08 22:16
Vimal Raj24-Mar-08 22:16 
GeneralRe: selecting check box Pin
chithra.r24-Mar-08 22:56
chithra.r24-Mar-08 22:56 
QuestionHow we develope remote backup server? Pin
saiftanoli23-Mar-08 22:10
saiftanoli23-Mar-08 22:10 
GeneralRe: How i should start my project? Pin
Guffa24-Mar-08 0:03
Guffa24-Mar-08 0:03 
Generalstateless design Pin
George_George23-Mar-08 21:54
George_George23-Mar-08 21:54 

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.