<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:georss='http://www.georss.org/georss' xmlns:thr='http://purl.org/syndication/thread/1.0' xmlns:gd='http://schemas.google.com/g/2005' gd:etag='W/&quot;C0ECSXczcSp7ImA9WxFaFE4.&quot;'><id>tag:blogger.com,1999:blog-7275836423005981550</id><updated>2010-07-18T11:11:08.989+05:30</updated><title>Asp complete reference</title><subtitle type='html'>Code Asp.Net,Free Visual studio2010 download,minor projects,major projects...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://asp-codehub.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default?redirect=false&amp;v=2'/><link rel='alternate' type='text/html' href='http://asp-codehub.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Amrit Heda</name><uri>http://www.blogger.com/profile/11592701119708837710</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry gd:etag='W/&quot;AkIDRHw-eip7ImA9WxFaFE8.&quot;'><id>tag:blogger.com,1999:blog-7275836423005981550.post-7763464290876154080</id><published>2010-07-18T10:19:00.000+05:30</published><updated>2010-07-18T10:19:35.252+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-07-18T10:19:35.252+05:30</app:edited><title>Sending Email from Gmail</title><content type='html'>protected void btnSendEmail_Click(object sender, EventArgs e)&lt;br /&gt;
{&lt;br /&gt;
&lt;span style="color: #66ff99;"&gt;&lt;span style="color: #33cc00;"&gt;//Create Mail Message Object with content that you want to send  with mail&lt;/span&gt;.&lt;/span&gt;System.Net.Mail.MailMessage MyMailMessage =  new  System.Net.Mail.MailMessage("dotnetguts@gmail.com","myfriend@yahoo.com",&lt;br /&gt;
"This  is the mail subject", "Just wanted to say Hello");&lt;br /&gt;
&lt;br /&gt;
MyMailMessage.IsBodyHtml  = false;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #33cc00;"&gt;//Proper  Authentication Details need to be passed when sending email from gmail&lt;/span&gt;&lt;br /&gt;
System.Net.NetworkCredential  mailAuthentication = new&lt;br /&gt;
System.Net.NetworkCredential("dotnetguts@gmail.com",  "myPassword");&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #33cc00;"&gt;//Smtp Mail  server of Gmail is "smpt.gmail.com" and it uses port no. 587&lt;br /&gt;
//For  different server like yahoo this details changes and you can&lt;br /&gt;
//get it  from respective server.&lt;/span&gt;System.Net.Mail.SmtpClient mailClient  = new System.Net.Mail.SmtpClient("smtp.gmail.com",587);&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: #33cc00;"&gt;//Enable SSL&lt;/span&gt;mailClient.EnableSsl  = true;&lt;br /&gt;
&lt;br /&gt;
mailClient.UseDefaultCredentials = false;&lt;br /&gt;
&lt;br /&gt;
mailClient.Credentials  = mailAuthentication;&lt;br /&gt;
&lt;br /&gt;
mailClient.Send(MyMailMessage);&lt;br /&gt;
}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7275836423005981550-7763464290876154080?l=asp-codehub.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://asp-codehub.blogspot.com/feeds/7763464290876154080/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://asp-codehub.blogspot.com/2010/07/sending-email-from-gmail.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/7763464290876154080?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/7763464290876154080?v=2'/><link rel='alternate' type='text/html' href='http://asp-codehub.blogspot.com/2010/07/sending-email-from-gmail.html' title='Sending Email from Gmail'/><author><name>Amrit Heda</name><uri>http://www.blogger.com/profile/11592701119708837710</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='05499400176237190455'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;AkcMSHY_fSp7ImA9WxFaFE8.&quot;'><id>tag:blogger.com,1999:blog-7275836423005981550.post-2054881767547727851</id><published>2010-07-18T10:11:00.000+05:30</published><updated>2010-07-18T10:11:29.845+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-07-18T10:11:29.845+05:30</app:edited><title>Insert data from gridview to database (ASP.NET)</title><content type='html'>using System;&lt;br /&gt;
using System.Web.UI.WebControls;&lt;br /&gt;
&lt;br /&gt;
public partial  class _Default : System.Web.UI.Page&lt;br /&gt;
{&lt;br /&gt;
protected void  Page_Load(object sender, EventArgs e)&lt;br /&gt;
{&lt;br /&gt;
foreach (GridViewRow row  in gvTest.Rows)&lt;br /&gt;
{&lt;br /&gt;
CheckBox box = row.FindControl("cbChecked") as  CheckBox;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
protected void btnCGo_Click(object sender,  EventArgs e)&lt;br /&gt;
{&lt;br /&gt;
// Never give a button click event any more  responsibility that capturing the click event :)&lt;br /&gt;
GetInformationToSave();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
///  &lt;summary&gt;&lt;br /&gt;
/// Gets the information to save.&lt;br /&gt;
/// &lt;/summary&gt;&lt;br /&gt;
protected  void GetInformationToSave()&lt;br /&gt;
{&lt;br /&gt;
foreach (GridViewRow row in  gvTest.Rows)&lt;br /&gt;
{//This condition is added since here we are inserting  only the rows which are checked&lt;br /&gt;
CheckBox checkbox =  (CheckBox)row.FindControl("cbChecked");&lt;br /&gt;
&lt;br /&gt;
// Collect your  information below if the checkbox is checked...&lt;br /&gt;
if (checkbox.Checked)&lt;br /&gt;
{&lt;br /&gt;
Label  lblFirstName = (Label)row.FindControl("lblFirstName");&lt;br /&gt;
Label  lblLastName= (Label)row.FindControl("lblLastName");&lt;br /&gt;
&lt;br /&gt;
//After all  your information, send to method that is responsible for saving data to  databasea&lt;br /&gt;
SaveToDatabase(lblFirstName.Text.Trim(),  lblLastName.Text.Trim());&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/// &lt;summary&gt;&lt;br /&gt;
///  Saves to database.&lt;br /&gt;
/// &lt;/summary&gt;&lt;br /&gt;
/// &lt;br /&gt;
&lt;div class="post-body 
entry-content"&gt;&lt;param name="firstName" /&gt;The  first name.&lt;br /&gt;
/// &lt;param name="lastName" /&gt;The last name.&lt;br /&gt;
protected  void SaveToDatabase(string firstName, string lastName)&lt;br /&gt;
{&lt;br /&gt;
// CODE  HERE TO SAVE TO DATABASE. OBVIOUSLY THIS METHOD SHOULD NOT BE IN THE  PAGE CODE BEHIND BUT JUST HERE&lt;br /&gt;
// TO DEMONSTRATE.&lt;br /&gt;
}&lt;br /&gt;
} &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7275836423005981550-2054881767547727851?l=asp-codehub.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://asp-codehub.blogspot.com/feeds/2054881767547727851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://asp-codehub.blogspot.com/2010/07/insert-data-from-gridview-to-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/2054881767547727851?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/2054881767547727851?v=2'/><link rel='alternate' type='text/html' href='http://asp-codehub.blogspot.com/2010/07/insert-data-from-gridview-to-database.html' title='Insert data from gridview to database (ASP.NET)'/><author><name>Amrit Heda</name><uri>http://www.blogger.com/profile/11592701119708837710</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='05499400176237190455'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;D04FRHs4fip7ImA9WxFaEUs.&quot;'><id>tag:blogger.com,1999:blog-7275836423005981550.post-5860931770816102756</id><published>2010-07-15T09:21:00.000+05:30</published><updated>2010-07-15T09:21:55.536+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-07-15T09:21:55.536+05:30</app:edited><title>ASP.NET 2.0 Features</title><content type='html'>If you have worked with ASP.NET 1.x versions, you will undoubtedly agree that it was a great product&lt;br /&gt;
that provided huge improvements in the way web applications were designed and deployed. If&lt;br /&gt;
ASP.NET 1.x was a great product, then what’s wrong with it? Well, nothing, actually, but when developing&lt;br /&gt;
software, there is always a trade-off between how much can be done, how many resources you&lt;br /&gt;
have, and how much time you have to do it. There is an almost never-ending supply of features you&lt;br /&gt;
can add, but at some stage you have to ship the product. You cannot doubt that ASP.NET 1.0 shipped&lt;br /&gt;
with an impressive array of features, but the ASP.NET team members are ambitious, and they not only&lt;br /&gt;
had plans of their own but also listened to their users. ASP.NET 2.0 addresses the areas that both the&lt;br /&gt;
development team and users wanted to improve. The aims of the new version are:&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
❑ Reduce the number of lines of code required by 70%: The declarative programming&lt;br /&gt;
model freed developers from having to write reams of code, but there are still many scenarios&lt;br /&gt;
where this cannot be avoided. Data access is a great example, where the same&lt;br /&gt;
Connection, DataAdapter/DataSet, and Command/DataReader code is used regularly.&lt;br /&gt;
❑ Increase developer productivity: This partly relates to reducing the amount of code required,&lt;br /&gt;
but is also affected by more server controls encompassing complex functionality, as well as providing&lt;br /&gt;
better solutions for common web site scenarios (such as portals and personalized sites).&lt;br /&gt;
❑ Provide the fastest web server platform: Although ASP.NET 1.x offered a fast server platform,&lt;br /&gt;
ASP.NET 2.0 will improve areas such as application start-up times and provide better application&lt;br /&gt;
tracing and performance data. Innovative caching features will enhance application performance,&lt;br /&gt;
especially when SQL Server is used.&lt;br /&gt;
❑ Support for mobile development: In ASP.NET 1.0, the Microsoft Mobile Internet Toolkit (MMIT&lt;br /&gt;
in version 1.0 and ASP.NET Mobile Controls in version 1.1) provided this support, including&lt;br /&gt;
separate controls for building web pages suitable for small screen browsers. In ASP.NET 2.0, the&lt;br /&gt;
MMIT is no longer required because mobile support is built into all controls. This reduces the&lt;br /&gt;
amount of code required, as well as the need for specialist knowledge about mobile platforms.&lt;br /&gt;
❑ Provide the best hosting solution: With the large number of Internet applications being hosted,&lt;br /&gt;
it’s important to provide better solutions for hosters. For example, better management features&lt;br /&gt;
to identify and stop rogue applications will give hosters more control over their current environment.&lt;br /&gt;
More control can also be given to hosted companies by use of the new web-based&lt;br /&gt;
administration tool, allowing users to easily control the configuration of applications remotely.&lt;br /&gt;
❑ Provide easier and more sophisticated management features: Administration of ASP.NET applications&lt;br /&gt;
under version 1.x required manual editing of the XML configuration file, which is not a&lt;br /&gt;
great solution for administrators. Version 2.0 brings a graphical user interface–based administration&lt;br /&gt;
tool that is integrated with the Internet Information Services (IIS) administration tool.&lt;br /&gt;
❑ Easy implementation of entire scenarios: The better management features are built on top of a&lt;br /&gt;
management application programming interface (API), allowing custom administration programs&lt;br /&gt;
to be created. Along with application packaging, this will provide support for easily&lt;br /&gt;
deployable applications, with or without source.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7275836423005981550-5860931770816102756?l=asp-codehub.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://asp-codehub.blogspot.com/feeds/5860931770816102756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://asp-codehub.blogspot.com/2010/07/aspnet-20-features.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/5860931770816102756?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/5860931770816102756?v=2'/><link rel='alternate' type='text/html' href='http://asp-codehub.blogspot.com/2010/07/aspnet-20-features.html' title='ASP.NET 2.0 Features'/><author><name>Amrit Heda</name><uri>http://www.blogger.com/profile/11592701119708837710</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='05499400176237190455'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;D0MBQH89eCp7ImA9WxFUE0s.&quot;'><id>tag:blogger.com,1999:blog-7275836423005981550.post-6826825235081934456</id><published>2010-06-24T13:14:00.000+05:30</published><updated>2010-06-24T13:14:11.160+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-06-24T13:14:11.160+05:30</app:edited><title>ASP:SENDING EMAIL</title><content type='html'>dim str, mailobj&lt;br /&gt;
str="Email Metini"&lt;br /&gt;
'response.Write str // Gerekirse e-mail string kontrol&lt;br /&gt;
set mailobj = server.createobject("CDO.Message")&lt;br /&gt;
mailobj.Subject="ASP EMAIL"&lt;br /&gt;
mailobj.From="gonderen"&lt;br /&gt;
mailobj.To="asp@asp.com.tr"&lt;br /&gt;
'mailobj.TextBody = str&lt;br /&gt;
mailobj.HTMLBody = str&lt;br /&gt;
mailobj.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2&lt;br /&gt;
mailobj.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "asp.com.tr"&lt;br /&gt;
mailobj.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25&lt;br /&gt;
mailobj.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60&lt;br /&gt;
mailobj.Configuration.Fields.Update&lt;br /&gt;
mailobj.Send&lt;br /&gt;
if err.number=0 then&lt;br /&gt;
Response.Write "HATA OLUSTU"&lt;br /&gt;
else&lt;br /&gt;
Response.Write err.number &amp; err.description&lt;br /&gt;
end if&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7275836423005981550-6826825235081934456?l=asp-codehub.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://asp-codehub.blogspot.com/feeds/6826825235081934456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://asp-codehub.blogspot.com/2010/06/aspsending-email.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/6826825235081934456?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/6826825235081934456?v=2'/><link rel='alternate' type='text/html' href='http://asp-codehub.blogspot.com/2010/06/aspsending-email.html' title='ASP:SENDING EMAIL'/><author><name>Amrit Heda</name><uri>http://www.blogger.com/profile/11592701119708837710</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='05499400176237190455'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DUYCRH89fip7ImA9WxFUE0s.&quot;'><id>tag:blogger.com,1999:blog-7275836423005981550.post-4460743093806986232</id><published>2010-06-24T12:59:00.004+05:30</published><updated>2010-06-24T13:42:45.166+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-06-24T13:42:45.166+05:30</app:edited><title>Free download microsoft visual studio2010</title><content type='html'>if you want to free download microsoft software then you are shock to know that it is provided by microsoft......you are not only download the software(win7,sql server,visual studio2010,windows server) but also participate in the exam provided by microsoft.....so take a tour of&gt;&gt;&gt;&gt;&gt;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h1&gt;http://www.dreamspark.com&lt;/h1&gt;&lt;br /&gt;
&lt;br /&gt;
to see this site you are shock........&lt;br /&gt;
&lt;br /&gt;
or any other problem then you also send me mail.....&lt;br /&gt;
&lt;br /&gt;
my email id is..&lt;br /&gt;
&lt;h1&gt;loveheda@gmail.com&lt;/h1&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7275836423005981550-4460743093806986232?l=asp-codehub.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://asp-codehub.blogspot.com/feeds/4460743093806986232/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://asp-codehub.blogspot.com/2010/06/free-legally-download-microsoft-visual.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/4460743093806986232?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/4460743093806986232?v=2'/><link rel='alternate' type='text/html' href='http://asp-codehub.blogspot.com/2010/06/free-legally-download-microsoft-visual.html' title='Free download microsoft visual studio2010'/><author><name>Amrit Heda</name><uri>http://www.blogger.com/profile/11592701119708837710</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='05499400176237190455'/></author><thr:total>1</thr:total></entry><entry gd:etag='W/&quot;Ck8FR38zeSp7ImA9WxFUEU4.&quot;'><id>tag:blogger.com,1999:blog-7275836423005981550.post-968863314336489471</id><published>2010-06-21T20:03:00.003+05:30</published><updated>2010-06-21T20:03:36.181+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-06-21T20:03:36.181+05:30</app:edited><title>First Asp Programe</title><content type='html'>Now let us have our First ASP.NET program.&lt;br /&gt;
Let9s look at both the markup and the C# portions of a simple web forms application that generates a movie&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
line-up dynamically through software.&lt;br /&gt;
Markup Portion&lt;br /&gt;
Web form application part 1 -- SimpleWebForm.aspx&lt;br /&gt;
&amp;lt;% @Page Language="C#" Inherits="MoviePage" Src="SimpleWebForm.cs" %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;title&gt;Supermegacineplexadrome!&lt;/title&gt;&lt;br /&gt;
&lt;h1 align="center"&gt;&lt;span style="color: white;"&gt;Welcome to&lt;br /&gt;
Supermegacineplexadrome!&lt;/span&gt;&lt;/h1&gt;&lt;br /&gt;
&lt;div align="left"&gt;&lt;span style="color: lime; font-size: large;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;u&gt;Showtimes for &amp;lt;%WriteDate();%&amp;gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span style="color: yellow; font-size: large;"&gt;&amp;lt;%WriteMovies();%&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And this is where the C# part of a web forms application comes in.&lt;br /&gt;
Web form application part 2 - SimpleWebForm.cs&lt;br /&gt;
using System;&lt;br /&gt;
using System.Web.UI;&lt;br /&gt;
using System.Web.UI.WebControls;&lt;br /&gt;
public class MoviePage:Page&lt;br /&gt;
{&lt;br /&gt;
protected void WriteDate()&lt;br /&gt;
{&lt;br /&gt;
Response.Write(DateTime.Now.ToString());&lt;br /&gt;
}&lt;br /&gt;
protected void WriteMovies()&lt;br /&gt;
{&lt;br /&gt;
Response.Write("The Glass Ghost (R) 1:05 pm, 3:25 pm, 7:00 pm&lt;br /&gt;
");&lt;br /&gt;
Response.Write("Untamed Harmony (PG-13) 12:50 pm, 3:25 pm, " +&lt;br /&gt;
"6:55 pm&lt;br /&gt;
");&lt;br /&gt;
Response.Write("Forever Nowhere (PG) 3:30 pm, 8:35 pm&lt;br /&gt;
");&lt;br /&gt;
Response.Write("Without Justice (R) 12:45 pm, 6:45 pm&lt;br /&gt;
");&lt;br /&gt;
}&lt;br /&gt;
}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7275836423005981550-968863314336489471?l=asp-codehub.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://asp-codehub.blogspot.com/feeds/968863314336489471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://asp-codehub.blogspot.com/2010/06/first-asp-programe.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/968863314336489471?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/968863314336489471?v=2'/><link rel='alternate' type='text/html' href='http://asp-codehub.blogspot.com/2010/06/first-asp-programe.html' title='First Asp Programe'/><author><name>Amrit Heda</name><uri>http://www.blogger.com/profile/11592701119708837710</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='05499400176237190455'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;AkAGQ30-cSp7ImA9WxFUEEw.&quot;'><id>tag:blogger.com,1999:blog-7275836423005981550.post-7305219185105385189</id><published>2010-06-20T12:55:00.000+05:30</published><updated>2010-06-20T12:55:22.359+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-06-20T12:55:22.359+05:30</app:edited><title>Quick Start :To ASP.NET</title><content type='html'>&lt;b&gt;File name extensions&lt;/b&gt;&lt;br /&gt;
Web applications written with ASP.NET will consist of many files with different file name extensions. The most common are listed here. Native ASP.NET files by default have the extension .aspx (which is, of course, an extension to .asp) or .ascx. Web Services normally have the extension .asmx.Your file names containing the business logic will depend on the language you use. So, for example, a C# file&lt;br /&gt;
would have the extension .aspx.cs. You already learned about the configuration file Web.Config.&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
Another one worth mentioning is the ASP.NET application file Global.asax - in the ASP world formerly known as Global.asa. But now there is also a code behind file Global.asax.vb, for example, if the file contains Visual Basic.NET code. Global.asax is an optional The easiest way to start The easiest way to start with ASP.NET is to take a simple ASP page and change the file name extension to .aspx.&lt;b&gt;&lt;br /&gt;
Page Syntax&lt;/b&gt;&lt;br /&gt;
Here is quick introduction of syntax used in ASP.NET Directives&lt;br /&gt;
You can use directives to specify optional settings used by the page compiler when processing ASP.NET files. For each directive you can set different attributes. One example is the language directive at the beginning of a page&lt;br /&gt;
defining the default programming language.&lt;b&gt;&lt;br /&gt;
Code Declaration Blocks&lt;/b&gt;&lt;br /&gt;
Code declaration blocks are lines of code enclosed in &lt;script&gt;
 tags. They contain the runat=server attribute,which tells ASP.NET that these controls can be accessed on the server and on the client. Optionally you can specify the language for the block. The code block itself consists of the definition of member variables and methods.
&lt;b&gt;Code Render Blocks&lt;/b&gt;
Render blocks contain inline code or inline expressions enclosed by the character sequences shown here. The language used inside those blocks could be specified through a directive like the one shown before.
&lt;b&gt;HTML Control Syntax&lt;/b&gt;
You can declare several standard HTML elements as HTML server controls. Use the element as you are familiar with in HTML and add the attribute runat=server. This causes the HTML element to be treated as a server control. It is now programmatically accessible by using a unique ID. HTML server controls must reside within a &lt;form&gt;

 section that also has the attribute runat=server.
&lt;b&gt;Custom Control Syntax&lt;/b&gt;
There are two different kinds of custom controls. On the one hand there are the controls that ship with .NET, and on the other hand you can create your own custom controls. Using custom server controls is the best way to encapsulate common programmatic functionality.
Just specify elements as you did with HTML elements, but add a tag prefix, which is an alias for the fully qualified namespace of the control. Again you must include the runat=server attribute. If you want to get programmatic access to the control, just add an Id attribute.
You can include properties for each server control to characterize its behavior. For example, you can set the maximum length of a TextBox. Those properties might have sub properties; you know this principle from HTML.
Now you have the ability to specify, for example, the size and type of the font you use (font-size and font-type).The last attribute is dedicated to event binding. This can be used to bind the control to a specific event. If you implement your own method MyClick, this method will be executed when the corresponding button is clicked if
you use the server control event binding shown in the slide.
&lt;b&gt;Data Binding Expression&lt;/b&gt;
You can create bindings between server controls and data sources. The data binding expression is enclosed by the character sequences &lt;%# and %&gt;. The data-binding model provided by ASP.NET is hierarchical. That means you can create bindings between server control properties and superior data sources.
&lt;b&gt;Server-side Object Tags&lt;/b&gt;
If you need to create an instance of an object on the server, use server-side object tags. When the page is compiled, an instance of the specified object is created. To specify the object use the identifier attribute. You can declare (and instantiate) .NET objects using class as the identifier, and COM objects using either progid or
classid.
&lt;b&gt;Server-side Include Directives&lt;/b&gt;
With server-side include directives you can include raw contents of a file anywhere in your ASP.NET file. Specify the type of the path to filename with the pathtype attribute. Use either File, when specifying a relative path, or Virtual, when using a full virtual path.
&lt;b&gt;Server-side Comments&lt;/b&gt;
To prevent server code from executing, use these character sequences to comment it out. You can comment out full blocks - not just single lines.
&lt;p&gt;

&lt;/p&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7275836423005981550-7305219185105385189?l=asp-codehub.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://asp-codehub.blogspot.com/feeds/7305219185105385189/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://asp-codehub.blogspot.com/2010/06/quick-start-to-aspnet.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/7305219185105385189?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/7305219185105385189?v=2'/><link rel='alternate' type='text/html' href='http://asp-codehub.blogspot.com/2010/06/quick-start-to-aspnet.html' title='Quick Start :To ASP.NET'/><author><name>Amrit Heda</name><uri>http://www.blogger.com/profile/11592701119708837710</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='05499400176237190455'/></author><thr:total>1</thr:total></entry><entry gd:etag='W/&quot;AkMDSXY9eCp7ImA9WxFUEEw.&quot;'><id>tag:blogger.com,1999:blog-7275836423005981550.post-2011910963643948903</id><published>2010-06-20T12:51:00.000+05:30</published><updated>2010-06-20T12:51:18.860+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-06-20T12:51:18.860+05:30</app:edited><title>Architecture of Asp</title><content type='html'>&lt;span style="font-size: small;"&gt;ASP.NET is based on the fundamental architecture of .NET Framework. Visual studio provide a uniform way to combine the various features of this Architecture.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;Architecture is explained form bottom to top in the following discussion.&lt;br /&gt;
At the bottom of the Architecture is Common Language Run time. NET Framework common language run time resides on top of the operating system services. The common language runtime loads and executes code that targets the runtime. This code is therefore called managed code. The runtime gives you, for example, the ability for cross-language integration.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
1..NET Framework provides a rich set of class libraries. These include base classes, like networking and input/output classes, a data class library for data access, and classes for use by programming tools, such as debugging services. All of them are brought together by the Services Framework, which sits on top of the common Language runtime.&lt;br /&gt;
2.ADO.NET is Microsoft9s ActiveX Data Object (ADO) model for the .NET Framework. ADO.NET is not simply the migration of the popular ADO model to the managed environment but a completely new paradigm for data access and manipulation.ADO.NET is intended specifically for developing web applications. This is evident from its two major design principles:&lt;br /&gt;
Disconnected Datasets9In ADO.NET, almost all data manipulation is done outside the context of an open database connection.&lt;br /&gt;
1. Effortless Data Exchange with XML9Datasets can converse in the universal data format of the Web,namely XML.&lt;br /&gt;
2.The 4th layer of the framework consists of the Windows application model and, in parallel, the Web application model.&lt;br /&gt;
The Web application model-in the slide presented as ASP.NET-includes Web Forms and Web Services.&lt;br /&gt;
ASP.NET comes with built-in Web Forms controls, which are responsible for generating the user interface.&lt;br /&gt;
They mirror typical HTML widgets like text boxes or buttons. If these controls do not fit your needs, you are free to create your own user controls.&lt;br /&gt;
Web Services brings you a model to bind different applications over the Internet. This model is based on existing infrastructure and applications and is therefore standard-based, simple, and adaptable.&lt;br /&gt;
Web Services are software solutions delivered via Internet to any device. Today, that means Web browsers on computers, for the most part, but the device-agnostic design of .NET will eliminate this limitation.&lt;br /&gt;
4.One of the obvious themes of .NET is unification and interoperability between various programming languages. In order to achieve this; certain rules must be laid and all the languages must follow these rules. In other words we can not have languages running around creating their own extensions and their own fancy new data types. CLS is the collection of the rules and constraints that every language (that seeks to achieve .NET compatibility) must follow.&lt;br /&gt;
5.The CLR and the .NET Frameworks in general, however, are designed in such a way that code written in one language can not only seamlessly be used by another language. Hence ASP.NET can be programmed in any of the .NET compatible language whether it is VB.NET, C#, Managed C++ or JScript.NET. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7275836423005981550-2011910963643948903?l=asp-codehub.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://asp-codehub.blogspot.com/feeds/2011910963643948903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://asp-codehub.blogspot.com/2010/06/architecture-of-asp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/2011910963643948903?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/2011910963643948903?v=2'/><link rel='alternate' type='text/html' href='http://asp-codehub.blogspot.com/2010/06/architecture-of-asp.html' title='Architecture of Asp'/><author><name>Amrit Heda</name><uri>http://www.blogger.com/profile/11592701119708837710</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='05499400176237190455'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CUUARXc-eSp7ImA9WxFVGE4.&quot;'><id>tag:blogger.com,1999:blog-7275836423005981550.post-8913120851356292526</id><published>2010-06-18T09:20:00.001+05:30</published><updated>2010-06-18T09:24:04.951+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-06-18T09:24:04.951+05:30</app:edited><title>Intoduction to Asp.Net</title><content type='html'>&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;I have seen many tutorials on ASP.NET but most of them starts with coding and writing your first ASP.NET Program. But here I has written this tutorial for explaining why there is a need for ASP.NET when classy ASP is working fine and what are the underlying technology behind ASP.NET, What programming model ASP.NET&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;Provides to programmers. Now let us get started.ASP.NET is the new offering for Web developers from the Microsoft .It is not simply the next-generation of ASP;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;in fact, it is a completely re-engineered and enhanced technology that offers much, much more than traditional.ASP and can increase productivity significantly.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;Because it has evolved from ASP, ASP.NET looks very similar to its predecessor9but only at first sight. Some items look very familiar, and they remind us of ASP. But concepts like Web Forms, Web Services, or Server Controls gives ASP.NET the power to build real Web applications.&lt;/span&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit; text-align: center;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;Advantage of Asp.Net &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;1.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;b&gt;&lt;span style="font-size: small;"&gt;Support for compiled languages&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;developer can use VB.NET and access features such as strong typing and object-oriented programming.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;Using compiled languages also means that ASP.NET pages do not suffer the performance penalties&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;associated with interpreted code. ASP.NET pages are precompiled to byte-code and Just In Time (JIT)&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;compiled when first requested. Subsequent requests are directed to the fully compiled code, which is&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;cached until the source changes.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;2.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;b&gt;&lt;span style="font-size: small;"&gt;Use services provided by the .NET Framework&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;The .NET Framework provides class libraries that can be used by your application. Some of the key classes&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;help you with input/output, access to operating system services, data access, or even debugging. We will&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;go into more detail on some of them in this module.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;3.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;b&gt;&lt;span style="font-size: small;"&gt;Graphical Development Environment&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;Visual Studio .NET provides a very rich development environment for Web&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;developers. You can drag and drop controls and set properties the way you do in Visual Basic 6. And you&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;have full IntelliSense support, not only for your code, but also for HTML and XML.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;4.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;b&gt;&lt;span style="font-size: small;"&gt;State management&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;To refer to the problems mentioned before, ASP.NET provides solutions for session and application state&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;management. State information can, for example, be kept in memory or stored in a database. It can be&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;shared across Web farms, and state information can be recovered, even if the server fails or the connection&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;breaks down.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;5.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;b&gt;&lt;span style="font-size: small;"&gt;Update files while the server is running!&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;Components of your application can be updated while the server is online and clients are connected. The&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;Framework will use the new files as soon as they are copied to the application. Removed or old files that&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;are still in use are kept in memory until the clients have finished.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;6.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;b&gt;&lt;span style="font-size: small;"&gt;XML-Based Configuration Files&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;Configuration settings in ASP.NET are stored in XML files that you can easily read and edit. You can also&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;easily copy these to another server, along with the other files that comprise your application.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7275836423005981550-8913120851356292526?l=asp-codehub.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://asp-codehub.blogspot.com/feeds/8913120851356292526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://asp-codehub.blogspot.com/2010/06/intoduction-to-aspnet.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/8913120851356292526?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/8913120851356292526?v=2'/><link rel='alternate' type='text/html' href='http://asp-codehub.blogspot.com/2010/06/intoduction-to-aspnet.html' title='Intoduction to Asp.Net'/><author><name>Amrit Heda</name><uri>http://www.blogger.com/profile/11592701119708837710</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='05499400176237190455'/></author><thr:total>1</thr:total></entry><entry gd:etag='W/&quot;AkUFSHsyeip7ImA9WxFUEEw.&quot;'><id>tag:blogger.com,1999:blog-7275836423005981550.post-6025569548910101482</id><published>2010-06-17T22:29:00.001+05:30</published><updated>2010-06-20T12:46:59.592+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-06-20T12:46:59.592+05:30</app:edited><title>New Post coming soon</title><content type='html'>Dear Users,&lt;br /&gt;
Plz comment if you have Problem in Asp .Net Programming or any project issue we will solve within 24 hrs.Thank you&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7275836423005981550-6025569548910101482?l=asp-codehub.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://asp-codehub.blogspot.com/feeds/6025569548910101482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://asp-codehub.blogspot.com/2010/06/new-post-coming-soon.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/6025569548910101482?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7275836423005981550/posts/default/6025569548910101482?v=2'/><link rel='alternate' type='text/html' href='http://asp-codehub.blogspot.com/2010/06/new-post-coming-soon.html' title='New Post coming soon'/><author><name>Amrit Heda</name><uri>http://www.blogger.com/profile/11592701119708837710</uri><email>noreply@blogger.com</email><gd:extendedProperty name='OpenSocialUserId' value='05499400176237190455'/></author><thr:total>0</thr:total></entry></feed>