【www.gdgbn.com--Access】
//充点
public static int ChargePoint(decimal id, String table, decimal point, String ip)
{
decimal oldPoint = 0;
SqlConnection con = new SqlConnection(BasePage.GetConnectString());
String strSQL = null;
con.Open();
SqlTransaction tran = con.BeginTransaction();
try
{
strSQL = String.Format("select points from {0} where {0}ID={1}