Newer
Older
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class SwapTo : MyPage
{
protected void Page_Load(object sender, EventArgs e)
{
MySession.CheckSession();
loadList();
}
private void loadList()
{
rblDelivery.DataSource = Sdbo.ExecuteDataTable("SELECT * FROM Permission.GroupInfo WHERE ParentID='{0}' AND IsDel=0 and GroupID!='{1}'", GlobalDefine.DeliveryGroupID, GlobalDefine.LingXingCaiGouID);
rblSupplier.DataSource = ObjGroup.GetAllSupplierGroups();
rblDelivery.DataBind();
rblSupplier.DataBind();
}
}