ASP.NET Web Controls >> class

by zerdust » Tue, 19 Aug 2003 19:17:45 GMT

I use IE controls for treeview in C# and i want to make class ans use it but
I don't know which class structer and metodh's I have to use. does anyone
have a sample?



Similar Threads

1. static classes, nested class, public class - CSharp/C#

2. Getting a reference to the base class of a base class from an inherited class

Is there any way to get a reference to the base class of a base class from
an inherited class? I need to call an overriden method.

Any help would be much appreciated.


3. ArrayList Class Vs. List Generic Class

4. Cast Parent class object as Child class object

Hello,

I am writing a class library in vb.net that does all the 
data access for my application.  The way this library 
works is that there is a class for each table in the 
database.  Since many of these classes have some 
functionality that is the same such as updating and 
deleting I created a general parent class called 
MDALObject that initializes that object with a records 
data.

Now my program after accessing the db, creates objects of 
type MDALObject and passes that to my app.  My app then 
tries to cast that MDALObject into a specific table 
object say Table1.

I got this error:

Specified cast is not valid.

If my table object inherits from the MDALObject then I 
should be able to cast the mdalobject as its child class 
object.

Is that not allowed in .net?

5. Classes and Nested Classes

6. assign a base class to a derived class

Could I get a comment how to assign a base object to a derived object?
Thanks, Mitja Semolic

  public class B : A
  {
    public B: base()
    {}

    static void main()
    {
      // throws an exception 'System.InvalidCastException'
      B derived = (B) new A();
    }
  }


7. Hiding the public members of a class without modifying the CLASS

8. How do I Implements Parent class interface in child class