DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Fri, 3 Aug 2007 16:00:31 +0100,    posted on: microsoft.public.dotnet.framework.windowsforms.designtime        back       

Thread Index
  1    Nick Locke


Parameters to "New" in VB   
Hello,

I am building a user control (in VB .NET 2005).  It will end up with two 
data sources.  One of those will hold a single row which will populate a set 
of text boxes.  The other data source will return a number of rows which 
will feed a DataGridView.

My challenge is that both underlying queries require a parameter to limit 
the records retrieved.  So, I need to find a way to make the user control 
insist that it is given a parameter to its New method.  As the code is 
autogenerated when I drag the control onto a Window, I'm struggling.

Clues welcome.  Thanks.
Date:Fri, 3 Aug 2007 16:00:31 +0100   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us