Sql语句 update set 修改多项字段的格式
string stringCmd = "UPDATE t_site_link SET siteName=@siteName,siteURL=@siteURL,"
+"priority=@priority,isAllowed=@isAllowed WHERE siteId=@siteId";
不用出现太多SET哦
Sql语句 update set 修改多项字段的格式
string stringCmd = "UPDATE t_site_link SET siteName=@siteName,siteURL=@siteURL,"
+"priority=@priority,isAllowed=@isAllowed WHERE siteId=@siteId";
不用出现太多SET哦