while (rdr.Read())
{
imgno = rdr.GetString(0);
}
HttpContext.Current.Response.Write(imgno);
此代码生成错误
(Error 5 Use of unassigned local variable 'imgno')
while (rdr.Read())
{
imgno = rdr.GetString(0);
}
HttpContext.Current.Response.Write(imgno);
此代码生成错误
(Error 5 Use of unassigned local variable 'imgno')