How to implement interface's method in aspx?

Discussion in 'ASP .Net Web Controls' started by yp.yean@gmail.com, Sep 13, 2006.

  1. Guest

    Hello,

    I have a ASP.NET control with interface called "INamingRule". The
    interface structure as follows:

    public interface INamingRule
    {
    string GenerateName ();
    }

    Now I want to let ASP.NET application developers to develop their own
    naming rule by implement GenerateName() method in aspx (web
    application). I have no idea how to implement this feature in my server
    control. Could somebody can give me the suggestion?

    Thank you for any suggestion.
     
    , Sep 13, 2006
    #1
    1. Advertising

  2. Implement that Interface by Public MyClass : MyInerface

    And offcourse you have to define the the body of the methods declared
    in the inerface
     
    Savil Francis, Sep 13, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John M
    Replies:
    1
    Views:
    1,193
    Kumar Reddi
    May 29, 2005
  2. Replies:
    0
    Views:
    317
  3. Replies:
    4
    Views:
    349
    timjowers
    Nov 2, 2007
  4. mix
    Replies:
    0
    Views:
    350
  5. How to implement interface's method in aspx?

    , Sep 13, 2006, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    112
Loading...

Share This Page