How To Build Flexible Web Forms

Dec 13, 2010

I'm using asp.net and I need to build an application where we can easily create forms without recreating the database, and preferably without changing the create/read/update/delete queries. The goal is to allow customers to create their own forms with dropdowns, textboxes, checkboxes, even many-to-one relationship to another simple form (that's stretching it). The user does not have to be able to create the forms themselves, but I don't want to be adding tables, fields, queries, web page, etc. each time a new form is requested/modified.

1) How do I structure a flexible database to do this (in SQL Server)? I can think of two ways: a) Create a table for each datatype (int, varchar(x), smalldatetime, bit, etc). This would be very difficult to create the adequate queries. b) Create the form table with lots of extra fields and various datatypes in case the user needs 5 integers or 5 date fields. This seems the easiest, but is probably pretty inefficient use of space.

2) How do I build the forms? I thought about creating an xml sheet that had the validations, data type, control to display, etc. as a list. Then I would parse through the xml to build the form on the fly. Probably using css to do the layout (that would have to be manual, which is ok). Is there a better/best way? Is there something out there that I could look at to get ideas?

View 3 Replies


Similar Messages:

How To Make The Website Design More Flexible

Jan 19, 2011

I wanna to ask the following question about the design of any web application.

when maximizing ,, minimizing , zooming the browser ,, i note many problems happen to my web application design for example the horizontal menu like the one exists in SO site when minimizing the window the items of the menu in my website go down the other .. and other things make the site sucks and distracts the design .. how to make the design more flexible with the changes in monitor size , the preferences of the browser , maximizing ,and minimizing the browser ,, how to make the site design more flexiable about all those issues .

View 3 Replies

Forms Data Controls :: Which Flexible Data Component Using For Multiple Repeat Columns

Jul 26, 2010

I have three column and I need to flexible data listing not like datagrid.

which data component can I use?[URL]

View 4 Replies

Web Forms :: Build Survey System Where Build A Form With Questions And Some Answers?

May 25, 2010

I want to build a survey system where you can build a form with questions and some answers to these questions and then members who will log in will be able to take the test.

Then i want to present the different results from the test in some diagram or something like that.

View 5 Replies

C# - Prevent GridView Saving Data From Build To Build In Visual Studio?

Apr 1, 2011

I have a question regarding a situation that occurs with GridView, ObjectDataSource in ASP .NET application. The GridView is linked to the ObjectDataSource and both are included within an UpdatePanel letting the GridView to fill in an asynchronous way from a form in the same page so it gets more rows as the user enters the data:

<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="ObjectDataSource1">
<Columns>
<asp:BoundField DataField="Name" HeaderText="Name" ReadOnly="True"
SortExpression="Name" />
<asp:BoundField DataField="Periodicty" HeaderText="Periodicty" ReadOnly="True"
SortExpression="Periodicty" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
SelectMethod="GetSessionNames" TypeName="Simulation"></asp:ObjectDataSource>
<asp:Label ID="Label27" runat="server" Text="Label"></asp:Label>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="NewWebSessionButton" EventName="Click" />
</Triggers>
</asp:UpdatePanel>

I start the project with Visual Studio 2008, fill the form and it works correctly. Then I stop the execution: rerun again and the data I entered in the previous run is in the GridView. Is like some sort of cache saved the data from the session before. I checked that EnableCaching property is set to false for the ObjectDataSource. If I Rebuild Web Site in Visual Studio (not just Build) then it works corretly leaving the GridView empty. Is this caused just becuase of Visual Studio? Can it be turned off? And will it happen in the final IIS it will run on?

View 1 Replies

What Is Difference Between Build Solution And Build Website

Mar 11, 2010

It may be obvious to everyone. I am learning this: what is difference between build solution and build website

View 2 Replies

Build Tool Which Can Build A Web App Into Multiple Dlls?

Sep 22, 2010

I have a large solution which has multiple apps which all share some common site elements (masterpages, navigation, etc).

Currently, all of these get built into a single DLL

If my structure looks like:

WebRoot
- Common/
- Shared/
- Images/
- App1/
- App2/
- etc

Is there a build tool which will allow me to build WebRoot.dll, App1.dll, App2.dll? I don't believe this is possible in VS2008 or the MSBuild tool.

View 2 Replies

How To Specify A Direct Build Name Directory Using TFS Build Of .net Web Application

May 11, 2010

I have a TFS build set up to deploy an ASP.net project to a test server.The build works great, and deploys to the test server fine, but instead of putting it into the Website directory that my IIS webserver is configured for, it puts the build into Website_20100511.6

Why is the date suffixed to the directory name? Is there a way to turn that off so I can publish directly to the Website?

View 1 Replies

Need To Build Web Application That Will Do:1 - Build Web Pages?

Jan 15, 2011

I need to build web application that will do:1 - build web pages. 1a - build template for page. 2 - add module(by module I mean ContacUs form, Search, Billing System...). Each module can be constructed by submodules or diveded to submodules 2a - build module(add form, textbox, button...) and that all
entered data by user could be saved in dbCan you advise me a DB structure that will contain it allI looked some cms db, but it's NOT this. Please, don't ask why I mess with it. I just need to build it.

View 2 Replies

Web Forms :: How To Build Site Map

Sep 7, 2010

I have an application that consists of 10 pages. But those pages work with query string, those values iam getting from db. For this type of situation how can i build a sitemap. Those values are not fixed those may be increase.

View 3 Replies

Build And Save Forms Dynamically

Nov 26, 2010

In a pluggable architecture for asp.net mvc, i need to build a form where any plug-in can add its form elements to a form through application wide events. When the form is submitted back to server, values of elements must be saved by relevant plug-in which added the form elements. how to build and save forms like that?

View 1 Replies

Web Forms :: Build Menus From Sitemap?

May 28, 2010

Is there a way to have 2 different menus that have their items populate from 2 separate sitemap datasources?

Currently I have one menu that is populating correctly from one sitemap. I would like to remove some items from this menu and have them in another menu positioned somewhere else on my page. How can I make this second menu populate these items from a seperate datasource?

View 4 Replies

Web Forms :: Build Web Sites By Using Asp Design

Jul 8, 2010

iam c# learner and i know about c# a little but i can use just desing of asp.net not source cuz i didnot know asp.net tags well .will i get problem if i begin bulid web sites by using design and i build the below page and add some code to the button

View 2 Replies

Web Forms :: Set Assembly Build Path?

May 18, 2010

Am using dynamic loading of dlls. Am using "Assembly.Load(AssemblyName)". But this looks for the dll in the path

"F:Program FilesMicrosoft Visual Studio 9.0Common7IDE"

I want to set it as local bin folder as it can automatically fetch from the local project. How do i do it.

View 3 Replies

Web Forms :: Build A Strong Web Crawler?

Oct 6, 2010

I would like to state literally that I really do not want to reinvent the wheel, but as you know some times we get some unique "Must-requirement(s)" that will hinder us to re-use the open source codes.I want a proper, flawless and consistent Web Crawler. Basically, I want this Crawler (As a Web app NOT desktop app - Of course based on asp.net and C#) to grab the pages of any website and store them locally (Including resources like images and CSS...etc), download them locally and adjust any resource hyperlinks to point to the locally downloaded resources.

I saw HTTrack (http://www.httrack.com/), and it seems quite excellent, but the problem is that I want this Crawler to be a part of a system which includes other features and process. So, I really can't have this Crawler as an external tool.Main challenges:1) User should be able to specify to which level s/he wants to crawl, which means: User might specify a sub-site and want to crawl everything underneath it and not the upper level. You see ? So, there should be full crawling for the entire site and partial crawling.

2) URLs and how to deal with them? I faced some weird URLs and it was hard for me to identify the actual page because there is no file name. How to handle that? For example: (http://www.blue1.com/en/uk/Travel-info/At-the-airport/Security-control/) this is a URL of a website that is built on EPiServer (.Net based) but as can be seen from the URL that there is not actual aspx page, Therefore, how to deal with such URLs ?I have already started developing a POC using HttpWebRequest class, but frankly I am totally dissatisfied with it. It is inconsistent and the generated static content misses a lot of images and styles. Besides, the threads act up sometimes strangely.I would greatly and sincerely appreciate any input (Approaches, source codes, ideas , links...etc)P.S. I already saw: (http://www.codeproject.com/KB/IP/Crawler.aspx) and (http://www.codeproject.com/KB/aspnet/ZetaWebSpider.aspx).

View 1 Replies

Web Forms :: How To Build RSS Feed For Website

Feb 6, 2014

Code for RSS feed ....

View 1 Replies

Web Forms :: How To Build A Page URL From Database

Nov 5, 2013

I can write this code in Page load 

con = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString);da = new SqlDataAdapter("Select URL from Table1 where ID =" + Session["USERID"], con);cb = new SqlCommandBuilder(da);ds = new DataSet();da.Fill(ds, "Table1");string pageUrl = ds.Tables["Table1"].Rows[0]["URL"].ToString();
Response.Redirect(pageUrl);

This code working fine..I want to this code working on Hyperlink click Like below

<li><a href="http://Mysite.azurewebsites.net/?ID=<%=Session["USERID"]%>" target="_blank">URLS</a></li>

How can i modify my code?

View 1 Replies

Web Forms :: How To Build Sketch Application

Jan 31, 2013

i am writing an app whereby users my have the ability to sketch plots eg an accident, a teacher in class etc.

In sketching these plots users should be able to paste photos as well.

I am not sure this can be done in asp.net however i heard that there maybe plugins that i can use? I found CKEditor but that does not quite do it..

View 1 Replies

Web Forms :: How To Build A Robust Photo Gallery

May 18, 2010

Can anybody recommend how I can build / add a robust photo gallery into my ASP.NET site? I would like the photo gallery to display images based on the results from a database search. I have already built a page with a datagrid which displays a set of results retrieved from a search. Now I would like to turn these database results into a gallery!

I have already looked at [URL] and a few other sites, but am not getting very far. If you consider the above to be a good example, I am currently stuck on several aspects of this project which I would be very grateful for assistance on.

View 3 Replies

Web Forms :: Trying To Build Link Button Dynamically?

Jan 13, 2010

I want to build link buttons dynamically, and the link is clicked run a subroutine.

that is one half of my problem.

Once that linkbutton is created, then i would like to concatenate that with text that i am placing in a text box.

View 4 Replies

Web Forms :: How To Build Barcode Reading Into An Application

Sep 30, 2010

Can anyone point me to a resource for how to build barcode reading into an ASP.net app? I need to scan a card and have it enter in the database that a person was present at a program that day.

View 5 Replies

Jquery - How To Build Alert Widget Forms

Nov 11, 2010

I am working on a portal wich is hosted in Sharepoint 2007. I need to come up with a widget that will display certain messages. The widget to be visible from all pages of the portal. I would like something like the StackOverflow has for notifications of your score/badges with displaying it up on top of every page. Is there a ready solution out there (jQuery/Ajax) that can be used?

View 1 Replies

Web Forms :: How To Build A Event Based Calendar

Jan 6, 2010

I want to build a event based calendar .. sorting by mnth,week,day.... also a calendar to display tasks..

For tat i have a masterpage with calendar usercontrol with tasks... and content page with calendar usercontrol with events Now content page displays both calendar with events and with tasks.

Now when i navigate calendar with events ....the calendar with tasks shuld also navigate to same mnth.

for tat i have used public properties in master page to set values to calendar tasks.

and in content page am setting values to properties in master page usign calendar events properties.

am updating the values even on selection changed and visible mnth changed events.

The problem is tat am facing problems with the synchronizing..

i.e if calendar tasks is always having the previous value of calendar events.

Is there any way to synchronize them?

View 1 Replies

Web Forms :: To Build A Form That Has Multiple Steps ?

Sep 14, 2010

I have a requirement to build a form that has multiple steps (there are 12 steps in total). Based on a querystring (eg. t=1), only certain steps need to be in the form. For example, if t=1, only steps 1, 2, 3 and 12 are required so I need to be able to skip
steps 4 through 11.

I'm using a Wizard control for this so far but I'm running into issues with the page lifecycle and moving to the next wizardstep and am wondering how people suggest I could better do the above. The crux of what I'm doing is:

- determine form type based on querystring use a Select statement, then create an array of step ID's applicable to the form type

[Code]....

- when a user clicks next, the method OnActiveStepChanged is fired and the next step based on the array value needs to be shown (this is where I'm having issues)
[Code]....

This all seems to be working however when the user clicks next from the starting step in the wizard, the next step is blank (ie. no step is rendered).

What I've done may not be the easiest way to acheive what I'm trying to so I'm hoping somebody has a "why dont you just do this?" type suggestion :)

View 4 Replies

Web Forms :: How To Build Price Range Slider

May 7, 2015

i am design price slider for product showcase website.i didnt get values in c# code.i dont no how to get values when price range increase or decries auto matic get the products.....like snap deal price range auto update the products..........

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved