Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

everyone. I need a help for this error which is (input string was not in the correct format). I am trying to save the selected

everyone. I need a help for this error which is (input string was not in the correct format). I am trying to save the selected check box changes when click on the button save, and this is my code: C# code

protected void btnSaveLegalEventSelect_Click(object sender, EventArgs e)

{

string[] listDebtorNumber = ((string)Session["legalEvents_debtorNumber"]).Split(',');

string[] listClientCode = ((string)Session["legalEvents_clientCode"]).Split(',');

for (int i = 0; i < listDebtorNumber.Length; i++)

{

SaveRecord(Int32.TryParse(listDebtorNumber[i]), listClientCode[i], eSaveType.single); // error Exception here (input string was not in correct format)

}

}

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Case Studies In Business Data Bases

Authors: James Bradley

1st Edition

0030141346, 978-0030141348

Students also viewed these Databases questions

Question

When there was controversy, was it clear who had the final say?

Answered: 1 week ago