Click here to Skip to main content
15,881,863 members
Articles / Web Development / IIS

Rapid Web Application Development

Rate me:
Please Sign up or sign in to vote.
4.00/5 (5 votes)
27 Sep 200510 min read 203.7K   4.2K   86  
An article about the Multiformity Open Source project.
<%@ Page language="c#" Inherits="rasp.Administrator" CodeFile="Administrator.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Administrator</title>
	</HEAD>
	<body>
	    <asp:PlaceHolder ID="_ScriptBlock" Runat="server"></asp:PlaceHolder>
		<asp:placeholder id="_Header" Runat="server"></asp:placeholder>
		<form method="post" runat="server">
		<p> Please note that many of these tools are not always tested, or documented...</p>
		    
		    <P>This button initializes the metadata in the database if you have added in new tables or fields. <br />
			<asp:button id="btnInitialize_TABLES" runat="server" Width="176px" Height="24px" Text="Initialize System Tables" onclick="InitializeTables"></asp:button></P>
			<P>This will fix the tab and display orders for all of the fields in the database.<br />
			<asp:button id="btnFixTableOrders" runat="server" Width="176px" Height="24px" Text="Fix Field Orders"></asp:button></P>
			<P>This button generate the DBNames.cs file, allowing you to access field names from the DB in a Table.FieldName manner.<br />
			<asp:button id="btnGenDBNames" runat="server" Width="176px" Height="24px" Text="Generate DBNames" onclick="btnGenDBNames_Click"></asp:button></P>			
			<P>This button will set all of the Keyfields in the database to be readonly and hidden from the users. This can be done pretty easy with the grid object now, editing multiple rows at once.<br />
			<asp:Button id="btnHideIDFields" runat="server" Width="175px" Text="Hide all ID Fields"></asp:Button></P>

			<P>NOTE: Do not play with these unless you have looked over the code. This code has not been updated and will not be updated until the Rasp tables are finalized.<br />
			    <select name="DBType">
					<option value="rasp.sql" selected>Empty DB</option>
					<option value="supportnet.sql">SupportNet</option>
				</select>
				<asp:textbox id="DBName" runat="server"></asp:textbox><asp:button id="NewDB" runat="server" Width="109px" Text="Create New DB" onclick="NewDB_Click"></asp:button></P>
				<br />Again this is not fully tested, please do not play with this unless you have looked at the code underneath.<br />
			<select name="ChooseDB">
				<option value="Rasp" selected>Rasp</option>
				<option value="SupportNet">SupportNet</option>
			</select>
			<asp:button id="ChangeDB" runat="server" Text="ChangeDB" onclick="ChangeDB_Click"></asp:button>
			<P><!--<A href="AddField.aspx">Add Database Field</A>--></P>
			
			<P>Use this list to edit properties files on the database.<br /><asp:PlaceHolder ID="Contents" Runat="server"></asp:PlaceHolder></P>
			<P></P>
			<P><asp:label id="ErrorMessage" runat="server" Width="401px" Height="158px"></asp:label></P>
			<P>&nbsp;</P>
			<P>&nbsp;</P>
			<P>&nbsp;</P>
		</form>
	</body>
</HTML>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions