
why the @#$@% does this code not work
You can however implement multiple interfaces. Of coarse you need to
implement your own code for interface members.
Alternatively, create a new control class inherited from Control. Then
create a private field of type DataSet. Then create public members that
expose the desired DataSet members.
Quote:
> VB.NET does not support Multiple inheritance:
> > Inherits Control
> > Inherits DataSet
> You must choose one or the other.
> > Imports System
> > Imports System.Web.UI
> > Imports System.Data
> > Imports System.Data.SqlClient
> > Namespace dude
> > Public Class master
> > Inherits Control
> > Inherits DataSet
> > Protected Overrides Sub Render(writer As HtmlTextWriter)
> > writer.Write("<B>joepie</b>")
> > End Sub
> > Function kweerie() As System.Data.DataSet
> > Dim connectionString As String = "server='myServer'; user
> > id='sa'; password='emptyoffcourse'; Database='myTabel'"
> > Dim sqlConnection As SqlConnection = New
> > SqlConnection(connectionString)
> > Dim queryString As String = "SELECT [myProject].* FROM
> > [mYProject]"
> > Dim sqlCommand As SqlCommand = New SqlCommand(queryString,
> > sqlConnection)
> > Dim dataAdapter As SqlDataAdapter = New
> > SqlDataAdapter(sqlCommand)
> > Dim dataSet As DataSet = New DataSet
> > dataAdapter.Fill(dataSet)
> > Return dataSet
> > End Function
> > End Class
> > End Namespace