473,395 Members | 1,348 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

VB, vs2002-window form: how do i set property value of the DataGrid in usercontrl

Hi all ,


My datagrip is in a user control with other elements. Can I noe how do i set the datadrip's value so that i can have access to it later when i use the user control ?

:: my codes below ::
+ in my user control +
Private DataGridValue As DataSet

Property DataGridValue() As DataSet
Get
Return DataGrid1.DataSource
End Get
Set(ByVal Value As DataSet)
DataGridValue = Value
DataGrid1.DataSource = DataGridValue
End Set
End Property


+ the error message i get when i use the control +

Code generation for property '' failed. Error was :'Specified is not valid.'



Thank you in advance
May 14 '08 #1
0 773

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: thdevdex | last post by:
I recently upgraded to Visual Studio.Net 2003. I'm a bit hesitant to remove VS2002.Net in fear of the removal messing up 2003. However, I need the disk space but don't want the hassle of...
3
by: Kathy Burke | last post by:
Hi and sigh...sorry if this is considered OT, just hoping other Visual Studio users could help me with this. All of a sudden when I'm debugging (asp.net) in VS2002 my breakpoints don't work....
3
by: TLin2100 | last post by:
I have been away from .NET development for 18 months. I recently installed VisualStudio 2003. I have no trouble compiling and running new C# ASP.Net projects, but when I try to open and run one...
3
by: tshad | last post by:
I have some code that works at work but not at home. I am using VS2002 at home and get the following error: The type or namespace name 'div' could not be found (are you missing a using...
10
by: Skip | last post by:
Can anybody tell me if there is a list/discussion anywhere about possible problems/issues/differences when upgrading a desktop app from VS2002 to VS2003? I have an app that uses...
1
by: Skip | last post by:
I just converted a solution from Visual Studio 2002 to Visual Studio 2003 and was somewhat curious about the change in file sizes. The .msi install file generated by VS2002 was 264K but increased...
3
by: MSNews | last post by:
I have a requirement to use simple project files which were created on 2003 on 2002 version of .NET. This is because the customer site does not yet have 2003 but the course projects were written in...
4
by: Lenny Shprekher | last post by:
Hi, I have long time ago written windows service (VS2002) which is working fine on Windows 2000 server for 4 years. After installing service on Windows 2003 SP1 service crashing every time with...
3
by: Lenny Shprekher | last post by:
Hi, I am trying to open old VS2002 solution (windows service) under Windows 2003 SP1 but it crashes every time. However I couldn't create new blanc windows service solution too, same issue....
5
by: Just D. | last post by:
All, Who played with that? Is it possible to use VB.NET and C# projects in one solution in VS2002/2003? Or this feature appeared only in VS2005? If yes, then what kind of traps are on this way?...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.