protected void Buttonhepsiniode_Click(object sender, EventArgs e) { //for (int i = 0; i < ASPxGridView2.VisibleRowCount; i++) //{ // var items = ASPxGridView2.GetRowValues(i, new string[] { "FISNO", "TL_BORC" }) as object[]; // // ASPxListBox1.Items.Add(rowValues[0].ToString()); // SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["CarringtonWebConnectionString1"].ConnectionString); // con.Open(); // SqlCommand cmd = new SqlCommand("update ACIKHESAP set ODEME_DURUMU=2, ODENEN_TUTAR=" + items[1].ToString() + " where ID=" + items[0].ToString(), con); // cmd.ExecuteNonQuery(); // Labeltesekkurler.Visible = true; //} Decimal SMTUTAR = Convert.ToDecimal(ASPxGridView2.GetTotalSummaryValue(ASPxGridView2.TotalSummary["TL_BORC"])); Global.TUTAR = null; Global.TUTAR = SMTUTAR.ToString(); Server.Transfer("payment.aspx"); }