/// <summary> /// 初始化数据 /// </summary> /// <param name="ut"></param> private void OnStartData(MobileBaseStationEntity 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(); }
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)) { MobileBaseStationEntity et = new MobileBaseStationEntity(); et.DataTable_Action_ = DataTable_Action.Delete; et.ID = IDX; BusinessFacadeShanlitech_Location.MobileBaseStationInsertUpdateDelete(et); } } EventMessage.MessageBox(1, "批量删除成功", string.Format("批量删除({0})成功!", Checkbox_Value), Icon_Type.OK, Common.GetHomeBaseUrl("default.aspx")); }