Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
6
Reply
How to get int math.random round number?
Mani Kandan
Apr 5 2017 4:57 AM
252
Reply
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?
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
how to use "IsPostBack" & ViewState in c# windows appli..
Reading and analysing textfiles and building sting arrays