Solved

First asp.net project

Posted on 2011-09-02
5
198 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now