Wrox Home  
Search P2P Archive for: Go

  Return to Index  

ado_dotnet thread: Accessing values in usercontrol


Message #1 by "yvonne" <yvonne.dickson@p...> on Tue, 12 Mar 2002 17:07:18
Hi all,



Having bother accessing values in a usercontrol.



using c#, I am adding and removing a user control to a web form.



However, I cannot get the values of the controls within the usercontrol 

and achieving the error below:



The type or namespace name 'control' could not be found (are you missing a 

using directive or an assembly reference?)



Can anyone help, I have done this in VB.  What am I doing wrong in C#



Cheers

Message #2 by "Martin Reeve" <mbreeve@r...> on Tue, 12 Mar 2002 17:27:43
It looks like a case-sensitivity problem to me, particularly as it worked 

in VB. Try a capital 'C' in control.



Martin Reeve



> Hi all,

> 

> Having bother accessing values in a usercontrol.

> 

> using c#, I am adding and removing a user control to a web form.

> 

> However, I cannot get the values of the controls within the usercontrol 

> and achieving the error below:

> 

> The type or namespace name 'control' could not be found (are you missing 

a 

> using directive or an assembly reference?)

> 

> Can anyone help, I have done this in VB.  What am I doing wrong in C#

> 

> Cheers


  Return to Index