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. .NET (Core and Framework)
  4. datagridview

datagridview

Scheduled Pinned Locked Moved .NET (Core and Framework)
question
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.
  • K Offline
    K Offline
    kulandaivel_mca2007
    wrote on last edited by
    #1

    how can i find the checkbox is checked or not..... present inside the datagridview... send me sample coding..

    B L 2 Replies Last reply
    0
    • K kulandaivel_mca2007

      how can i find the checkbox is checked or not..... present inside the datagridview... send me sample coding..

      B Offline
      B Offline
      Brij
      wrote on last edited by
      #2

      Why crosspost.This won't help anybody instead of irritating..

      Cheers!! Brij

      K 1 Reply Last reply
      0
      • B Brij

        Why crosspost.This won't help anybody instead of irritating..

        Cheers!! Brij

        K Offline
        K Offline
        kulandaivel_mca2007
        wrote on last edited by
        #3

        r u happy with ur reply

        1 Reply Last reply
        0
        • K kulandaivel_mca2007

          how can i find the checkbox is checked or not..... present inside the datagridview... send me sample coding..

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

          hi Suppose you have gridview with one checkbox named CheckBox1. You can find the checkbox control using the code

          protected void Button1_Click(object sender, EventArgs e)
          {
          foreach (GridViewRow gvRow in GridView1.Rows)
          {
          CheckBox ch = (CheckBox)gvRow.FindControl("CheckBox1");
          Response.Write(ch.Checked.ToString());
          }
          }

          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