Solved

First asp.net project

Posted on 2011-09-02
5
200 Views
Last Modified: 2012-05-12
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
Comment
Question by:ross13
5 Comments
 
LVL 6

Expert Comment

by:c1nmo
ID: 36474835
Add columns to your database table to include the question responses.

What about storing the responses in the database?
0
 
LVL 7

Expert Comment

by:gopaltayde
ID: 36475046
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
 
LVL 7

Expert Comment

by:gopaltayde
ID: 36475055
<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
 

Author Comment

by:ross13
ID: 36475645
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
 
LVL 19

Accepted Solution

by:
Manoj Patil earned 500 total points
ID: 36477277
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question