Click here to Skip to main content
15,850,685 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ajax calendar Pin
amitamit09910-Nov-09 5:42
amitamit09910-Nov-09 5:42 
QuestionRun asp.net on iis Pin
angle5710-Nov-09 1:56
angle5710-Nov-09 1:56 
AnswerRe: Run asp.net on iis Pin
padmanabhan N10-Nov-09 2:10
padmanabhan N10-Nov-09 2:10 
AnswerRe: Run asp.net on iis Pin
dan!sh 10-Nov-09 2:26
professional dan!sh 10-Nov-09 2:26 
AnswerRe: Run asp.net on iis Pin
Abhishek Sur10-Nov-09 3:31
professionalAbhishek Sur10-Nov-09 3:31 
QuestionDynamic HTML links in code behind. Pin
DotNetCoderJunior10-Nov-09 1:49
DotNetCoderJunior10-Nov-09 1:49 
AnswerRe: Dynamic HTML links in code behind. Pin
Not Active10-Nov-09 2:32
mentorNot Active10-Nov-09 2:32 
Questiondatalist Pin
mylogics10-Nov-09 1:48
professionalmylogics10-Nov-09 1:48 
hiii i am using datalist as a cart to show the items.
but the update functionality is not working.i m entering the quantity in textbox n updating it.
can u help me.
plz guide.
the code is:
protected void Update(object source, DataListCommandEventArgs e)
   {
       int ProductID = Convert.ToInt32(DataList1.DataKeys[e.Item.ItemIndex]);
       TextBox txtqty;
       txtqty = ((TextBox)e.Item.FindControl("txtqty"));
       string connectionstring = ConfigurationManager.ConnectionStrings["SilverOnline"].ConnectionString;
       SqlConnection conn = new SqlConnection(connectionstring);
       SqlCommand cmd = new SqlCommand("Update Home Set ProductQty=@productqty Where ProductID=@productid", conn);
       cmd.Parameters.Add("@productqty", SqlDbType.VarChar).Value = txtqty.Text;
       cmd.Parameters.Add("@productid", SqlDbType.Int).Value = ProductID;
       if (conn.State == ConnectionState.Closed)
           conn.Open();
       cmd.ExecuteNonQuery();
       if (conn.State == ConnectionState.Open)
           conn.Close();
       DataList1.EditItemIndex = -1;
      // Bindlist();
       Session["cart"] = dt;
       DataList1.DataSource = dt;
       DataList1.DataBind();
       lbltotal.Text = "Rs." + gettotal();
       }

AnswerRe: datalist Pin
padmanabhan N10-Nov-09 2:22
padmanabhan N10-Nov-09 2:22 
QuestionInterface Pin
Nagarajan.C10-Nov-09 1:34
Nagarajan.C10-Nov-09 1:34 
AnswerRe: Interface Pin
Amit Patel198510-Nov-09 2:09
Amit Patel198510-Nov-09 2:09 
AnswerRe: Interface Pin
dan!sh 10-Nov-09 2:17
professional dan!sh 10-Nov-09 2:17 
AnswerRe: Interface Pin
padmanabhan N10-Nov-09 2:18
padmanabhan N10-Nov-09 2:18 
GeneralRe: Interface Pin
dan!sh 10-Nov-09 2:24
professional dan!sh 10-Nov-09 2:24 
GeneralRe: Interface Pin
padmanabhan N10-Nov-09 2:32
padmanabhan N10-Nov-09 2:32 
GeneralRe: Interface Pin
dan!sh 10-Nov-09 2:36
professional dan!sh 10-Nov-09 2:36 
AnswerRe: Interface Pin
Shameel10-Nov-09 3:28
professionalShameel10-Nov-09 3:28 
QuestionGRIDVIEW in ASP.NEt and C# Pin
sajitk2010-Nov-09 1:31
sajitk2010-Nov-09 1:31 
AnswerRe: GRIDVIEW in ASP.NEt and C# Pin
padmanabhan N10-Nov-09 2:14
padmanabhan N10-Nov-09 2:14 
AnswerRe: GRIDVIEW in ASP.NEt and C# [modified] Pin
Raja Soosai10-Nov-09 3:08
Raja Soosai10-Nov-09 3:08 
QuestionRun asp.net Site in IIS Pin
angle5710-Nov-09 1:30
angle5710-Nov-09 1:30 
AnswerRe: Run asp.net Site in IIS Pin
padmanabhan N10-Nov-09 2:15
padmanabhan N10-Nov-09 2:15 
QuestionEncryption Technique in Asp.net using C# Pin
Amit Patel198510-Nov-09 1:19
Amit Patel198510-Nov-09 1:19 
AnswerRe: Encryption Technique in Asp.net using C# Pin
Gamzun10-Nov-09 1:25
Gamzun10-Nov-09 1:25 
GeneralRe: Encryption Technique in Asp.net using C# Pin
Amit Patel198510-Nov-09 1:52
Amit Patel198510-Nov-09 1:52 

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.