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. Web Development
  3. ASP.NET
  4. gridvie

gridvie

Scheduled Pinned Locked Moved ASP.NET
database
4 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.
  • A Offline
    A Offline
    Abubakar Shaikh
    wrote on last edited by
    #1

    how could we insert data into Gridview and then into database.

    abubakar

    S A 3 Replies Last reply
    0
    • A Abubakar Shaikh

      how could we insert data into Gridview and then into database.

      abubakar

      S Offline
      S Offline
      Sandeep Mewara
      wrote on last edited by
      #2

      There are lots of articles on web sharing on how grid can be used. To start with, one such article: GridView all in one[^] Try and post specific issue.

      Sandeep Mewara Microsoft ASP.NET MVP [My latest Article]: Server side Delimiters in ASP.NET[^]

      1 Reply Last reply
      0
      • A Abubakar Shaikh

        how could we insert data into Gridview and then into database.

        abubakar

        A Offline
        A Offline
        archifux
        wrote on last edited by
        #3

        here it i body disconnected way SqlConnection sqlcon = new SqlConnection("server=.;database=tabakus;Trusted_connection=true"); SqlDataAdapter da = new SqlDataAdapter("select * from musteri",sqlcon); DataTable dt = new DataTable(); da.Fill(dt); GridView1.DataSource = dt; GridView1.DataBind();

        1 Reply Last reply
        0
        • A Abubakar Shaikh

          how could we insert data into Gridview and then into database.

          abubakar

          A Offline
          A Offline
          archifux
          wrote on last edited by
          #4

          by the way you better writw the connection string in webconfig ofcourse as soon as you dont want to get trouble

          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