16,012,468 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by kwelpooh (Top 25 by date)
kwelpooh
18-Aug-15 15:00pm
View
Thank you so much its now showing image.
kwelpooh
26-Jun-15 7:40am
View
Hai I tried everything I don't know how to do this please help how to trigger button click event in rowdatbound
kwelpooh
18-Jun-15 9:29am
View
yes i changed that and kept breakpoint and checked it at row index 0 it takes the value and it throws exception There is no row at position 1. that means select query which i have posted here not taking all the rows how to solve this and have taking all the rows from cart table using productid which i have used in Datakeynames
kwelpooh
17-Jun-15 16:07pm
View
the problem is its takes only last value and only one value in tbl_tpd
string proid = Application["id"].ToString();
"select tpd.productid,tpd.productname,tpd.ProductImage,tpd.price,tpd.qty,tpd.totalcost,tpd.cdate from rsa_addtocart tpd where tpd.productid=" + proid + " ", con);
protected void Gridcart_RowDataBound(object sender, GridViewRowEventArgs e)
{
if(e.Row.RowType==DataControlRowType.DataRow)
{
Application["id"] = Convert.ToInt32(Gridcart.DataKeys[e.Row.RowIndex].Values[0]);
}
}
kwelpooh
16-Jun-15 9:16am
View
i did that already but it adds the same item 2 times
kwelpooh
15-Jun-15 13:57pm
View
how to clear that for loop. please
kwelpooh
11-Jun-15 4:05am
View
no its not working
kwelpooh
30-Mar-15 6:01am
View
UserId is identity column in table how to assign session for that
kwelpooh
30-Mar-15 3:22am
View
i want to add something like this
Session.Add("UserId", ds.Tables["rsa_Users"].Rows[0][0].ToString()); since not using inline query i dont know how to add session when using stored procedure. please guide me.
kwelpooh
30-Mar-15 3:15am
View
checked in immediate window and it shows null please let me know if this wrong way to add session like this
kwelpooh
18-Mar-15 4:43am
View
how to Check that column exists?
kwelpooh
4-Mar-15 6:27am
View
Actually i have displayed some products in addtoCart page in Gridview and next it will be directed shipping address page in this page if click image Button those products in addtocart page should be displayed in this page.
kwelpooh
4-Mar-15 3:45am
View
ProductId value from Table (rsa_ProductItemTable)
kwelpooh
4-Mar-15 3:39am
View
THANKS FOR THE REPLY. Yes its not working yes i want to redirect to another page if i use the Onclick event how to pass the query string and request that in another page can u please help me with this?
kwelpooh
23-Feb-15 10:47am
View
have to first add items in the cart while debugging its not coming inside the if loop
da = new SqlDataAdapter("insert into rsa_addtocart(UserId,productid,productname,ProductImage,price,totalcost,cdate)values(" + Convert.ToInt32(Session["UserId"].ToString()) + "," + Convert.ToInt32(ds.Tables[0].Rows[0][0].ToString()) + ",'" + ds.Tables[0].Rows[0][1].ToString() + "','" + ds.Tables[0].Rows[0][3].ToString() + "'," + Convert.ToDecimal(ds.Tables[0].Rows[0][2].ToString()) + ",1," + Convert.ToDecimal(ds.Tables[0].Rows[0][2].ToString()) + ",getdate())", con);
da.SelectCommand.ExecuteNonQuery();
kwelpooh
23-Feb-15 7:33am
View
It's datalist item command not griedivew I have mentioned it in datalist wen I click the link button in datalist it will bind the values in gridview
kwelpooh
16-Jan-15 13:10pm
View
i will change that but whether coding is correct?
kwelpooh
29-Dec-14 12:38pm
View
not using gridview control using Datalist to display products for example if iam clicking watches no products in database i wants to display "no products to display"
how to do that in if condition.
kwelpooh
10-Dec-14 13:27pm
View
yea that's silly mistake i have done Thanks
kwelpooh
10-Dec-14 13:27pm
View
Deleted
yea that's silly mistake i have done Thanks
kwelpooh
6-Dec-14 12:54pm
View
I tried this code and it displays nothing kept break point and tried it takes menu id =0 but menu id in the not null.
kwelpooh
6-Dec-14 12:19pm
View
I will try that code & menu id is int
kwelpooh
6-Dec-14 12:05pm
View
Deleted
Other codings all are correct. ?just want to make sure.
kwelpooh
6-Dec-14 12:02pm
View
Thanks for your time . But menu id is not null I just want to make sure other coding is all correct. ?
kwelpooh
6-Dec-14 11:48am
View
<asp:MenuItem ImageUrl="~/Admin/images/Button/Products.png" ToolTip="hower to see products">
<asp:MenuItem ToolTip="Hover to Mens Collections" Text="Mens">
<asp:MenuItem ToolTip="mens Clothing" Text="clothing">
<asp:MenuItem ToolTip="Shirts" Text="Shirts" NavigateUrl="~/View Products.aspx?MenuId={0}">
<asp:MenuItem ToolTip="Pants" Text="Pants">
<asp:MenuItem ToolTip="Tshirts" Text="Tshirts">
<asp:MenuItem ToolTip="Shirts" Text="Shirts" NavigateUrl="~/View Products.aspx?MenuId="Dont know what value come here">
protected void Menu1_MenuItemClick(object sender, MenuEventArgs e)
{
Response.Redirect("~/View Products.aspx?MenuId=" +Menu1.SelectedItem.Value(dont Know Whether its correct or not);
}
Show More