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
Solved

First asp.net project

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Gridview selected row 9 49
Regex validation 2 28
Need help with building query string 2 22
jquery datatables, asp.net MVC 9 51
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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

837 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