Click here to Skip to main content
16,007,072 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: handling keyboard event of data grid on client side Pin
Muhammad Chitrali7-Aug-06 22:46
Muhammad Chitrali7-Aug-06 22:46 
GeneralRe: handling keyboard event of data grid on client side Pin
24891288-Aug-06 1:32
24891288-Aug-06 1:32 
Questionhow to link menus with javascript in asp.net Pin
Ramu.e7-Aug-06 18:12
Ramu.e7-Aug-06 18:12 
QuestionECHO Pin
Tiger4567-Aug-06 17:48
Tiger4567-Aug-06 17:48 
QuestionHow to call/execute window application from web application ? Pin
lethanhtri7-Aug-06 17:20
lethanhtri7-Aug-06 17:20 
AnswerRe: How to call/execute window application from web application ? Pin
ravikiranreddydharmannagari7-Aug-06 18:46
ravikiranreddydharmannagari7-Aug-06 18:46 
GeneralRe: How to call/execute window application from web application ? Pin
Muhammad Chitrali7-Aug-06 22:51
Muhammad Chitrali7-Aug-06 22:51 
QuestionAdding Items To Cart Pin
kjosh7-Aug-06 15:50
kjosh7-Aug-06 15:50 
Hi,
Iam implementing shoppingcart.In that i placed a Gridview with columns Name,price,picture,checkboxfield(select).
User select the items from the gridview and click on ADDCART Button which is outside of GridView.
when user click ADDCART button,the rows in the gridview for which checkbox field checked that vales iam storing in a datatable.
for this ADDCART button click event i wrote the following code:
int c=0;
for (int i = 0; i < GridView1.Rows.Count; i++)
{

GridViewRow row = GridView1.Rows[i];
bool isChecked = ((CheckBox)row.FindControl("chkSelect")).Checked;
if (isChecked)
c++;
}
Response.Write(c.ToString());

//This code only to check.

Eventhough i checked 2 checkbox fields,and click on ADDCART
The c value is 0.

Anything wrong in the above code.
Or Give me some idea on How to ADD user selected items to CART.
Please help me.
Thanks in advance
AnswerRe: Adding Items To Cart Pin
Not Active7-Aug-06 16:37
mentorNot Active7-Aug-06 16:37 
AnswerRe: Adding Items To Cart Pin
Tim Kohler7-Aug-06 16:40
Tim Kohler7-Aug-06 16:40 
AnswerRe: Adding Items To Cart Pin
NasimKaziS8-Aug-06 2:16
NasimKaziS8-Aug-06 2:16 
QuestionServer side ms mail merge Pin
tmoney1017-Aug-06 14:16
tmoney1017-Aug-06 14:16 
AnswerRe: Server side ms mail merge Pin
minhpc_bk7-Aug-06 15:23
minhpc_bk7-Aug-06 15:23 
QuestionPasswordRecovery control Pin
Clickok7-Aug-06 13:21
Clickok7-Aug-06 13:21 
AnswerRe: PasswordRecovery control Pin
minhpc_bk7-Aug-06 15:24
minhpc_bk7-Aug-06 15:24 
GeneralRe: PasswordRecovery control Pin
Clickok7-Aug-06 15:30
Clickok7-Aug-06 15:30 
QuestionWhat is wrong with this... Pin
NiPsTeRs7-Aug-06 9:41
NiPsTeRs7-Aug-06 9:41 
AnswerRe: What is wrong with this... Pin
Guffa7-Aug-06 11:45
Guffa7-Aug-06 11:45 
GeneralRe: What is wrong with this... Pin
eggsovereasy8-Aug-06 3:58
eggsovereasy8-Aug-06 3:58 
GeneralRe: What is wrong with this... Pin
Guffa8-Aug-06 8:07
Guffa8-Aug-06 8:07 
QuestionRemoving Image options Pin
Drathmar7-Aug-06 7:49
Drathmar7-Aug-06 7:49 
AnswerMessage Closed Pin
7-Aug-06 8:13
User-8957237-Aug-06 8:13 
GeneralRe: Removing Image options Pin
Drathmar16-Aug-06 12:39
Drathmar16-Aug-06 12:39 
QuestionWorking with DataList Pin
ravindradonkada7-Aug-06 7:10
ravindradonkada7-Aug-06 7:10 
AnswerRe: Working with DataList Pin
Not Active7-Aug-06 8:51
mentorNot Active7-Aug-06 8:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.