Click here to Skip to main content
15,881,588 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
Hi i am having a datagrid1 which have values. When we double click on the row it should open other form which have the same gridview which is in editable mode...both have same table. When we edit and click on save button it should fill the datagrid1 in other form. using windows application...reply.

Thanks in Advance
Posted
Updated 30-Nov-10 23:35pm
v2
Comments
m@dhu 1-Dec-10 5:32am    
What did you try and what problem are you facing?
Sunasara Imdadhusen 1-Dec-10 5:36am    
You should try yourself!!
Sandeep Mewara 1-Dec-10 5:47am    
No effort!
sujeet101 1-Dec-10 5:52am    
good

OK, but why u want to open new datagridview in editable,try this

1- add the textboxes in ur form
2- when u click on the cell in datagridview it gives that value in that textbox which you added.
3- then edit that value and save it
try somthing like this,or you can use your logic also for doing that u have to use two datagridview both have same columns an rows then mapped secondone with first,and keep first in readonly mode to true and second in readonly mode to false
 
Share this answer
 
v2
Sounds pretty straight forward. Why haven't you tried it? You sort of said the steps that would is needed to code.

Let me share something with you:
Here is what is expected by enquirers:
1. TRY first what you want to do!
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.
 
Share this answer
 

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