TechEthical CEHP

Current Path : G:/PleskVhosts/megamind.net.in/careercentre360.com/admin/
Upload File :
Current File : G:/PleskVhosts/megamind.net.in/careercentre360.com/admin/Update-SMS-Balance.aspx.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;

namespace Directory.admin
{
    public partial class Update_SMS_Balance : System.Web.UI.Page
    {
        public System.Data.DataTable dt = new System.Data.DataTable();
        public System.Data.SqlClient.SqlDataAdapter SqlAdapter = new SqlDataAdapter();

        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void butUpdate_Click(object sender, EventArgs e)
        {
            connection_sql obj = new connection_sql();
            obj.MakeConnection();

            string qry = "update contact_book set sms_bal = sms_bal + " + txtSMSQuantity.Text 
                + " where mobile_1 = '" + txtMobile.Text  ;
            obj.ExcuteCommand(qry);
            obj.CloseConnection();


        }


    }
}

TechEthical Mini WebShell Version 1.0, Coded By The_M@T3