Click here to Skip to main content
15,916,693 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have dataGridView which is Binded.

Ex.
C#
List<studentmaster> lstStudent = StudentMaster.SelectAllStudentDetails();

dataGridView1.DataSource = lstStudent;
Now, I want to Set TextBox in to the First Column of First Row.

Means TextBox at Row=0 and Column=0 position Only for Editable Mode and rest of others data as read only mode.
Posted
Updated 7-May-15 23:07pm
v2

1 solution

Have you checked the answers here - Datagridview: How to set a cell in editing mode?[^].

You need to explore and implement. Please try and let me know.
 
Share this answer
 
Comments
bugmenotyolohaaha 13-May-15 2:10am    
Thanks Tadit Dash.
It's Helpful for me bur It is not good lookwise for TextBox for only First Row.
Then you need to rethink about your design.

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