一个查询语句的datagrid绑定 问题
string sql = "select * from table where " + this.search_type.SelectedValue + " like '%" + this.txtcontent.Text + "%'";
我这样写怎么不能实现这个功能:
在列表框中选个字段,然后在文本框中输入信息,点查询,就能绑定到datagrid中
string sql = "select * from table where " + this.search_type.SelectedValue + " like '%" + this.txtcontent.Text + "%'";
我这样写怎么不能实现这个功能:
在列表框中选个字段,然后在文本框中输入信息,点查询,就能绑定到datagrid中
2007-05-12 14:01
2007-05-12 14:09
2007-05-12 23:09

2007-05-13 13:03