C# 请问如何通过选择已显示在combobox里的item而改变context.text的值?我用的是select语句。多谢!
textbox.textstringquery=string.Format("SELECTUserID,Position,Project,Startdate,Enddat...
textbox.text
string query = string.Format("SELECT UserID,Position,Project,Startdate,Enddate,Progress,Comments,Innovation,Other" +
"FROM TbWorkReport WHERE UserName = '{0}'", cbBWorkName.SelectedItem);
请问这句话有什么错误? 展开
string query = string.Format("SELECT UserID,Position,Project,Startdate,Enddate,Progress,Comments,Innovation,Other" +
"FROM TbWorkReport WHERE UserName = '{0}'", cbBWorkName.SelectedItem);
请问这句话有什么错误? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询