GRIDVIEW in ASP.NEt and C#
-
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
-
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
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[^]
-
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
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