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
|