private int UpdateData()
        {
            int SkinPackage_ID = Convert.ToInt32(ddlPackageList.SelectedValue);

            /*** UPLOAD *************************************************************************************************************/
            HttpPostedFile File_ControlSrc = FileInput.PostedFile;
            string ControlSrc = "";
            if ((File_ControlSrc != null) && (File_ControlSrc.ContentLength > 0))
            {
                ControlSrc = System.IO.Path.GetDirectoryName(File_ControlSrc.FileName);
            }
            else
            {
                ControlSrc = txtControlSrc.Text;
            }
            /************************************************************************************************************************/

            Skin skin_obj = new Skin();
            int i = skin_obj.Update(_idx, SkinPackage_ID, ControlSrc);
            return i;
        }
 public ModuleHost(ModuleInfo moduleConfiguration, Skin skin)
 {
     _ModuleConfiguration = moduleConfiguration;
     _Skin = skin;
     ID = "ModuleContent";
 }
        private void LoadData()
        {
            Skin skin_obj = new Skin();
            DataTable dt = skin_obj.GetDetails(_idx);

            string ControlSrc = dt.Rows[0]["ControlSrc"].ToString();
            txtControlSrc.Text = ControlSrc;
            txtControlSrc.Visible = true;

            string ApplicationId = dt.Rows[0]["ApplicationId"].ToString();
            LoadApplicationList2DDL(ApplicationId);

            string SkinPackage_ID = dt.Rows[0]["SkinPackage_ID"].ToString();
            LoadPackageList2DDL(SkinPackage_ID);

            string SkinType = dt.Rows[0]["SkinType"].ToString();
            LoadSkinTypeList2DDL(SkinType);
        }