求助~帮忙解释代码谢谢了
public static bool Pbupdate(publisher pub)
{
bool result=false;
result=publisher.Incommon("proc_pblish_update",pub);
return result;
}
public static bool PbDelete(string txtName)
{
bool result=false;
SqlParameter[] paras=new SqlParameter[1];
paras[0]=new SqlParameter("@PbName",SqlDbType.VarChar,50);
paras[0].Value=txtName;
result=DB.Excuteque("proc_pblish_delete",paras);
return result;
}
知道是关于数据的删除和编辑..但是希望到每步的注解,本人是初学者~~谢谢各位达人们了~!!