469,904 Members | 1,921 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,904 developers. It's quick & easy.

How to fill a datagridview from database manually for editing in c#?

First of all thanks for all who reply this Question.i have a datagridview with first column as combobox and rest as textbox column. i would like to fill the datagridview manually using c# code for editing. also i would like the combobox items not to be cleared.
Oct 25 '08 #1
2 4033
9,735 Expert Mod 8TB
What do you mean by "Manually"?
What have you tried so far?

Oct 29 '08 #2
What do you mean by "Manually"?
What have you tried so far?

i have a ordinary combobox where i can select an item. iwant to fill a datagridview with data which has the same item number of the combobox.
i want to fill the datagrid for editing. the problem is that i can fill if the combobox colums are of type textbox. but here i have two colums as datagridviewcombobox . i cannot set the value of these combobox.i.e the datagridviewcombobox colum text willnot be displayed in the textbox.plz help.
Nov 3 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Andrew Meador - ASCPA, MCSE, MCP+I, Network+, A+ | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.