L
Looch
Hi All,
I'm using the following code:
private void cmdConsumUpdate_Click(object sender, EventArgs e)
{
try
{
DataGridViewRow dgvr = dgView2.CurrentRow;
string stat = dgvr.Cells[2].ToString ();
string trac = dgvr.Cells[6].ToString ();
Int32 ticknum =
Convert.ToInt32(dgvr.Cells[8].ToString());
amslpsvr1.WebService ws = new
CustomerService_BreaCS.amslpsvr1.WebService();
ws.UpdateConsumOrder(stat, trac, ticknum);
getInfo();
}
catch (Exception ex)
{
MessageBox.Show (ex.Message)
}
}
I keep getting the error "Input string was not in a correct format.".
I commented out the web service call and got the same error so I know
that's not the issue. I have a feeling this is above the code I have
here but I really don't have any idea what is going on!
Any help would be much appreciated.
I'm using the following code:
private void cmdConsumUpdate_Click(object sender, EventArgs e)
{
try
{
DataGridViewRow dgvr = dgView2.CurrentRow;
string stat = dgvr.Cells[2].ToString ();
string trac = dgvr.Cells[6].ToString ();
Int32 ticknum =
Convert.ToInt32(dgvr.Cells[8].ToString());
amslpsvr1.WebService ws = new
CustomerService_BreaCS.amslpsvr1.WebService();
ws.UpdateConsumOrder(stat, trac, ticknum);
getInfo();
}
catch (Exception ex)
{
MessageBox.Show (ex.Message)
}
}
I keep getting the error "Input string was not in a correct format.".
I commented out the web service call and got the same error so I know
that's not the issue. I have a feeling this is above the code I have
here but I really don't have any idea what is going on!
Any help would be much appreciated.