protected void GetPages()
    {
        CommonFunctions objCommonFunctionsPages = new CommonFunctions();

        CBL.DataSource = objCommonFunctionsPages.GetPages(ddlModule.SelectedValue);

        CBL.DataTextField  = "Page_Name";
        CBL.DataValueField = "Page_id";
        CBL.DataBind();
    }
Example #2
0
 void Start()
 {
     if (!inst)
     {
         inst = this;  DontDestroyOnLoad(this.gameObject);
     }
     else
     {
         if (inst != this)
         {
             Destroy(this.gameObject);
         }
     }
 }