2 WebBusiness Source and 1 Business Object


Author
Message
Tony Charpentier
Tony Charpentier
StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)StrataFrame Beginner (38 reputation)
Group: StrataFrame Users
Posts: 10, Visits: 81
Hello

i would like to know if it's possible to start 2 query for my WebBusiness Source with
the Same Business Object.


In the webForm i have this code :

 <SFWeb:WebBusinessBindingSource runat="server" ID="WbAGENDA" BusinessObjectName="oAgendaBo" EnableViewState="true"></SFWeb:WebBusinessBindingSource>
 <SFWeb:WebBusinessBindingSource runat="server" ID="WbTACHE" BusinessObjectName="oAgendaBo"></SFWeb:WebBusinessBindingSource>

And side the behond code :

i have this :

  protected void Page_Load(object sender, EventArgs e)
        {
            if (! this.Page.IsPostBack) {
                this.LoadMess();
                this.LoadAgenda();
            }
       }


 protected void LoadAgenda(){
            this.oAgendaBo.FillData("agd_date","tac_id=5 " agd_date_maj desc","");
        }

        protected void LoadTache(){
            this.oAgendaBo.FillData("agd_date","tac_id = 2," agd_date_maj desc","");
        }


in WbAgenda and WbTache i have the last Query , it's last query to take over the first.

thanks


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search