在组合框中添加项目 [英] add item in combobox
问题描述
克里斯蒂安·格劳斯.
我是khalid khatri,我参加了过去4个月的编程工作
我有一个问题,所以请帮助我
问题是我有一个gridview,我在gridview中设置的列是(id,name,address)我的gridview的第一列样式是combobox
现在,当我加载表单时,会自动从sqlserver的数据库中的gridview的第一列中添加数据
所以请帮帮我
在此先感谢
我不懂英语,不会说话和写作.
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
推荐答案
我是khalid khatri,我参加了过去4个月的编程工作
i am a khalid khatri i am join in programing last 4 month
您是在自学还是在上课程?
您可以使用数据绑定值为列设置gridview的selecteditem.否则,您需要使用项目数据绑定事件并找到控件.对于已经进行了四个月编程的人来说,这并不是一个真正的任务.这门课程有效吗?我认为这不是免费的工作,不是经过4个月的学习?
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 ?
这篇关于在组合框中添加项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!