Click here to Skip to main content
16,023,103 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
hi Christian Graus.
i am a khalid khatri i am join in programing last 4 month
i have a one problem so please help me
the problem is i have a one gridview , i set column in gridview is (id,name,address) my gridview's first column style is combobox
now when i load form then automatic add data in gridview's first column from sqlserver's database
so please help me
thanks in advance

i don't know full english for speak and writine
Posted

1 solution

kikhatri wrote:
i am a khalid khatri i am join in programing last 4 month


You're teaching yourself, or doing a course ?

You can set the selecteditem of the gridview for the column using a databound value. Otherwise, you need to use the item data bound event and find the control. Not really a task for someone who has been programming for four months. Is this course work ? I assume it's not paid work, not after 4 months of learning ?
 
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