.NET Framework 2.0: VB Class can't access UserControl?

A

Antonio Ooi

Hi,

I was trying out the VS .NET 2005 Express Edition Beta. I found that the
Public Class which appears as the code-behind for my UserControl has no
longer accessible from my VB Class. For example, I can no longer do this in
my VB Class:

Public Function SomeFunction(...) As Object
Dim UC1 As MyUserControl
:
UC1.DataSource = ADataView
UC1.DataBind()

Return UC1
End Function

Where my VB Class is not the code-behind of any Web Form. Please help.
Thanks in advance!

Regards,
Antonio
 

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

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top