Beispiel #1
0
 private void InitialDataPopup()
 {
     if (ViewState["colorTypeId"] != null)
     {
         var cmd = new TraceryService();
         _colorType = cmd.Select(Convert.ToInt32(ViewState["colorTypeId"].ToString()));
         if (_colorType != null)
         {
             popTxtColorTypeName.Text    = _colorType.COLOR_TYPE_NAME;
             popTxtColorTypeSubName.Text = _colorType.COLOR_TYPE_SUBNAME;
             flag.Text = "Edit";
         }
     }
 }