Ejemplo n.º 1
0
 /// <summary>
 /// 初始化数据
 /// </summary>
 /// <param name="ut"></param>
 private void OnStartData(TelecomBaseStationEntity ut)
 {
 lac_Input.Text = lac_Disp.Text = ut.lac.ToString();
         cid_Input.Text = cid_Disp.Text = ut.cid.ToString();
         mcc_Input.Text = mcc_Disp.Text = ut.mcc.ToString();
         mnc_Input.Text = mnc_Disp.Text = ut.mnc.ToString();
         signalStrength_Input.Text = signalStrength_Disp.Text = ut.signalStrength.ToString();
         LocationDataID_Input.Text = LocationDataID_Disp.Text = ut.LocationDataID.ToString();
         
 }
Ejemplo n.º 2
0
        protected void Button2_Click(object sender, EventArgs e)
        {
            string Checkbox_Value = (string)Common.sink("Checkbox", MethodType.Post, 2000, 1, DataType.Str);
            string[] Checkbox_Value_Array = Checkbox_Value.Split(',');
            Int32 IDX = 0;
            for (int i = 0; i < Checkbox_Value_Array.Length; i++)
            {
                if (Int32.TryParse(Checkbox_Value_Array[i], out IDX))
                {
                    TelecomBaseStationEntity et = new TelecomBaseStationEntity();
                    et.DataTable_Action_ = DataTable_Action.Delete;
                    et.ID = IDX;
                    BusinessFacadeShanlitech_Location.TelecomBaseStationInsertUpdateDelete(et);
                }
            }

            EventMessage.MessageBox(1, "批量删除成功", string.Format("批量删除({0})成功!", Checkbox_Value), Icon_Type.OK, Common.GetHomeBaseUrl("default.aspx"));
        }