Sign In|Join
Home/Silverlight.NET Forums/Programming with .NET - General/return datarow from WebMethod/Re: return datarow from WebMethod
Member
50 Points
86 Posts
May 19, 2008 10:35 AM | LINK
dr.read do not make compilation error.
when the method return string, it's ok.
TheResult = dr[
can i returned the whole row from database with datarow ?
josh100
Member
50 Points
86 Posts
Re: return datarow from WebMethod
May 19, 2008 10:35 AM | LINK
dr.read do not make compilation error.
when the method return string, it's ok.
if (dr.Read())TheResult = dr[
"usid"].ToString(); else TheResult = "wrong"; return TheResult;can i returned the whole row from database with datarow ?