TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sarada
NA
34
0
how to avoid integer error?
Jul 27 2009 1:14 AM
hi
I have converted mac address by parsing into int in this way
string s= nic.GetPhysicalAddress().ToString();
int k=Int32.Parse(s, System.Globalization.NumberStyles.HexNumber);
MessageBox.Show(Convert.ToString(k));
here, it is raising error as 'value is either too large or too small for int32'.I tried with int64 also but it is raising cannot implicitly convert long to int.How can i solve this?
Reply
Answers (
1
)
Expanding Node in Treeview Selects Node
how to resolve