Zakir Ahamed

Zakir Ahamed

  • NA
  • 1.4k
  • 610.2k

prblm in hastable convert string to int

Sep 1 2017 2:12 AM
hi,
 
i am using hashtable to update list items :
 
i have convert string to int??
 
hstbl.Add("@BrandId",Convert.ToInt32(ChkSelectedValue.ToString())); 
 
i will Int.parse method and Convert.toint32 method is not convert to int.. 
 
chkSelectedValue i will declared as a String:
 
string ChkSelectedValue = string.Empty; 

Answers (2)