<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Helping Online Entrepreneurs &#187; ASP.Net</title>
	<atom:link href="http://www.codeitwell.com/category/aspnet/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codeitwell.com</link>
	<description>With Resources on How to Make Money Online doing Freelancing, Affiliate Marketing, Blogging and many more ...</description>
	<lastBuildDate>Wed, 09 Feb 2011 11:39:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Working with ASP</title>
		<link>http://www.codeitwell.com/working-with-asp.html</link>
		<comments>http://www.codeitwell.com/working-with-asp.html#comments</comments>
		<pubDate>Tue, 11 Jan 2011 11:29:36 +0000</pubDate>
		<dc:creator>Guest-Blogger</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[Web Hosting]]></category>

		<guid isPermaLink="false">http://www.codeitwell.com/?p=3154</guid>
		<description><![CDATA[ASP stands for Active Server Pages. These are pages that, in addition to the ordinary HTML code of a web page, have added commands that a web server processes before sending the web page to the browser. These extra commands are called server side scripts. ASP web hosting allows these scripts to be implemented and [...]


More Related Posts:<ol><li><a href='http://www.codeitwell.com/asp-at-a-glance.html' rel='bookmark' title='Permanent Link: ASP at a glance'>ASP at a glance</a></li>
<li><a href='http://www.codeitwell.com/how-some-of-the-programming-languages-are-named.html' rel='bookmark' title='Permanent Link: How some of the programming languages are named'>How some of the programming languages are named</a></li>
<li><a href='http://www.codeitwell.com/write-to-file-in-cs.html' rel='bookmark' title='Permanent Link: Write To File in C#'>Write To File in C#</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://en.wikipedia.org/wiki/Active_Server_Pages" target="_blank">ASP stands for Active Server Pages</a>. These are pages that, in addition to the ordinary HTML code of a web page, have added commands that a web server processes before sending the web page to the browser. These extra commands are called server side scripts. <a href="http://www.webhostingsearch.com/asp-hosting.php" target="_blank">ASP web hosting</a> allows these scripts to be implemented and understood by the server.</p>
<h2>About Server Side Scripts</h2>
<p>Server side scripts, as the name implies, are scripts that are read and acted on by the server rather than the browser. Only the server can see these scripts. Even if a user was to view the code of a web page, they wouldn’t see these scripts. They are hidden to all but the browser, because only the browser need interpret them.</p>
<p>In terms of syntax, server side scripts appear much like HTML. They consist of tags that resemble HTML, but the tags usually open and close with the &lt;% and %&gt; syntax.</p>
<h2>Uses of Active Server Pages and Sever Side Scripts</h2>
<p>The tags in the ASP have a number of uses. These are usually interactive functions that the web page performs such as displaying the current date and time or offering the user a form to fill out. ASP pages also allow the user to send emails, take surveys, download information on the page and a number of other dynamic functions. These functions are processed before the browser sends the page, allowing it to load the coding for these applications first and then display the graphic or other content.</p>
<p>Most classic active server pages use the .asp extension. This is the way you can tell this type of page from an ordinary web page which usually ends with .htm or .html. Sometimes for security reasons the author of the page will hide the .asp extension and the file will have the ordinary .html extension instead.</p>
<h2>Development of ASP</h2>
<p>Originally, web pages were essentially static. They were written in HTML and had little interactivity. They had to be laboriously written in a text editor and would result in pages that could primarily show only text. A step toward making the process more streamlined occurred when HTML editors such as FrontPage and Dreamweaver were developed. This made the design of web pages easier, but didn’t improve much on their interactivity.</p>
<p>Thus, the next stage was the development of Active Server Pages. They allowed new interactive functions to be implemented by web designers and programmers by making it possible for clients (browsers) to communicate with server databases.</p>
<p>Soon improvements were developed here as well. A number of different languages such as the standard ASP scripting, Visual Basic Script (VBScript), and C# language allowed designers access to different interactivity features. These were eventually subsumed under Microsoft’s .NET development platform, which allowed horizontal compatibility between the languages and a level of standardization to be achieved. In fact, most pages today are written in the .NET environment and these pages end with the .aspx extension rather than simply .asp. The .NET interactivity is generally more efficient and versatile than the classic ASP design platform.</p>
<h2>Learning ASP</h2>
<p>Design of Active Server Pages is not particularly difficult to learn. There are many free tutorials, books, and sample coding segments that one can access easily online. With a bit of practice one can learn to code dynamic pages that are useful, interactive, and fun.</p>
<h2>ASP Hosting</h2>
<p>ASP hosting is simply <a href="http://www.webhostingsearch.com" target="_blank">webhosting</a> that supports Microsoft's .NET ASP design framework. Most current web hosting severs offer this type of functionality as part of a general web hosting package.</p>
<p>This article is written by Carrie Donalds, a senior writer working for one of the most reliable web hosting reviews company in the market today.</p>


<br /><p>More Related Posts:<ol><li><a href='http://www.codeitwell.com/asp-at-a-glance.html' rel='bookmark' title='Permanent Link: ASP at a glance'>ASP at a glance</a></li>
<li><a href='http://www.codeitwell.com/how-some-of-the-programming-languages-are-named.html' rel='bookmark' title='Permanent Link: How some of the programming languages are named'>How some of the programming languages are named</a></li>
<li><a href='http://www.codeitwell.com/write-to-file-in-cs.html' rel='bookmark' title='Permanent Link: Write To File in C#'>Write To File in C#</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.codeitwell.com/working-with-asp.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP at a glance</title>
		<link>http://www.codeitwell.com/asp-at-a-glance.html</link>
		<comments>http://www.codeitwell.com/asp-at-a-glance.html#comments</comments>
		<pubDate>Fri, 10 Apr 2009 06:20:46 +0000</pubDate>
		<dc:creator>Shabbir</dc:creator>
				<category><![CDATA[ASP.Net]]></category>

		<guid isPermaLink="false">http://www.codeitwell.com/?p=160</guid>
		<description><![CDATA[ASP contains text, HTML tags and different scripts. These scripts in an ASP file are executed on the server.Before learning ASP one should have knowledge of VBscript or Java script.ASP means Active Server Pages and this pages runs on Internet Information Services .ASP file is the same as HTML file it contains HTML, XML, and [...]


More Related Posts:<ol><li><a href='http://www.codeitwell.com/write-to-file-in-cs.html' rel='bookmark' title='Permanent Link: Write To File in C#'>Write To File in C#</a></li>
<li><a href='http://www.codeitwell.com/working-with-asp.html' rel='bookmark' title='Permanent Link: Working with ASP'>Working with ASP</a></li>
<li><a href='http://www.codeitwell.com/write-to-file-in-cpp.html' rel='bookmark' title='Permanent Link: Write To File In C++'>Write To File In C++</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><p>ASP contains text, HTML tags and  different scripts. These scripts in an ASP file are executed on the server.Before learning ASP one should have knowledge of VBscript or Java script.ASP means Active Server Pages and this pages runs on Internet Information Services .ASP file is the same as  HTML file it contains HTML, XML, and scripts and these scripts are executed on server.ASP files are saved with extension.asp.</p>
<p>Features of ASP</p>
<p>1.It edits, changes and  add different contents to a Web page.<br />
2.It replies  to user queries and to  data  whish submitted from HTML forms.<br />
3.Access any data or databases and return the results to a browser.<br />
4.It also customizes a Web page to make it more useful for every users.</p>
<p>In ASP  if variables are declared outside a procedure they can be changed by any script and if declared inside the  procedure they are created and destroyed every time the procedure is executed.In ASP Response object  this object is used to send output to the user and in ASP Request object this object is used to get information from the user. Application object in ASP is used to tie  files together and to store variables.Application object contains information which is used my many web pages in the application.In ASP Session object is used to store information for a specific user session.In object data hold information of one specific user and one specific application . </p>
<p>Now let us see in details regarding Loops</p>
<p>Do While...Loop </p>
<p>Example  </p>
<pre lang=ASP>
<%
   a=0
Do While a<5
    response.write("Hello<HR>")
    a=a+1
Loop
%>
</pre>
<p>In this example  "a<5" and the instructions defines a response text and an increment of the variable "a". In the example, a will be increased until it gets a value of 5. Then the loop will be abandon. one can use many statements  within the loop. </p>
<p>Do Until....Loop </p>
<p>Example  </p>
<pre class="asp">&nbsp;
<span style="color: #0000ff; font-weight: bold;">&lt;%</span>
a=<span style="color: #800000;">0</span>
<span style="color: #990099; font-weight: bold;">Do</span> Until a=<span style="color: #800000;">5</span>
    <span style="color: #990099; font-weight: bold;">response</span>.<span style="color: #330066;">write</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;Hello&lt;HR&gt;&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span>
    a=a<span style="color: #800000;">+1</span>
<span style="color: #990099; font-weight: bold;">Loop</span>
<span style="color: #0000ff; font-weight: bold;">%&gt;</span>
&nbsp;</pre>
<p>In this example  "a=5", so a will increased until it is equal to 5 and then the loop will be abandon. </p>
<p>Select Case....End Select </p>
<p>Example</p>
<pre class="asp">&nbsp;
<span style="color: #0000ff; font-weight: bold;">&lt;%</span>
  a=<span style="color: #800000;">5</span>
<span style="color: #990099; font-weight: bold;">Select</span> <span style="color: #990099; font-weight: bold;">Case</span> a
   <span style="color: #990099; font-weight: bold;">Case</span> <span style="color: #800000;">1</span>
       <span style="color: #990099; font-weight: bold;">Response</span>.<span style="color: #330066;">write</span> <span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;Number is 1&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span>
   <span style="color: #990099; font-weight: bold;">Case</span> <span style="color: #800000;">2</span>
       <span style="color: #990099; font-weight: bold;">Response</span>.<span style="color: #330066;">write</span> <span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;Number is 2&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span>
   <span style="color: #990099; font-weight: bold;">Case</span> <span style="color: #800000;">3</span>
       <span style="color: #990099; font-weight: bold;">Response</span>.<span style="color: #330066;">write</span> <span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;Number is  3&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span>
   <span style="color: #990099; font-weight: bold;">Case</span> <span style="color: #800000;">4</span>
       <span style="color: #990099; font-weight: bold;">Response</span>.<span style="color: #330066;">write</span> <span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;Number is 4&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span>
   <span style="color: #990099; font-weight: bold;">Case</span> <span style="color: #800000;">5</span>
       <span style="color: #990099; font-weight: bold;">Response</span>.<span style="color: #330066;">write</span> <span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;Number is  5&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span>
   <span style="color: #990099; font-weight: bold;">Case</span> <span style="color: #990099; font-weight: bold;">Else</span>
       <span style="color: #990099; font-weight: bold;">Response</span>. <span style="color: #330066;">write</span> <span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;a is higher than 5&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span>
<span style="color: #990099; font-weight: bold;">End</span> <span style="color: #990099; font-weight: bold;">Select</span>
<span style="color: #0000ff; font-weight: bold;">%&gt;</span>
&nbsp;</pre>


<br /><p>More Related Posts:<ol><li><a href='http://www.codeitwell.com/write-to-file-in-cs.html' rel='bookmark' title='Permanent Link: Write To File in C#'>Write To File in C#</a></li>
<li><a href='http://www.codeitwell.com/working-with-asp.html' rel='bookmark' title='Permanent Link: Working with ASP'>Working with ASP</a></li>
<li><a href='http://www.codeitwell.com/write-to-file-in-cpp.html' rel='bookmark' title='Permanent Link: Write To File In C++'>Write To File In C++</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.codeitwell.com/asp-at-a-glance.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ASP.Net Database Connection</title>
		<link>http://www.codeitwell.com/aspnet-database-connection.html</link>
		<comments>http://www.codeitwell.com/aspnet-database-connection.html#comments</comments>
		<pubDate>Fri, 02 May 2008 21:06:59 +0000</pubDate>
		<dc:creator>Shabbir</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[Database Connection]]></category>

		<guid isPermaLink="false">http://www.codeitwell.com/?p=18</guid>
		<description><![CDATA[In the previous two articles (1, 2) we explained connecting to Microsoft Access database and writing to it, in C#. Now we do that in ASP.Net. For start create a new ASP.Net project. First of all we are creating two labels, two text boxes and one button with the following code (add it between the [...]


More Related Posts:<ol><li><a href='http://www.codeitwell.com/creating-a-database-connection.html' rel='bookmark' title='Permanent Link: Creating a Database Connection'>Creating a Database Connection</a></li>
<li><a href='http://www.codeitwell.com/simple-data-entry-in-microsoft-access-database.html' rel='bookmark' title='Permanent Link: Simple Data Entry In Microsoft Access Database'>Simple Data Entry In Microsoft Access Database</a></li>
<li><a href='http://www.codeitwell.com/aspnet-web-site-sample.html' rel='bookmark' title='Permanent Link: ASP.Net Web Site Sample'>ASP.Net Web Site Sample</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><p>In the previous two articles (<a title="Connect to database" href="http://www.codeitwell.com/creating-a-database-connection.html">1</a>, <a title="Data entry in database" href="http://www.codeitwell.com/simple-data-entry-in-microsoft-access-database.html">2</a>) we explained connecting to Microsoft Access database and writing to it, in C#.</p>
<p>Now we do that in ASP.Net.</p>
<p>For start <a title="Create a asp.net project" href="http://www.codeitwell.com/aspnet-web-site-sample.html">create a new ASP.Net project</a>. First of all we are creating two labels, two text boxes and one button with the following code (add it between the &lt;div&gt;&lt;/div&gt; tags)</p>
<pre class="asp">&nbsp;</pre>
<p>So, lets define the event which is invoked by clicking on the button (add it above html tag)</p>
<pre class="asp">&lt;script&gt;&lt;!--mce:<span style="color: #800000;">0</span>--&gt;&lt;/script&gt;</pre>
<p>When we run the script on ASP server we will get the following page</p>
<p style="text-align: center;"><img class="alignnone" src="http://www.codeitwell.com/wp-content/images/18.1.gif" alt="ASP page connecting to database" /></p>
<p>By clicking the button is invoked the button1_Click event and then the data written in the text boxes is recorded to database.</p>


<br /><p>More Related Posts:<ol><li><a href='http://www.codeitwell.com/creating-a-database-connection.html' rel='bookmark' title='Permanent Link: Creating a Database Connection'>Creating a Database Connection</a></li>
<li><a href='http://www.codeitwell.com/simple-data-entry-in-microsoft-access-database.html' rel='bookmark' title='Permanent Link: Simple Data Entry In Microsoft Access Database'>Simple Data Entry In Microsoft Access Database</a></li>
<li><a href='http://www.codeitwell.com/aspnet-web-site-sample.html' rel='bookmark' title='Permanent Link: ASP.Net Web Site Sample'>ASP.Net Web Site Sample</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.codeitwell.com/aspnet-database-connection.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>ASP.Net Web Site Sample</title>
		<link>http://www.codeitwell.com/aspnet-web-site-sample.html</link>
		<comments>http://www.codeitwell.com/aspnet-web-site-sample.html#comments</comments>
		<pubDate>Mon, 28 Apr 2008 18:44:39 +0000</pubDate>
		<dc:creator>Shabbir</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://www.codeitwell.com/?p=11</guid>
		<description><![CDATA[Today we will create a simple ASP.Net web site. You must have Visual Studio or Visual Web Deleloper to start creating web sites with ASP.Net. We will use Visual Studio 2008. To start go to File -&#62; New -&#62; Web Site (Shift+Alt+N). In the dialog box under the Templates area select ASP.NET Web Site, set [...]


More Related Posts:<ol><li><a href='http://www.codeitwell.com/creating-a-windows-forms-application-in-cs.html' rel='bookmark' title='Permanent Link: Creating a Windows Forms Application in C#'>Creating a Windows Forms Application in C#</a></li>
<li><a href='http://www.codeitwell.com/aspnet-database-connection.html' rel='bookmark' title='Permanent Link: ASP.Net Database Connection'>ASP.Net Database Connection</a></li>
<li><a href='http://www.codeitwell.com/adding-items-to-listview-control.html' rel='bookmark' title='Permanent Link: Adding Items to ListView Control'>Adding Items to ListView Control</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><p>Today we will create a simple ASP.Net web site.</p>
<p>You must have Visual Studio or Visual Web Deleloper to start creating web sites with ASP.Net.</p>
<p>We will use Visual Studio 2008.</p>
<p>To start go to File -&gt; New -&gt; Web Site (Shift+Alt+N). In the dialog box under the Templates area select ASP.NET Web Site, set the Location to File System, set the Language to Visual C#, and specify the directory where the project will be created.</p>
<p style="text-align: center;"><img src="http://www.codeitwell.com/wp-content/images/3.1.gif" alt="Creating web site" /></p>
<p>Then press OK, and the project will be created, and you will see the Default.aspx source code. Will be something like this</p>
<pre class="asp">&lt;html xmlns=<span style="color: #cc0000;">&quot;http://www.w3.org/1999/xhtml&quot;</span>&gt;
&lt;head runat=<span style="color: #cc0000;">&quot;server&quot;</span>&gt;
    &lt;title&gt;Untitled Page&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form id=<span style="color: #cc0000;">&quot;form1&quot;</span> runat=<span style="color: #cc0000;">&quot;server&quot;</span>&gt;
&lt;div&gt;
    &lt;/div&gt;
&lt;/form&gt;
&nbsp;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>Between the div tags insert this code</p>
<pre class="asp">&lt;asp:Button ID=<span style="color: #cc0000;">&quot;button1&quot;</span> Text=<span style="color: #cc0000;">&quot;Button&quot;</span> OnClick=<span style="color: #cc0000;">&quot;button1Click&quot;</span>
 runat=<span style="color: #cc0000;">&quot;server&quot;</span>/&gt;
&lt;asp:TextBox ID=<span style="color: #cc0000;">&quot;textBox1&quot;</span> runat=<span style="color: #cc0000;">&quot;server&quot;</span>/&gt;
&lt;br&gt;
&lt;h4&gt;&lt;asp:Label ID=<span style="color: #cc0000;">&quot;label1&quot;</span> runat=<span style="color: #cc0000;">&quot;server&quot;</span>/&gt;&lt;/h4&gt;
&nbsp;</pre>
<p>With this we are creating a button control, with text Button, its ID is button1 and a click event, also we are creating a textbox and a label.</p>
<p>Above head tag, insert this</p>
<pre class="asp">&lt;script runat=<span style="color: #cc0000;">&quot;server&quot;</span>&gt;
    void button1Click<span style="color: #006600; font-weight:bold">&#40;</span>object Source, EventArgs e<span style="color: #006600; font-weight:bold">&#41;</span>
    <span style="color: #006600; font-weight:bold">&#123;</span>
        label1.<span style="color: #9900cc;">Text</span> = <span style="color: #cc0000;">&quot;TextBox text: &quot;</span> + textBox1.<span style="color: #9900cc;">Text</span>;
    <span style="color: #006600; font-weight:bold">&#125;</span>    
<span style="color: #0000ff; font-weight: bold;">&lt;/script&gt;</span></pre>
<p>Here we are defining the function, which will be called when the button is clicked.<br />
It, will change the label text.</p>
<p>Debug the project (F5), and the web page will be opened, it will be something like this</p>
<p style="text-align: center;"><img src="http://www.codeitwell.com/wp-content/images/3.2.gif" alt="Sample asp" width="313" height="183" /></p>
<p>Now write something in the textbox, and click the button. You will get this</p>
<p style="text-align: center;"><img src="http://www.codeitwell.com/wp-content/images/3.3.gif" alt="Sample asp web site" /></p>
<p>So, with clicking the button, the label text property is changing to "TextBox text: " + the text we write in the text box.</p>


<br /><p>More Related Posts:<ol><li><a href='http://www.codeitwell.com/creating-a-windows-forms-application-in-cs.html' rel='bookmark' title='Permanent Link: Creating a Windows Forms Application in C#'>Creating a Windows Forms Application in C#</a></li>
<li><a href='http://www.codeitwell.com/aspnet-database-connection.html' rel='bookmark' title='Permanent Link: ASP.Net Database Connection'>ASP.Net Database Connection</a></li>
<li><a href='http://www.codeitwell.com/adding-items-to-listview-control.html' rel='bookmark' title='Permanent Link: Adding Items to ListView Control'>Adding Items to ListView Control</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.codeitwell.com/aspnet-web-site-sample.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

