I would like to know the best way to get the data from the SqlDataReader below:
SqlDataReader qvr= null;
q_Command.CommandText = "select * from users where username = @username ";
q_Command.Parameters.Add("@username", SqlDbType.VarChar).Value = SqlUserName;
qvr = q_Command.ExecuteReader();
At this point, how would I assign the contents of qvr to various text boxes on my form? I have ten boxes I need to populate with the contents of qvr.