TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Karthik K
1k
738
192.4k
Mysqlparameter issue while mysql in aspl.net
Jan 8 2019 10:00 PM
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
Reply
Answers (
8
)
How to make Antivirus software using c# ? scan all file
copy and paste bullet points showing error