Hi
ID is of int type
hdFld.Value = Request.QueryString["val"];
Result.ID = int.Parse(hdFld.Value);
Thanks
Hi
ID is of int type
hdFld.Value = Request.QueryString["val"];
Result.ID = int.Parse(hdFld.Value);
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.
Uttam KumarPosted Mar 26, 2022, 5:02 PM
Try using the below code:
hdFld.Value = Request.QuesryString["val"];
int num;
bool numParseSuccess = int.TryParse(hdFld.Value, out num);
Result.ID = num;
Muhammad Imran AnsariPosted Mar 26, 2022, 6:24 PM
Nitin SontakkePosted Mar 25, 2022, 11:31 AM
Jagjit SainiPosted Mar 25, 2022, 11:22 AM
Nitin SontakkePosted Mar 25, 2022, 10:38 AM