Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Database and Reporting > dataset error


Closed Thread
 
Thread Tools Display Modes
  #1  
Old 06-14-2003, 02:08 PM
jlephew jlephew is offline
Newcomer
 
Join Date: Jun 2003
Location: Galax, Va
Posts: 1
Default dataset error


whenever I generate a new dataset from a dataadapter I get this funny message in my task list

C:\Program\dsAuction.vb(562): 'Public Property item() As String' hides a default property on a base class because 'Public Property item() As String' is not declared 'Default'. 'Shadows' assumed.

C:\Program\dsAuction.vb(562): property 'item' shadows an overloadable member declared in the base class 'DataRow'. If you want to overload the base method, this method must be declared 'Overloads'.

my program refuses to run after i generate a dataset and get this error, I've tried making a new program and have practically started from scratch but I still get this same error.

This is the code the error points to, which is vb generated code in the dsauction1 class
Code:
Public Property item As String Get Try Return CType(Me(Me.tableauction.itemColumn),String) Catch e As InvalidCastException Throw New StrongTypingException("Cannot get value because it is DBNull.", e) End Try End Get Set Me(Me.tableauction.itemColumn) = value End Set End Property


any help will be much appreciated!!!!
  #2  
Old 06-14-2003, 02:58 PM
Iceplug's Avatar
Iceplug Iceplug is offline
MetaCenturion

Retired Moderator
* Guru *
 
Join Date: Aug 2001
Location: California, USA
Posts: 16,583
Default

You should ask this .NET question and further .NET questions at our sister site http://www.dotnetforums.net/
__________________

Iceplug, USN
Quadrill 1 Quadrill 2 (full) Quadrill 3 JumpCross .NET Website is ALIVE! - DL Platform Tour for VB.NET! Posting Guidelines Hint: Specify your location in your user cp profile if you want compassion!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Direct Input and Direct Sound Waxycat Miscellaneous Languages 15 06-06-2003 11:03 AM
Kernel Driver Pogo Miscellaneous Languages 2 04-28-2003 11:12 AM
Error Handler Sample - Improvements? SnakeChomp General 5 03-08-2003 05:55 PM
On Error Goto.... erocm General 6 04-18-2002 08:13 AM
Ok another problem unsolve... Nymble Miscellaneous Languages 3 04-01-2002 07:20 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->