StringBuilder 用法
using System.Text;
StringBuilder sb=new StringBulider("select pid,pname from table"); sb.append(" where psex=男"); Page.ClientScript,RegisterClientScriptBolck(GetType(),"test","alert('"+sb.ToString()+"')",true);
using System.Text;
StringBuilder sb=new StringBulider("select pid,pname from table"); sb.append(" where psex=男"); Page.ClientScript,RegisterClientScriptBolck(GetType(),"test","alert('"+sb.ToString()+"')",true);