Hi
TextBox preTestMarks = (TextBox)item.FindControl("txtPreTestMarks");
preTestMarks.Text = objResult.PreTestMarks;
Thanks
Hi
TextBox preTestMarks = (TextBox)item.FindControl("txtPreTestMarks");
preTestMarks.Text = objResult.PreTestMarks;
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh KumarPosted Sep 20, 2022, 4:49 AM
Hi Ramco,
Please use this one,
Sachin SinghPosted Sep 20, 2022, 4:56 AM
Most probably, PreTestMarks property is of int type, so you need to convert it to string before assigning it to textbox control.