示例#1
0
        protected void ButResetClick(object sender, DirectEventArgs e)
        {
            try {
                CmdKskkid.Reset();
                CmdJskkid.Reset();

                DataTable table = new DataTable();
                table.Columns.Add("col2", typeof(String));

                table.Columns.Add("col11", typeof(String));
                StoreEndStation.DataSource = table;
                StoreEndStation.DataBind();
            }
            catch (Exception ex)
            {
                ILog.WriteErrorLog(ex);
                logManager.InsertLogError("PeccancyAreaSetting.aspx-ButResetClick", ex.Message + ";" + ex.StackTrace, "ButResetClick has an exception");
            }
        }
示例#2
0
 /// <summary>
 ///重置事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 /// <returns></returns>
 protected void ButResetClick(object sender, DirectEventArgs e)
 {
     CmdKskkid.Reset();
     CmdJskkid.Reset();
     PecSettingDataBind();
 }