数据库查询和datagrid求解----waiting!!! 1,第一次查询用sql="select * from .. where A=..",然后第二次查询用sql=sql+" and B=.."2,在DataGrid的属性生成器中,设定你需要的列不能换行显示3,没试过,不知道 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 1 s = " select * from table where a = '...' and b = '...' " 或者 if( types== "a") s = " select * from table where a = '...'" else if (types == "b" s = " select * from table where b = '...'" MVC route 匹配url小问题,在线等,马上结贴 DataList1_ItemCommand不执行 gridview 行数据更新问题 说件最近的烦心事,希望大家能帮忙出点主意 求一个表达式,限定输入字符数量的。 定时生成静态页问题 在aspx页面事件中获取客户端表单的数据 表格行高的控制 如何显示图片流 下拉框能绑定,为何TreeView不能绑定? 孟大人 救命哦!!!!!!!!!!!!! JavaScript和微软的JScript.NET有什么区别?
或者
if( types== "a")
s = " select * from table where a = '...'"
else if (types == "b"
s = " select * from table where b = '...'"