Click here to Skip to main content
15,889,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,

greetings to every one..

I have one datagridView control where in I am placing cell values programatically from a popup window.Cell values are being placed in the respective cells of the DGview Conrol.

Now i dont have to enter any cell value using keyboard(key press event)
SO the next row is not being created. Please help me on how to create the next row once the first row gets the cell values automatically..

Any help would be greatly appreciatable .

Thanks & Regards,
Martin.
Posted
Updated 28-Mar-11 1:21am
v3

1 solution

It will be more fruitful for you provide some code snippet.

when you are inserting values in the cell, on last cell fill create a row dynamically on last cell fill.

GridViewRow row = new GridViewRow(
                               0,
                               0,
                               DataControlRowType.DataRow,
                                DataControlRowState.Normal);
 
Share this answer
 
Comments
blrsimon 28-Mar-11 7:58am    
Hi avinash ,

Thanks a lot . still i just wanna confirm .

see i am populating a row from a popup windows . all cells are populated .but now no default row is not created . how can i create the row when i enter a enter key in the popup windows gridviewe

Please help me on thi s..
thanks .
regards,
martin.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900