[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

First asp.net project

Hi,

I was wondering if someone is able to help. This is my first asp.net application and I am trying to create a web page that lists each of our company’s crystal reports. This is basically a questionnaire that I will send to staff members within the company and they can then give feedback on reports.
I have managed to create a query via ODBC to fill a datagrid and have linked it to a datagridview. This currently just contains a list of reports but I need to add in additional columns that have either radio buttons or drop down boxes (Please see below):
ColoumnReportName            Question1            Question2            Question3
Report1                  Drop down Box            Radio Buttons            CheckBox
Report2                  Drop down Box            Radio Buttons            CheckBox
Report3                  Drop down Box            Radio Buttons            CheckBox
Report4                  Drop down Box            Radio Buttons            CheckBox

Any assistance on adding controls such as the ones mentioned as options for each of the cells would be appreciated.
I expect to be then able to create a button at the bottom of the page which has a send button. I will format the table into html and email me the results from the user.
Regards,

Ross
0
ross13
Asked:
ross13
1 Solution
 
c1nmoCommented:
Add columns to your database table to include the question responses.

What about storing the responses in the database?
0
 
gopaltaydeCommented:
Why not to use gridview? ItemTemplateFilelds & TemplateColumns can accommodate any controls.
Let me know if you are looking for the same thing, so that I can provide more information on how to use these
0
 
gopaltaydeCommented:
<asp:GridView ID="GridView1" runat="server">
    <Columns>
    <asp:TemplateField>
        <ItemTemplate>
                <asp:DropDownList ID="lst" runat="server"></asp:DropDownList>
        </ItemTemplate>
    </asp:TemplateField>
    </Columns>
</asp:GridView>
0
 
ross13Author Commented:
The gridview sounds good. If you can let me know the best way to add a control for each cell that would be great.

Thanks
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now