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. How to create these GridViews?

How to create these GridViews?

Scheduled Pinned Locked Moved ASP.NET
questioncsharpasp-nettutorial
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.
  • S Offline
    S Offline
    shapper
    wrote on last edited by
    #1

    Hello, I created 2 GridViews, A and B. I created 2 datasets from Asp.Net 2.0 profile data. Each GridView has a Bound Field and a Button Field. When a button on GridView A is clicked the following should happen: 1. Copy the Row to GridView B 2. Delete the Row from GridView A Finally, I have a button which would get the data from GridView A and GridView B. What is the best way to create this? And is GridView the best way to do this? Thanks, Miguel

    N 1 Reply Last reply
    0
    • S shapper

      Hello, I created 2 GridViews, A and B. I created 2 datasets from Asp.Net 2.0 profile data. Each GridView has a Bound Field and a Button Field. When a button on GridView A is clicked the following should happen: 1. Copy the Row to GridView B 2. Delete the Row from GridView A Finally, I have a button which would get the data from GridView A and GridView B. What is the best way to create this? And is GridView the best way to do this? Thanks, Miguel

      N Offline
      N Offline
      Naveed Kamboh
      wrote on last edited by
      #2

      I am not sure if its possible without javascript to handle at client side. GrdiView is a server control it means you have to play with database. Best way to me is create tables in databae and then play with data. and delete or copy in between tables or use XML files whatever appeals you. Also you can use Ajax updatepanel so it will look like that its not communicating with server or refresing pages at client side. Personally I'll not suggest you to use ajax while doing these operartions untill unless you are happy with the operations.

      Naveed Kamboh Complexity kills, Write easy code for your self. isolutionteam

      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