private void ShowInfo(int Id) { RuRo.BLL.QueryRecoder bll=new RuRo.BLL.QueryRecoder(); RuRo.Model.QueryRecoder model=bll.GetModel(Id); this.lblId.Text=model.Id.ToString(); this.lblUname.Text=model.Uname; this.lblAddDate.Text=model.AddDate.ToString(); this.lblLastQueryDate.Text=model.LastQueryDate.ToString(); this.lblCode.Text=model.Code; this.lblCodeType.Text=model.CodeType; this.lblQueryType.Text=model.QueryType; this.lblQueryResult.Text=model.QueryResult; }
private void ShowInfo(int Id) { RuRo.BLL.QueryRecoder bll = new RuRo.BLL.QueryRecoder(); RuRo.Model.QueryRecoder model = bll.GetModel(Id); this.lblId.Text = model.Id.ToString(); this.txtUname.Text = model.Uname; this.txtAddDate.Text = model.AddDate.ToString(); this.txtLastQueryDate.Text = model.LastQueryDate.ToString(); this.txtCode.Text = model.Code; this.txtCodeType.Text = model.CodeType; this.txtQueryType.Text = model.QueryType; this.txtQueryResult.Text = model.QueryResult; this.chkIsDel.Checked = model.IsDel; }
private void ShowInfo(int Id) { RuRo.BLL.QueryRecoder bll = new RuRo.BLL.QueryRecoder(); RuRo.Model.QueryRecoder model = bll.GetModel(Id); this.lblId.Text = model.Id.ToString(); this.lblUname.Text = model.Uname; this.lblAddDate.Text = model.AddDate.ToString(); this.lblLastQueryDate.Text = model.LastQueryDate.ToString(); this.lblCode.Text = model.Code; this.lblCodeType.Text = model.CodeType; this.lblQueryType.Text = model.QueryType; this.lblQueryResult.Text = model.QueryResult; this.lblIsDel.Text = model.IsDel?"是":"否"; }
private void ShowInfo(int Id) { RuRo.BLL.QueryRecoder bll=new RuRo.BLL.QueryRecoder(); RuRo.Model.QueryRecoder model=bll.GetModel(Id); this.lblId.Text=model.Id.ToString(); this.txtUname.Text=model.Uname; this.txtAddDate.Text=model.AddDate.ToString(); this.txtLastQueryDate.Text=model.LastQueryDate.ToString(); this.txtCode.Text=model.Code; this.txtCodeType.Text=model.CodeType; this.txtQueryType.Text=model.QueryType; this.txtQueryResult.Text=model.QueryResult; this.chkIsDel.Checked=model.IsDel; }