Cannot implicitly convert type 'void' to 'string' how to solve ths error
Hai,
using datareader i retrieve values from the table i want to display that in a label box but the error occurs,
like
Cannot implicitly convert type 'void' to 'string'
while(rdr.Read()){
label1.Text = Response.Write(rdr["name"].ToString()); }
how to solve this,
Thank u,