468,532 Members | 1,725 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,532 developers. It's quick & easy.

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 945

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 NPC403 | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.