By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,333 Members | 1,850 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,333 IT Pros & Developers. It's quick & easy.

Is it possible to associate a datasource to a cell and not to the entire column?

P: 6
Hi

Is it possible to associate a datasource in a datagridview combobox to one cell and not to the entire column? If so how would I go about doing it?

Sonny
Sep 8 '06 #1
Share this Question
Share on Google+
1 Reply


100+
P: 366
hi

its possible you can assign a single cell also by using the datatext field of that particular cell.for combo you will be having datatext field property for which you have to specify the column no in the table which you want


DropDownList1.DataTextField=dt.Columns[index].ColumnName;


dt is your datatable obj and index is the number of column in the table
Sep 9 '06 #2

Post your reply

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