1
Answer

convert string to int

Joma Rajab

Joma Rajab

8y
616
1
how to check the id it is string to convert it to int or if it is int to pass it 
 
  1. int id = 0;  
  2. int.TryParse(Request.QueryString["id"], out id);  
 I need to put condition  for this above 
 
please help  
Answers (1)