Sponsored By
DataConverter
Advertise with Us
Advertisement
Advertise with Us
Follow Us
Follow _MindStick_ on Twitter View MindStick Software's LinkedIn profile View MindStick Software's Facebook profile
Mindstick
Article Article  Forum Forum  Blog Blog  Quiz Quiz  Beginner Beginner  Careers Careers  Contact Contact  Login Login  
Home | Product | Services | About Us | Interview | DeveloperSection | Submit an Article | Submit Blog
Report Abuse Form
Reason:    
   

Home >> .Net >> ASP.Net >> Input string was not in a correct format
Author Post

sandy taylor


Total Post: 11
Member Since: 10/9/2010
Points: 55
Input string was not in a correct format
Posted On: 11/1/2010 4:10:46 AM

anyone can help me with this error:

Exception Details: System.FormatException: Input string was not in a correct format.

here's my code behind:

IDNO= Convert.ToInt32(drIdNo["Emp_ID"]);


Author Post

Uttam Misra


Total Post: 113
Member Since: 6/2/2010
Points: 818
Re: Input string was not in a correct format
Posted On: 11/1/2010 8:46:16 AM
Try this...

IDNO= Convert.ToInt32(drIdNo["Emp_ID"].ToString());
Report Abuse Form
Reason:    
 
Total Online Users: 5813
Advertisement
MindStick DataConverter
Advertise with Us
  
Copyright © 2013MindStick. All Rights Reserved.