Solved

First asp.net project

Posted on 2011-09-02
5
204 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

691 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