inve_80c_no int <br /> inve_80C_PF_VPF numeric(18, 0)
iCommand.Parameters.Add("@inve_80C_PF_VPF", SqlDbType.NVarChar,200).Value = txt80C_PF_VPF.Text;
iCommand.Parameters.AddWithValue("@inve_80C_PF_VPF", txt80C_PF_VPF.Text);
try this
iCommand.Parameters.Add ("@inve_80C_PF_VPF", SqlDbType.Decimal).Value = inve_80C_PF_VPF.Text;
iCommand.Parameters.Add(new SqlParameter("inve_80C_PF_VPF", Convert.ToInt32(txt80C_PF_VPF.Text)));
SqlParameter[] sparam = new SqlParameter[1]; sparam[0] = new SqlParameter(@inve_80c_no, SqlDbType.Int); sparam[0].Value = 15;
iCommand.Parameters.Add("@inve_80C_PF_VPF", SqlDbType.Decimal,200).Value = txt80C_PF_VPF.Text;
iCommand.Parameters.Add(new SqlParameter("@inve_80C_PF_VPF", txt80C_PF_VPF.Text));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)