Exemple #1
0
        public void MyBind()
        {
            string skeetype = SkeeType_DR.SelectedValue;
            string skey     = Skey_T.Text.Trim(' ');
            string addon    = Addon_DR.SelectedValue;

            if (!string.IsNullOrEmpty(UName))
            {
                skeetype = "username";
                skey     = UName;
            }
            DataTable dt = payll.GetPay("", skeetype, skey, order, addon);

            if (Status == -99)
            {
                dt.DefaultView.RowFilter = "isdel = -99";
            }
            RPT.DataSource = dt.DefaultView.ToTable();
            RPT.DataBind();
        }