Click here to Skip to main content
15,888,816 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ajax calendar Pin
amitamit09910-Nov-09 4:42
amitamit09910-Nov-09 4:42 
QuestionRun asp.net on iis Pin
angle5710-Nov-09 0:56
angle5710-Nov-09 0:56 
AnswerRe: Run asp.net on iis Pin
padmanabhan N10-Nov-09 1:10
padmanabhan N10-Nov-09 1:10 
AnswerRe: Run asp.net on iis Pin
dan!sh 10-Nov-09 1:26
professional dan!sh 10-Nov-09 1:26 
AnswerRe: Run asp.net on iis Pin
Abhishek Sur10-Nov-09 2:31
professionalAbhishek Sur10-Nov-09 2:31 
QuestionDynamic HTML links in code behind. Pin
DotNetCoderJunior10-Nov-09 0:49
DotNetCoderJunior10-Nov-09 0:49 
AnswerRe: Dynamic HTML links in code behind. Pin
Not Active10-Nov-09 1:32
mentorNot Active10-Nov-09 1:32 
Questiondatalist Pin
mylogics10-Nov-09 0:48
professionalmylogics10-Nov-09 0: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 1:22
padmanabhan N10-Nov-09 1:22 
QuestionInterface Pin
Nagarajan.C10-Nov-09 0:34
Nagarajan.C10-Nov-09 0:34 
AnswerRe: Interface Pin
Amit Patel198510-Nov-09 1:09
Amit Patel198510-Nov-09 1:09 
AnswerRe: Interface Pin
dan!sh 10-Nov-09 1:17
professional dan!sh 10-Nov-09 1:17 
AnswerRe: Interface Pin
padmanabhan N10-Nov-09 1:18
padmanabhan N10-Nov-09 1:18 
GeneralRe: Interface Pin
dan!sh 10-Nov-09 1:24
professional dan!sh 10-Nov-09 1:24 
GeneralRe: Interface Pin
padmanabhan N10-Nov-09 1:32
padmanabhan N10-Nov-09 1:32 
GeneralRe: Interface Pin
dan!sh 10-Nov-09 1:36
professional dan!sh 10-Nov-09 1:36 
AnswerRe: Interface Pin
Shameel10-Nov-09 2:28
professionalShameel10-Nov-09 2:28 
QuestionGRIDVIEW in ASP.NEt and C# Pin
sajitk2010-Nov-09 0:31
sajitk2010-Nov-09 0:31 
AnswerRe: GRIDVIEW in ASP.NEt and C# Pin
padmanabhan N10-Nov-09 1:14
padmanabhan N10-Nov-09 1:14 
AnswerRe: GRIDVIEW in ASP.NEt and C# [modified] Pin
Raja Soosai10-Nov-09 2:08
Raja Soosai10-Nov-09 2:08 
QuestionRun asp.net Site in IIS Pin
angle5710-Nov-09 0:30
angle5710-Nov-09 0:30 
AnswerRe: Run asp.net Site in IIS Pin
padmanabhan N10-Nov-09 1:15
padmanabhan N10-Nov-09 1:15 
QuestionEncryption Technique in Asp.net using C# Pin
Amit Patel198510-Nov-09 0:19
Amit Patel198510-Nov-09 0:19 
AnswerRe: Encryption Technique in Asp.net using C# Pin
Gamzun10-Nov-09 0:25
Gamzun10-Nov-09 0:25 
GeneralRe: Encryption Technique in Asp.net using C# Pin
Amit Patel198510-Nov-09 0:52
Amit Patel198510-Nov-09 0: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.