摘要:
Page.RegisterClientScriptBlock("error","<script language='javascript'>window.alert('" + context +"');</script>") 阅读全文
摘要:
protected void Button1_Click(object sender, EventArgs e) { string strSql="insert into Invoice_Rebate_Customer_L (FORM_ID,LINE_NO) values (@formNo,@lineNo)"; SqlParameter[] paras =new SqlParameter[2];... 阅读全文
摘要:
insert update数据时,遇到特殊字符会报错,可以用Parameters进行处理!Dim com As SqlCommand Dim sql As String sql = "update " + tableName + " set ItemCName=@ItemCName,ItemEName=@ItemEName,ItemSName=@ItemSName,CreateDate=@crea... 阅读全文