Hi ,
I am new to mysql and i have created the stored procedure for insert the data into mysql database .When i am using the mysqlparameter its shows like :
I share the code , suggest me the solution for this ,
public int InsertCompanyMaster(PLCOMMON ObjPL)
{
try
{
MySqlParameter[] _param = {
//new MySqlParameter("@cm_id ",ObjPL.Comp_ID),
new MySqlParameter("cm_no ",ObjPL.Cm_no),
new MySqlParameter("cm_name,",ObjPL.Comp_Name),
new MySqlParameter("cm_address ",ObjPL.Comp_Address),
new MySqlParameter("cm_contactperson ",ObjPL.Comp_ContactPerson),
new MySqlParameter("cm_contactno ",ObjPL.Cm_ContacNumber),
new MySqlParameter("cm_email ",ObjPL.Cm_Email),
new MySqlParameter("cm_alias",ObjPL.Comp_Alias),
};
_INS = ObjMain.ExecuteProcedure("SP_CompanyMaster_Insert", _param);
}
catch (Exception ex)
{
throw ex;
}
return _INS;
}
Thanks in advance


Rajeesh MenothRank #118 · 18.4K reputationPosted Jan 8, 2019, 7:55 PM EST
Laxmidhar SahooRank #383 · 6.6K reputationPosted Jan 8, 2019, 5:23 PM EST
Jignesh KumarRank #91 · 22.9K reputationPosted Jan 8, 2019, 5:50 PM EST
Karthik KRank #1,981 · 738 reputationPosted Jan 8, 2019, 6:04 PM EST
Jignesh KumarRank #91 · 22.9K reputationPosted Jan 8, 2019, 7:03 PM EST
Karthik KRank #1,981 · 738 reputationPosted Jan 8, 2019, 7:36 PM EST
Jignesh KumarRank #91 · 22.9K reputationPosted Jan 8, 2019, 7:54 PM EST
Laxmidhar SahooRank #383 · 6.6K reputationPosted Jan 9, 2019, 5:27 PM EST