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
Abhilash J A
537
2.4k
597.1k
How to get int math.random round number?
Apr 5 2017 4:57 AM
Hi,
Let's say, if I want to set Math.random(); in variable.
'idPartnerProject' model class object, some times it will cotain integer also,
foreach
(var partnerProjecttemp
in
pageVM.Form5.Projects)
{
partnerProjectBL.idPartnerProject = Convert.ToInt32(partnerProjecttemp.idPartnerProject);
/*if idPartnerProject id existing then update record, not exist add a new record*/
}
And,
But now error raising,
Input string was not in a correct format.
How can I solve this?
Reply
Answers (
6
)
how to use "IsPostBack" & ViewState in c# windows appli..
Reading and analysing textfiles and building sting arrays