Click here to Skip to main content
15,924,196 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: gridview Pin
sashidhar21-Sep-09 22:59
sashidhar21-Sep-09 22:59 
AnswerRe: gridview Pin
sashidhar21-Sep-09 22:57
sashidhar21-Sep-09 22:57 
AnswerRe: gridview Pin
Abhijit Jana21-Sep-09 23:17
professionalAbhijit Jana21-Sep-09 23:17 
GeneralRe: gridview Pin
mylogics21-Sep-09 23:22
professionalmylogics21-Sep-09 23:22 
GeneralRe: gridview Pin
Abhijit Jana21-Sep-09 23:36
professionalAbhijit Jana21-Sep-09 23:36 
QuestionDisplay the page at the time of page refresh. Pin
yesu prakash21-Sep-09 19:50
yesu prakash21-Sep-09 19:50 
AnswerRe: Display the page at the time of page refresh. Pin
Abhijit Jana21-Sep-09 19:56
professionalAbhijit Jana21-Sep-09 19:56 
GeneralRe: Display the page at the time of page refresh. Pin
yesu prakash21-Sep-09 20:17
yesu prakash21-Sep-09 20:17 
AnswerRe: Display the page at the time of page refresh. Pin
Abhishek Sur21-Sep-09 22:03
professionalAbhishek Sur21-Sep-09 22:03 
QuestionMS Petshop 4 on VS 2008 Pin
Member 457127021-Sep-09 18:35
Member 457127021-Sep-09 18:35 
QuestionA form for creating a one to many record in a db Pin
Quake2Player21-Sep-09 17:49
Quake2Player21-Sep-09 17:49 
AnswerRe: A form for creating a one to many record in a db Pin
Abhijit Jana21-Sep-09 18:55
professionalAbhijit Jana21-Sep-09 18:55 
GeneralRe: A form for creating a one to many record in a db Pin
Quake2Player22-Sep-09 6:37
Quake2Player22-Sep-09 6:37 
QuestionSystem.ArgumentNullException: Value cannot be null. [modified] Pin
kmsandeep21-Sep-09 13:38
kmsandeep21-Sep-09 13:38 
AnswerRe: System.ArgumentNullException: Value cannot be null. Pin
Expert Coming21-Sep-09 14:00
Expert Coming21-Sep-09 14:00 
GeneralRe: System.ArgumentNullException: Value cannot be null. Pin
kmsandeep22-Sep-09 13:36
kmsandeep22-Sep-09 13:36 
below is code
protected void gotoCart(object sender, EventArgs e)
{
ImageButton btn = (ImageButton)sender;
double Price = double.Parse(((Label)btn.Parent.FindControl("Price")).Text);//.Substring(8));
string ProductName = ((HyperLink)btn.Parent.FindControl("hlnkProductName")).Text;
string ImagePath = ((System.Web.UI.WebControls.Image)btn.Parent.FindControl("imgProduct")).ImageUrl;
string ProductID1 = ((HtmlInputHidden)btn.Parent.FindControl("hdnid")).Value;
string ParentID = ((HtmlInputHidden)btn.Parent.FindControl("hdnParentID")).Value;
int ProductID = Convert.ToInt32(ProductID1.Substring(1));
if (Profile.Cart == null) // here at this line it shows error
{
Profile.Cart = new shopping.ShoppingCart();
}
Profile.Cart.Insert(ProductID, Price,0, 1, ProductName, ImagePath);
Response.Redirect(ResolveUrl("~") + "Shopping_Cart/ShoppingCart.aspx");
}
GeneralRe: System.ArgumentNullException: Value cannot be null. Pin
Ram Cronus28-Sep-09 9:41
Ram Cronus28-Sep-09 9:41 
QuestionInvalid attempt to call Read when reader is closed. Pin
kunal naik21-Sep-09 12:30
kunal naik21-Sep-09 12:30 
AnswerRe: Invalid attempt to call Read when reader is closed. Pin
kmsandeep21-Sep-09 13:46
kmsandeep21-Sep-09 13:46 
QuestionHow to Save the voice record file in the client system Using MCI in c# .net 2.0 web application Pin
bruze21-Sep-09 10:15
bruze21-Sep-09 10:15 
AnswerRe: How to Save the voice record file in the client system Using MCI in c# .net 2.0 web application Pin
Abhishek Sur21-Sep-09 11:10
professionalAbhishek Sur21-Sep-09 11:10 
GeneralRe: How to Save the voice record file in the client system Using MCI in c# .net 2.0 web application Pin
bruze21-Sep-09 11:23
bruze21-Sep-09 11:23 
GeneralRe: How to Save the voice record file in the client system Using MCI in c# .net 2.0 web application Pin
Abhishek Sur21-Sep-09 11:37
professionalAbhishek Sur21-Sep-09 11:37 
GeneralRe: How to Save the voice record file in the client system Using MCI in c# .net 2.0 web application Pin
bruze21-Sep-09 11:54
bruze21-Sep-09 11:54 
AnswerRe: How to Save the voice record file in the client system Using MCI in c# .net 2.0 web application [modified] Pin
rahul145510-Mar-10 18:48
rahul145510-Mar-10 18:48 

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.