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. Visual Basic
  4. insert values in datagrid

insert values in datagrid

Scheduled Pinned Locked Moved Visual Basic
databasehelp
5 Posts 3 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.
  • V Offline
    V Offline
    vivek_pon
    wrote on last edited by
    #1

    i want insert values in datagrid via textbox i m not connected datagrid to database if anybody know this please help me vivek

    G _ 2 Replies Last reply
    0
    • V vivek_pon

      i want insert values in datagrid via textbox i m not connected datagrid to database if anybody know this please help me vivek

      G Offline
      G Offline
      gharry
      wrote on last edited by
      #2

      A datagrid works only with a DataSet and you should bind this to a DataGrid.

      V 1 Reply Last reply
      0
      • V vivek_pon

        i want insert values in datagrid via textbox i m not connected datagrid to database if anybody know this please help me vivek

        _ Offline
        _ Offline
        _NinethSense_
        wrote on last edited by
        #3

        Update DataSet and bind the DataGrid PraVeeN NinethSense.com/blog/

        1 Reply Last reply
        0
        • G gharry

          A datagrid works only with a DataSet and you should bind this to a DataGrid.

          V Offline
          V Offline
          vivek_pon
          wrote on last edited by
          #4

          how can i use mshflexgrid in vb.net i have add it from com lib but it is not working like visual basic asdf

          G 1 Reply Last reply
          0
          • V vivek_pon

            how can i use mshflexgrid in vb.net i have add it from com lib but it is not working like visual basic asdf

            G Offline
            G Offline
            gharry
            wrote on last edited by
            #5

            DataBinding goes like this: Dim objDataSet As New DataSet() objCommand.Fill(objDataSet) myDataGrid.DataSource = objDataSet.Tables(0).DefaultView myDataGrid.VirtualItemCount = GetVirtualItemCount() myDataGrid.DataBind()

            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