how to pass dynamic value to property in usercontrol

M

moid

how to pass dynamic value to property in usercontrol

im using this but its not working
<uc1:BusinessUnit id="BusinessUnit1" Type='<%# type %>' POID='<%# poid %>'
runat="server"></uc1:BusinessUnit>
 
J

John Timney \(Microsoft MVP\)

Try adding it into your code like this

BusinessUnit1.Type="WHATEVER"

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top