protected void GetPages() { CommonFunctions objCommonFunctionsPages = new CommonFunctions(); CBL.DataSource = objCommonFunctionsPages.GetPages(ddlModule.SelectedValue); CBL.DataTextField = "Page_Name"; CBL.DataValueField = "Page_id"; CBL.DataBind(); }
void Start() { if (!inst) { inst = this; DontDestroyOnLoad(this.gameObject); } else { if (inst != this) { Destroy(this.gameObject); } } }