Пример #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        var id = Request["ID"];

        Item     = string.IsNullOrEmpty(id) ? new LaiXe() : LaiXeDal.SelectById(Convert.ToInt32(id));
        Add.Item = Item;
    }
Пример #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     var id = Request["ID"];
     Item = string.IsNullOrEmpty(id) ? new LaiXe() : LaiXeDal.SelectById(Convert.ToInt32(id));
     Add.Item = Item;
 }