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
Naga Bhagavanreddy
NA
1
0
how to pass parameters using mysqlcommand if i am passing like this i.m getting error can any one help me plssssssssssssss
Aug 4 2008 6:14 AM
public static void UpdateBrandDetails(BrandsENT objBrandsEnt)
{
Database db = DatabaseFactory.CreateDatabase("PriceRaja");
MySqlCommand dbcommand = db.GetStoredProcCommand("PR_SP_UpdateBrandDetails");
db.AddInParameter(dbcommand, "@brandid", DbType.Int64,objBrandsEnt.brandId);
db.AddInParameter(dbcommand, "@Brand_name", DbType.String,objBrandsEnt.brand_name);
db.AddInParameter(dbcommand, "@CreatedOn", DbType.DateTime,objBrandsEnt.CreatedOn);
// db.AddInParameter(dbcommand, "@DBTime", DbType.DateTime, DBTime);
db.ExecuteScalar(dbcommand);
}
Reply
Answers (
0
)
Welcome to Avalon forums
how to update row in grid view.