Forms Like Excel Sheet

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • romcab
    New Member
    • Sep 2007
    • 108

    Forms Like Excel Sheet

    Hi guys,

    I just want to ask your idea how to create a form that looks like a simple excel sheet. A new row will be added when the last row is filled up. My idea is to use TableLayoutpane l and add textbox on it. Then a thread will run to check if the last row is filled. Any other idea? thanks..
  • joedeene
    Contributor
    • Jul 2008
    • 579

    #2
    you could just use a reference from microsoft excel object library, and work with that, here's a tutorial on that if you're interested.

    Learn the basics of programming interactive websites using AJAX (Asynchronous JavaScript and XML) Technologies. See how your site can be more responsive to users with the XmlHttpRequest object.

    Comment

    • romcab
      New Member
      • Sep 2007
      • 108

      #3
      Originally posted by joedeene
      you could just use a reference from microsoft excel object library, and work with that, here's a tutorial on that if you're interested.

      http://www.dynamicajax.com/fr/Creati..._DOT_NET-.html

      hi...

      Thanks you...But I do'nt need to manipulate an excel. Maybe my title is not appropriate. What i want is just to create a table similar to that. What i want to implement is similar to adding a table in MSword, it automatically add a new row everytime we input tab.

      Comment

      • nev
        Contributor
        • Oct 2007
        • 251

        #4
        I think you can use the datagridview.

        Comment

        • romcab
          New Member
          • Sep 2007
          • 108

          #5
          Originally posted by nev
          I think you can use the datagridview.
          Can I use it even without a datasource? What i want is to provide a user a table where the user can add/edit data and a new row will be dynamically added when the last row is filled.

          Comment

          • Curtis Rutland
            Recognized Expert Specialist
            • Apr 2008
            • 3264

            #6
            As far as I know, you can't use it without some datasource, but that datasource can be a DataTable with an empty row.

            Comment

            Working...