TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rafael Huapaya
NA
1
0
Combobox in Datagriview
Mar 4 2009 12:11 PM
Help me, I have Combobox in Datagriview i need bind combobox, but my code no bind it.
DataSet ds = new DataSet();
ds = neP.NE_Cargar_Procedimientos_Costos();
DataGridViewComboBoxColumn cbox = new DataGridViewComboBoxColumn();
foreach (DataGridViewRow row in dgvCostos.Rows)
{
if (dgvCostos.Columns[2].Name == "storedproc")
{
cbox.DataSource = ds.Tables[0].DefaultView;
cbox.DisplayMember = "name";
cbox.ValueMember = "id";
}
}
Help me :(
Reply
Answers (
1
)
filtering in c#
how to change WinForm controls' text color programatically?