Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. GridView + TextBox and Button Control [modified]

GridView + TextBox and Button Control [modified]

Scheduled Pinned Locked Moved C#
cssdatabase
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    It_tech
    wrote on last edited by
    #1

    Hi All, I was wondering to create the above three controls at a time.My Grid is attached with a Table from a database. Every time an Entry is made on the table I want the Gridview and a textbox and a Button to be created. For any entry on the table i would like a gridview which contains a databound textbox ,Text box which is not dataBound and a button control. If for instance i have three records on a Table then we have a gridview which is got three textbox to reflect data and also other three blank textbox and three Buttons side by side. Thanks for your time. Many thanks

    modified on Wednesday, February 17, 2010 6:26 AM

    L 1 Reply Last reply
    0
    • I It_tech

      Hi All, I was wondering to create the above three controls at a time.My Grid is attached with a Table from a database. Every time an Entry is made on the table I want the Gridview and a textbox and a Button to be created. For any entry on the table i would like a gridview which contains a databound textbox ,Text box which is not dataBound and a button control. If for instance i have three records on a Table then we have a gridview which is got three textbox to reflect data and also other three blank textbox and three Buttons side by side. Thanks for your time. Many thanks

      modified on Wednesday, February 17, 2010 6:26 AM

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Just create new columns from type DataGridViewTextBox and DataGridViewButton. If someone create a new row, then textbox and button will automatically created.

      I 2 Replies Last reply
      0
      • L Lost User

        Just create new columns from type DataGridViewTextBox and DataGridViewButton. If someone create a new row, then textbox and button will automatically created.

        I Offline
        I Offline
        It_tech
        wrote on last edited by
        #3

        Thanks so much its Much appreciated.The textbox and Button are not databind only the one in Gridview has a data from the table.It will be great if you can show me an example. Many thanks

        I 1 Reply Last reply
        0
        • I It_tech

          Thanks so much its Much appreciated.The textbox and Button are not databind only the one in Gridview has a data from the table.It will be great if you can show me an example. Many thanks

          I Offline
          I Offline
          It_tech
          wrote on last edited by
          #4

          Are you there? How Can I create textBox and a Button which is not Databind in a GridView? Regards

          1 Reply Last reply
          0
          • L Lost User

            Just create new columns from type DataGridViewTextBox and DataGridViewButton. If someone create a new row, then textbox and button will automatically created.

            I Offline
            I Offline
            It_tech
            wrote on last edited by
            #5

            Hi There, Thanks for your answer.Your answer doesnt make sense.So could you please dont reply if you cant explain what you mean. It will Block others from Posting their view. Many thanks

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups