TechEthical CEHP
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