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);
-
- }
And,
But now error raising, Input string was not in a correct format.
How can I solve this?