C# how to Create dll same as these codes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DAnDA
    New Member
    • Jun 2007
    • 35

    C# how to Create dll same as these codes

    i want to create a dll file and put below codes within

    public OrdersItem OrdersItem { get; set; }
    public List<OrdersItem > OrdersList { get; set; }
    public DataSet GetDataSet(stri ng Column, string Value);
    public DataTable GetDataTable();
    public DataTable GetDataTable(in t NumRows, bool FromEnd);
    public DataTable GetDataTable(in t FirstRow, int LastRow);
    public DataTable GetDataTable(st ring Column, string Value);

    how should i type these codes in my Class Library to see them Same,,, after compile ,,,dont use abstract Please

    Thanks
  • DAnDA
    New Member
    • Jun 2007
    • 35

    #2
    C# how to Create dll same as these codes

    i want to create a dll file and put below codes within

    public OrdersItem OrdersItem { get; set; }
    public List<OrdersItem > OrdersList { get; set; }
    public DataSet GetDataSet(stri ng Column, string Value);
    public DataTable GetDataTable();
    public DataTable GetDataTable(in t NumRows, bool FromEnd);
    public DataTable GetDataTable(in t FirstRow, int LastRow);
    public DataTable GetDataTable(st ring Column, string Value);

    how should i write these codes in Class Library to them arrange Same after compile ,,

    Thanks

    Comment

    • DAnDA
      New Member
      • Jun 2007
      • 35

      #3
      C# how to Create dll same as these codes

      Hey
      i want to create a dll file and put below codes within

      public OrdersItem OrdersItem { get; set; }
      public List<OrdersItem > OrdersList { get; set; }
      public DataSet GetDataSet(stri ng Column, string Value);
      public DataTable GetDataTable();
      public DataTable GetDataTable(in t NumRows, bool FromEnd);
      public DataTable GetDataTable(in t FirstRow, int LastRow);
      public DataTable GetDataTable(st ring Column, string Value);

      how should i write these codes in Class Library to they arrange Same after compiled ,,

      Thanks

      Comment

      • kenobewan
        Recognized Expert Specialist
        • Dec 2006
        • 4871

        #4
        Are you using visual studio?

        Comment

        • DAnDA
          New Member
          • Jun 2007
          • 35

          #5
          Originally posted by kenobewan
          Are you using visual studio?

          Using Visual Studio 2005

          Just Giude me with some instance code,,,i`m waiting

          Thanks

          Comment

          • kenobewan
            Recognized Expert Specialist
            • Dec 2006
            • 4871

            #6
            So what happened when you published the application? This is server side code no one is going to see it, just as no one is going to see the functions. The only way that I can think of is to response write them. Where do you want them displayed?

            Comment

            • DAnDA
              New Member
              • Jun 2007
              • 35

              #7
              Originally posted by kenobewan
              So what happened when you published the application? This is server side code no one is going to see it, just as no one is going to see the functions. The only way that I can think of is to response write them. Where do you want them displayed?
              Look ,,,i saw these codes in a dll file,,,i want to know how these codes writed in C# Class library,,, for example:

              public DataTable OrdersTable { get; set; } writed like below code in class library

              private DataTable _OrdersTable

              public DataTable OrdersTable
              {
              get { return _OrdersTable; }
              set { _OrdersTable = value; }
              }

              now i want to know public DataSet GetDataSet(stri ng Column, string Value);
              how writed or public List<OrdersItem > GetList(); how writed

              sorry i cant explain more im newbie in C#

              Thanks Anyway

              Comment

              Working...