protected void Page_Load(object sender, EventArgs e) { int ID = 0; int.TryParse(Request.QueryString["ID"], out ID); if (ID > 0) { var data = CarrierGroup.GetCarrierGroup(ID); if (data != null) { SetInfo(data); } } }
private void SetInfo(CarrierGroup data) { this.tdCarrierGroupName.Value = data.CarrierGroupName; }