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
Jitendra Kumar
NA
189
22.9k
How can i send image to cheakout page from detail page?
Aug 30 2018 2:59 AM
This is code which I am doing on the details page
DataSet pds;
pds = new DataSet();
DataTable dt = new DataTable();
dt.Columns.Add(new DataColumn("Imagename"));
dt.Columns.Add(new DataColumn("productid"));
dt.Columns.Add(new DataColumn("Id"));
dt.Columns.Add(new DataColumn("Productname"));
dt.Columns.Add(new DataColumn("quantity"));
dt.Columns.Add(new DataColumn("Price"));
dt.Columns.Add(new DataColumn("saleprice"));
pds.Tables.Add(dt);
DataRow dr = pds.Tables[0].NewRow();
dr["Imagename"] = ds.Tables[0].Rows[0]["Imagename"].ToString();
dr["productid"] = Request.QueryString["id"];
dr["Id"]= ds.Tables[0].Rows[0]["id"].ToString();
dr["Productname"] = ds.Tables[0].Rows[0]["Productname"].ToString();
dr["quantity"] = qty.Value;
dr["Price"] = ds.Tables[0].Rows[0]["Price"].ToString();
dr["saleprice"] = ds.Tables[0].Rows[0]["saleprice"].ToString();
Reply
Answers (
1
)
Update List data to table thru entity framework ?
C# to Vb.Net Code conversion