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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. GRIDVIEW in ASP.NEt and C#

GRIDVIEW in ASP.NEt and C#

Scheduled Pinned Locked Moved ASP.NET
csharpquestioncssasp-nethelp
3 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.
  • S Offline
    S Offline
    sajitk20
    wrote on last edited by
    #1

    Dear All, i am making an inhouse software to track all contract details, right from the sanction of the contract to the implementation of the project. I have the a table named mtblcontract; Proj_No - primary key Funding Agency Sanctioned Amount Start Date End Date This above table stores the basic information of the project. I have a form where we need to enter the sanction amount details. The structure of the form is given below. Below is the sanction details for the Project_No P001 [B]Project_ No: P001[/B] S. No Head Sanctioned_Amount Estimated_Exp Profit 1 Salaries 20000 5000 5000 2. Travel 5000 2500 2500 I would want the user to enter the above details in a grid. How do i do it? I am also confused as to how to create a table (table structure: fields) to store the above data. Would be great if any one of you could help me in this.... Thanks Sajit

    P R 2 Replies Last reply
    0
    • S sajitk20

      Dear All, i am making an inhouse software to track all contract details, right from the sanction of the contract to the implementation of the project. I have the a table named mtblcontract; Proj_No - primary key Funding Agency Sanctioned Amount Start Date End Date This above table stores the basic information of the project. I have a form where we need to enter the sanction amount details. The structure of the form is given below. Below is the sanction details for the Project_No P001 [B]Project_ No: P001[/B] S. No Head Sanctioned_Amount Estimated_Exp Profit 1 Salaries 20000 5000 5000 2. Travel 5000 2500 2500 I would want the user to enter the above details in a grid. How do i do it? I am also confused as to how to create a table (table structure: fields) to store the above data. Would be great if any one of you could help me in this.... Thanks Sajit

      P Offline
      P Offline
      padmanabhan N
      wrote on last edited by
      #2

      make a template field in the grid and insert a textbox in that template field and insert the values.......

      Padmanabhan My Articles: Articles[^] My latest Article: Word Automation[^]

      1 Reply Last reply
      0
      • S sajitk20

        Dear All, i am making an inhouse software to track all contract details, right from the sanction of the contract to the implementation of the project. I have the a table named mtblcontract; Proj_No - primary key Funding Agency Sanctioned Amount Start Date End Date This above table stores the basic information of the project. I have a form where we need to enter the sanction amount details. The structure of the form is given below. Below is the sanction details for the Project_No P001 [B]Project_ No: P001[/B] S. No Head Sanctioned_Amount Estimated_Exp Profit 1 Salaries 20000 5000 5000 2. Travel 5000 2500 2500 I would want the user to enter the above details in a grid. How do i do it? I am also confused as to how to create a table (table structure: fields) to store the above data. Would be great if any one of you could help me in this.... Thanks Sajit

        R Offline
        R Offline
        Raja Soosai
        wrote on last edited by
        #3

        Hi Use Grid view to allow the user to enter the information. Access the grid row from CodeBehind and Save the Entered Data. Please use the following line to access the data grid textbox value from code behind Convert.ToString(CType(GridView1.Rows(i).FindControl("Text1"), Textbox).Text) Thanks, Raja.S

        modified on Tuesday, November 10, 2009 8:22 AM

        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