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. Reading & Modifying data grid cell entries

Reading & Modifying data grid cell entries

Scheduled Pinned Locked Moved ASP.NET
csharpcssasp-nettutorial
3 Posts 2 Posters 1 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
    ashutosh_karna
    wrote on last edited by
    #1

    Hi, I am trying to make a spreadsheet in asp.net wherein, the user can enter some data and I display results for one of my methods( say Average, Standard deviation etc,). Can anybody please guide me how I read data from spreadsheet at runtime & then pass these data as parameter to my methods. e.g public static double Sum( double [] data) { double sum =0.0; for(int i=0;i

    B 1 Reply Last reply
    0
    • A ashutosh_karna

      Hi, I am trying to make a spreadsheet in asp.net wherein, the user can enter some data and I display results for one of my methods( say Average, Standard deviation etc,). Can anybody please guide me how I read data from spreadsheet at runtime & then pass these data as parameter to my methods. e.g public static double Sum( double [] data) { double sum =0.0; for(int i=0;i

      B Offline
      B Offline
      Baran M
      wrote on last edited by
      #2

      you can edit like this, double d = 0; GridView1.Rows[0].Cells[1].Text = "22.7"; d = Convert.ToDouble( GridView1.Rows[0].Cells[1].Text); Now call sum function.

      B 1 Reply Last reply
      0
      • B Baran M

        you can edit like this, double d = 0; GridView1.Rows[0].Cells[1].Text = "22.7"; d = Convert.ToDouble( GridView1.Rows[0].Cells[1].Text); Now call sum function.

        B Offline
        B Offline
        Baran M
        wrote on last edited by
        #3

        try this also[^]

        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