winform中listBox动态绑定数据库但是怎样在每项前面加个固定的图片??? 10
这样绑定的:listBox1.DataSource=DBHelp.ExecuteData(sql);listBox1.DisplayMember="strName";li...
这样绑定的:
listBox1.DataSource = DBHelp.ExecuteData(sql);
listBox1.DisplayMember = "strName";
listBox1.ValueMember = "id"; 展开
listBox1.DataSource = DBHelp.ExecuteData(sql);
listBox1.DisplayMember = "strName";
listBox1.ValueMember = "id"; 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询