Files
g.hnyhua.cn/Mtxfw.shop/Member_Mybalance.aspx.cs
2026-02-07 15:48:27 +08:00

38 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
namespace Mtxfw.shop
{
public partial class Member_Mybalance : Mtxfw.Utility.MemberBase
{
Mtxfw.DAL.order_info daoorder = new Mtxfw.DAL.order_info();
Mtxfw.DAL.user_info daoUser = new Mtxfw.DAL.user_info();
protected string ShowPage = "", ShowConent = "", strdisplay1 = "", strdisplay2 = "";
protected Double UserMoney = 0.00;
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
if (!IsPostBack)
{
myDataBind();
Page.Title = "我的账户 - " + GetWebName;
}
}
private void myDataBind()
{
Mtxfw.Model.user_info model = daoUser.GetModel(Card);
if (model != null)
{
text_umoney.Text = "¥" + (model.umoney15 - model.umoney16).ToString("f2");
text_umoney2.Text = "¥" + (model.umoney30 - model.umoney31).ToString("f2");
}
}
}
}