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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Any body master in Datagrid please Help me...

Any body master in Datagrid please Help me...

Scheduled Pinned Locked Moved Visual Basic
helpcsstutorial
2 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
    irshu
    wrote on last edited by
    #1

    Any body master in Datagrid please Help me... Datagrid Problem Hello can any body help I have a grid which contains textboxes in it, Can any body help as how to add a new row of blank text boxes within the grid when a button is clicked Thanks in Advance Irsh

    R 1 Reply Last reply
    0
    • I irshu

      Any body master in Datagrid please Help me... Datagrid Problem Hello can any body help I have a grid which contains textboxes in it, Can any body help as how to add a new row of blank text boxes within the grid when a button is clicked Thanks in Advance Irsh

      R Offline
      R Offline
      ramaseb
      wrote on last edited by
      #2

      Hi.. I assume that your datagrid has a datasource / datamember one table from a dataset. if you add a new row to your table then the grid will show the new row as empty textboxes example 'we asume that you have already a dataset ( named dataset1 ) and in the dataset is a table ( named table1 ). private sub addrow Dim newrow As DataRow newrow = DataSet1.Tables("table1").NewRow DataSet1.Tables("table1").Rows.Add(newrow) end sub this sub adds a row to your table and this row must be shown in the binded datagrid as empty textboxes. Hope i helped you. Ramaseb.

      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