Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello,

 

I have a datalist container on one page and i have two datalist containers on the desitation page. By passing the IDDepartment Parameter it populates a datalist on the receiving page; however i now find myself needing to seperate the information that is in one datalist on the receiving page into two (AND SO ON) datalist so that i may more define the information that is in each list, and prepare it for the next desitation page.

I have run into this type of problem before and i keep working around it untill i am faced with it again.

I am not sure if i am even asking this correctly; however, my overall goal here is to set up the Databinder.Eval to where i can pass more than one parameter. Or would this be done in code some way?

 

 

The reason that i am wanting to pass more than one paramete is because the IDDepartment has a relation to all of the prodcuts; however, the IDCompany does not. I am wanting the IDCompany to be the decision maker to what product gets into which datalist.

 

* Any suggestions on this would be awsome, because i keep running into this problem and there has to be a way to do this.

 

Thanks,

Erik

 

 

 

 

From the page that i have one datalist container, is it possiable to pass more than one Parameter?

===========================================================

 

Below where it says IDDepartment= how would i add another Parameter to pass here?

 

<a href='WindowTreatment_Home.aspx?IDDepartment=<%# DataBinder.Eval(Container.DataItem, "DepartmentID") %>'>

 

***I know this is not right but is there a way to seperate the variables?

LIKE-----> IDDepartment,IDCompany=

 

 

========================================================

Posted

<a href='WindowTreatment_Home.aspx?IDDepartment=<%# DataBinder.Eval(Container.DataItem, "DepartmentID") %>&IDCompany=<%# DataBinder.Eval(Container.DataItem, "CompanyID") %>'>

 

Or you can create a Link Button and have your code-behind form add as many variables you like

wayne

 

The Road Goes on Forever and the Party Never Ends - Robert Earl Keen

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...