Results 1 to 8 of 8

Thread: Dim dr As New DataRow??? [Resolved!]

Threaded View

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Question Dim dr As New DataRow??? [Resolved!]

    While practicing some datasets today, I noticed that when I was to work with a datarow, I could not do this:

    VB Code:
    1. Dim dr As New DataRow

    The tooltip said this:

    'System.Data.DataRow.Protected Sub New(builder As System.Data.DataRowBuilder)' is not accessible in this context because it is 'Protected'.
    Can someone clarify the meaning of this to me? Also, why can I not declare a new datarow? Apprently, my OO concepts really aren't that good, since I fail to understand why this was done.

    Last edited by mendhak; Jun 21st, 2004 at 06:04 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width