Hi
Cannot implicitly convert int type to string
TextBox preTestMarks = (TextBox)item.FindControl("txtPreTestMarks"); preTestMarks.Text = objResult.PreTestMarks;
Thanks
ramco1917 says: preTestMarks.Text = objResult.PreTestMarks;
preTestMarks.Text = objResult.PreTestMarks;
Change with below.
preTestMarks.Text = objResult.PreTestMarks.ToString();
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.