问题描述
stringdelGetInfo="deletefromproductswhereProductsNo='"+this.DropDownList2.SelectedValue.Trim()+"'";SqlCommandcmd=newSqlCommand(delGetInfo,scon);inta=cmd.ExecuteNonQuery();执行到最后一句inta=cmd.ExecuteNonQuery();的时候系统报错Atransport-levelerrorhasoccurredwhenreceivingresultsfromtheserver.(provider:SharedMemoryProvider,error:0-句柄无效。)请大家指点为什么,谢谢!
解决方案
解决方案二:
参考http://blog.csdn.net/Luckeryin/article/details/4337457
时间: 2024-09-20 17:42:34