471,601 Members | 1,677 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,601 software developers and data experts.

Referencing two Datatables from a datalist

I'm in serious need of help.
I have a datalist that will list a number of 'Agents'. When the user selects
the edit button of my datalist, I put it into edit mode. When putting the
datalist into edit mode I need to load the controls that I have placed
inside the 'EditItemTemplate' section of the datalist. I cannot, however do
this as I can't seem to find the controls. I have tried using
datalist.findcontrol(datalist.edititemindex) and so on.

Is there also no way of binding the 'listing' portion of the datalist
control to one datatable and the edit item section of the datalist to
another datatable so that when I select an agent, it will use the agent's ID
and search all his magazines and place them into the edititem template
section. (these are my two tables by the way, 1 agent has many magazines...)
Nov 19 '05 #1
0 1004

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

16 posts views Thread by PromisedOyster | last post: by
2 posts views Thread by Alex S Moore | last post: by
6 posts views Thread by Paul | last post: by
3 posts views Thread by Mirek Endys | last post: by
1 post views Thread by WB | last post: by
1 post views Thread by =?Utf-8?B?TmVpbCBTdGV2ZW50b24=?= | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.