通常原始代码如下: Where id=Convert.ToInt32(cousid)
更改后代码:
Var currentid= Convert.ToInt32(cousid); Wehre id=currentid;