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);
posted @ 2010-11-11 22:44  solomon_Blog  阅读(172)  评论(0编辑  收藏  举报