<?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/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3235626085335077763</id><updated>2026-09-06T22:10:51.499-07:00</updated><category term="AngularJS - Beginners"/><category term=".NET"/><category term="AI"/><category term="AI Agent"/><category term="AI Development"/><category term="ASP.NET Core"/><category term="Artificial Intelligence"/><category term="C#"/><category term="Generative AI"/><category term="LLM"/><category term="Local AI"/><category term="Local LLM"/><category term="Ollama"/><title type='text'>IT Shikshalaya</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dinesh-itsolutions.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://dinesh-itsolutions.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/02406148628424313198</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8BO156BJmN4bX4dP8H5HEzulUUtlFjU2_RKw7ryoeoaMKzR_jM3LneXZcdHN84greYj70_ooXd60c5Dmgfv63O8hZe78v-QXJwGuoS-4lu9cZhhgn6w9C1G7EieiAWAU/s113/Photo-0006.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3235626085335077763.post-6000090724642574992</id><published>2026-09-06T22:08:03.116-07:00</published><updated>2026-09-06T22:10:34.053-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET"/><category scheme="http://www.blogger.com/atom/ns#" term="AI"/><category scheme="http://www.blogger.com/atom/ns#" term="AI Agent"/><category scheme="http://www.blogger.com/atom/ns#" term="AI Development"/><category scheme="http://www.blogger.com/atom/ns#" term="AngularJS - Beginners"/><category scheme="http://www.blogger.com/atom/ns#" term="Artificial Intelligence"/><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET Core"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="Generative AI"/><category scheme="http://www.blogger.com/atom/ns#" term="LLM"/><category scheme="http://www.blogger.com/atom/ns#" term="Local AI"/><category scheme="http://www.blogger.com/atom/ns#" term="Local LLM"/><category scheme="http://www.blogger.com/atom/ns#" term="Ollama"/><title type='text'>Building a Local AI Agent with .NET and Ollama — Getting Started</title><content type='html'>&lt;p&gt;AI is everywhere these days, but most of the examples we see involve sending our data to a cloud-based AI service.&lt;/p&gt;

&lt;p&gt;I wanted to try something a little different:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can we build an AI agent that runs locally and can be integrated with a .NET application?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The answer is yes.&lt;/p&gt;

&lt;p&gt;In this series, I&amp;rsquo;ll walk through how I&amp;rsquo;m building a &lt;strong&gt;local AI agent using .NET, C# and Ollama&lt;/strong&gt;, and gradually give the agent more capabilities.&lt;/p&gt;

&lt;p&gt;The goal isn&amp;rsquo;t just to create another chatbot. We will eventually make the agent capable of working with &lt;strong&gt;files, databases, APIs and other tools&lt;/strong&gt;.&lt;/p&gt;

&lt;hr&gt;

&lt;h2&gt;What Are We Building?&lt;/h2&gt;

&lt;p&gt;The basic idea is fairly simple. We will have a .NET application that communicates with a locally running AI model.&lt;/p&gt;
&lt;div style=&quot;margin:30px auto; max-width:700px; font-family:Arial,sans-serif;&quot;&gt;

  &lt;div style=&quot;text-align:center;&quot;&gt;
    &lt;div style=&quot;display:inline-block; padding:14px 28px; background:#f1f5f9; border:1px solid #cbd5e1; border-radius:8px; font-weight:bold;&quot;&gt;
      User Request
    &lt;/div&gt;

    &lt;div style=&quot;font-size:28px; line-height:35px;&quot;&gt;↓&lt;/div&gt;

    &lt;div style=&quot;display:inline-block; padding:14px 40px; background:#e0f2fe; border:1px solid #7dd3fc; border-radius:8px; font-weight:bold;&quot;&gt;
      AI Agent
    &lt;/div&gt;

    &lt;div style=&quot;font-size:28px; line-height:35px;&quot;&gt;↓&lt;/div&gt;
  &lt;/div&gt;

  &lt;div style=&quot;border:1px solid #d1d5db; border-radius:10px; padding:20px; background:#fafafa;&quot;&gt;

    &lt;div style=&quot;font-weight:bold; margin-bottom:15px; text-align:center;&quot;&gt;
      Agent Decision &amp;amp; Execution
    &lt;/div&gt;

    &lt;div style=&quot;display:flex; align-items:center; gap:12px; margin:10px 0;&quot;&gt;
      &lt;div style=&quot;width:30px; text-align:center;&quot;&gt;1&lt;/div&gt;
      &lt;div style=&quot;flex:1; padding:10px 14px; background:white; border:1px solid #ddd; border-radius:6px;&quot;&gt;
        Decide what needs to be done
      &lt;/div&gt;
    &lt;/div&gt;

    &lt;div style=&quot;display:flex; align-items:center; gap:12px; margin:10px 0;&quot;&gt;
      &lt;div style=&quot;width:30px; text-align:center;&quot;&gt;2&lt;/div&gt;
      &lt;div style=&quot;flex:1; padding:10px 14px; background:white; border:1px solid #ddd; border-radius:6px;&quot;&gt;
        Call a tool
      &lt;/div&gt;
    &lt;/div&gt;

    &lt;div style=&quot;display:flex; align-items:center; gap:12px; margin:10px 0;&quot;&gt;
      &lt;div style=&quot;width:30px; text-align:center;&quot;&gt;3&lt;/div&gt;
      &lt;div style=&quot;flex:1; padding:10px 14px; background:white; border:1px solid #ddd; border-radius:6px;&quot;&gt;
        Read the result
      &lt;/div&gt;
    &lt;/div&gt;

    &lt;div style=&quot;display:flex; align-items:center; gap:12px; margin:10px 0;&quot;&gt;
      &lt;div style=&quot;width:30px; text-align:center;&quot;&gt;4&lt;/div&gt;
      &lt;div style=&quot;flex:1; padding:10px 14px; background:white; border:1px solid #ddd; border-radius:6px;&quot;&gt;
        Think about the result
      &lt;/div&gt;
    &lt;/div&gt;

    &lt;div style=&quot;display:flex; align-items:center; gap:12px; margin:10px 0;&quot;&gt;
      &lt;div style=&quot;width:30px; text-align:center;&quot;&gt;5&lt;/div&gt;
      &lt;div style=&quot;flex:1; padding:10px 14px; background:white; border:1px solid #ddd; border-radius:6px;&quot;&gt;
        Continue if necessary
      &lt;/div&gt;
    &lt;/div&gt;

  &lt;/div&gt;

  &lt;div style=&quot;text-align:center;&quot;&gt;
    &lt;div style=&quot;font-size:28px; line-height:35px;&quot;&gt;↓&lt;/div&gt;

    &lt;div style=&quot;display:inline-block; padding:14px 35px; background:#dcfce7; border:1px solid #86efac; border-radius:8px; font-weight:bold;&quot;&gt;
      Final Answer
    &lt;/div&gt;
  &lt;/div&gt;

&lt;/div&gt;

&lt;p&gt;Everything runs on our own machine.&lt;/p&gt;

&lt;p&gt;That means we don&amp;rsquo;t need to send every prompt to an external AI API just to experiment with the technology.&lt;/p&gt;

&lt;p&gt;Of course, whether a particular local model is powerful enough depends on your computer&amp;rsquo;s hardware and the model you choose.&lt;/p&gt;

&lt;hr&gt;

&lt;h2&gt;Why Use a Local AI Model?&lt;/h2&gt;

&lt;h3&gt;1. Privacy&lt;/h3&gt;

&lt;p&gt;If you&amp;rsquo;re experimenting with internal documents or development data, keeping the AI processing locally can be useful.&lt;/p&gt;

&lt;h3&gt;2. No API Key&lt;/h3&gt;

&lt;p&gt;For local experimentation, you don&amp;rsquo;t need to create an account with an AI provider just to start testing.&lt;/p&gt;

&lt;h3&gt;3. Learning&lt;/h3&gt;

&lt;p&gt;This is probably the biggest reason.&lt;/p&gt;

&lt;p&gt;When everything runs locally, you get a much better understanding of what is actually happening between your application and the AI model.&lt;/p&gt;

&lt;h3&gt;4. Development Freedom&lt;/h3&gt;

&lt;p&gt;You can experiment with prompts, models, tools and agent workflows without worrying about API usage costs during every test.&lt;/p&gt;

&lt;hr&gt;

&lt;h2&gt;What Is Ollama?&lt;/h2&gt;

&lt;p&gt;For this project, we&amp;rsquo;ll use &lt;strong&gt;Ollama&lt;/strong&gt; to run the AI model locally.&lt;/p&gt;

&lt;p&gt;Ollama makes it relatively easy to download and run different language models on your own computer.&lt;/p&gt;

&lt;p&gt;Once Ollama is installed, you can download a model and run it from the command line.&lt;/p&gt;

&lt;pre style=&quot;background:#1e1e1e;color:#f5f5f5;padding:15px;border-radius:6px;overflow:auto;&quot;&gt;&lt;code&gt;ollama pull llama3.2&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then:&lt;/p&gt;

&lt;pre style=&quot;background:#1e1e1e;color:#f5f5f5;padding:15px;border-radius:6px;overflow:auto;&quot;&gt;&lt;code&gt;ollama run llama3.2&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Now you have a local AI model running on your machine.&lt;/p&gt;

&lt;p&gt;The exact model you choose can change as new models become available, so don&amp;rsquo;t consider the model name above a permanent requirement for the project.&lt;/p&gt;

&lt;hr&gt;

&lt;h2&gt;Creating the .NET Project&lt;/h2&gt;

&lt;p&gt;I&amp;rsquo;m going to use ASP.NET Core for the application.&lt;/p&gt;

&lt;p&gt;Create a new Web API project:&lt;/p&gt;

&lt;pre style=&quot;background:#1e1e1e;color:#f5f5f5;padding:15px;border-radius:6px;overflow:auto;&quot;&gt;&lt;code&gt;dotnet new webapi -n LocalAIAgent&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Move into the project:&lt;/p&gt;

&lt;pre style=&quot;background:#1e1e1e;color:#f5f5f5;padding:15px;border-radius:6px;overflow:auto;&quot;&gt;&lt;code&gt;cd LocalAIAgent&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;And run it:&lt;/p&gt;

&lt;pre style=&quot;background:#1e1e1e;color:#f5f5f5;padding:15px;border-radius:6px;overflow:auto;&quot;&gt;&lt;code&gt;dotnet run&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;At this point, we have a normal ASP.NET Core application.&lt;/p&gt;

&lt;p&gt;Nothing particularly exciting yet.&lt;/p&gt;

&lt;p&gt;The interesting part comes when we connect it to our local AI model.&lt;/p&gt;

&lt;hr&gt;

&lt;h2&gt;Calling Ollama from C#&lt;/h2&gt;

&lt;p&gt;Ollama exposes an HTTP API, which means we can communicate with it from our .NET application using the standard &lt;code&gt;HttpClient&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;pre style=&quot;background:#1e1e1e;color:#f5f5f5;padding:15px;border-radius:6px;overflow:auto;&quot;&gt;&lt;code&gt;using System.Net.Http.Json; public class OllamaService { private readonly HttpClient _httpClient; public OllamaService(HttpClient httpClient) { _httpClient = httpClient; } public async Task&amp;lt;string?&amp;gt; AskAsync(string prompt) { var request = new { model = &quot;llama3.2&quot;, prompt = prompt, stream = false }; var response = await _httpClient.PostAsJsonAsync( &quot;http://localhost:11434/api/generate&quot;, request); response.EnsureSuccessStatusCode(); var result = await response.Content .ReadFromJsonAsync&amp;lt;OllamaResponse&amp;gt;(); return result?.Response; } } public class OllamaResponse { public string? Response { get; set; } }&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The important thing here is that we&amp;rsquo;re not calling a cloud AI service.&lt;/p&gt;

&lt;p&gt;We&amp;rsquo;re simply making an HTTP request to a service running on our own computer.&lt;/p&gt;

&lt;hr&gt;

&lt;h2&gt;Registering the Service&lt;/h2&gt;

&lt;p&gt;In &lt;code&gt;Program.cs&lt;/code&gt;:&lt;/p&gt;

&lt;pre style=&quot;background:#1e1e1e;color:#f5f5f5;padding:15px;border-radius:6px;overflow:auto;&quot;&gt;&lt;code&gt;builder.Services.AddHttpClient&amp;lt;OllamaService&amp;gt;();&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Now ASP.NET Core can inject our service wherever we need it.&lt;/p&gt;

&lt;p&gt;We can then create a simple controller:&lt;/p&gt;

&lt;pre style=&quot;background:#1e1e1e;color:#f5f5f5;padding:15px;border-radius:6px;overflow:auto;&quot;&gt;&lt;code&gt;[ApiController] [Route(&quot;api/[controller]&quot;)] public class AIController : ControllerBase { private readonly OllamaService _ollama; public AIController(OllamaService ollama) { _ollama = ollama; } [HttpPost(&quot;ask&quot;)] public async Task&amp;lt;IActionResult&amp;gt; Ask(string prompt) { var response = await _ollama.AskAsync(prompt); return Ok(new { response }); } }&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Now our .NET application can send a question to the local model and return the response.&lt;/p&gt;

&lt;hr&gt;

&lt;h2&gt;But This Isn&amp;rsquo;t Really an AI Agent Yet&lt;/h2&gt;

&lt;p&gt;And this is an important distinction.&lt;/p&gt;

&lt;p&gt;At this stage, we have something closer to a &lt;strong&gt;local AI chatbot&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;An agent is more interesting.&lt;/p&gt;

&lt;p&gt;Instead of simply doing this:&lt;/p&gt;

&lt;pre style=&quot;background:#f4f4f4;padding:15px;border-radius:6px;overflow:auto;&quot;&gt; Question &amp;rarr; AI &amp;rarr; Answer &lt;/pre&gt;

&lt;p&gt;we want to eventually build something like:&lt;/p&gt;

&lt;div style=&quot;margin:30px auto; max-width:700px; font-family:Arial,sans-serif;&quot;&gt;

  &lt;div style=&quot;text-align:center;&quot;&gt;
    &lt;div style=&quot;display:inline-block; padding:14px 28px; background:#f1f5f9; border:1px solid #cbd5e1; border-radius:8px; font-weight:bold;&quot;&gt;
      User Request
    &lt;/div&gt;

    &lt;div style=&quot;font-size:28px; line-height:35px;&quot;&gt;↓&lt;/div&gt;

    &lt;div style=&quot;display:inline-block; padding:14px 40px; background:#e0f2fe; border:1px solid #7dd3fc; border-radius:8px; font-weight:bold;&quot;&gt;
      AI Agent
    &lt;/div&gt;

    &lt;div style=&quot;font-size:28px; line-height:35px;&quot;&gt;↓&lt;/div&gt;
  &lt;/div&gt;

  &lt;div style=&quot;border:1px solid #d1d5db; border-radius:10px; padding:20px; background:#fafafa;&quot;&gt;

    &lt;div style=&quot;font-weight:bold; margin-bottom:15px; text-align:center;&quot;&gt;
      Agent Decision &amp;amp; Execution
    &lt;/div&gt;

    &lt;div style=&quot;display:flex; align-items:center; gap:12px; margin:10px 0;&quot;&gt;
      &lt;div style=&quot;width:30px; text-align:center;&quot;&gt;1&lt;/div&gt;
      &lt;div style=&quot;flex:1; padding:10px 14px; background:white; border:1px solid #ddd; border-radius:6px;&quot;&gt;
        Decide what needs to be done
      &lt;/div&gt;
    &lt;/div&gt;

    &lt;div style=&quot;display:flex; align-items:center; gap:12px; margin:10px 0;&quot;&gt;
      &lt;div style=&quot;width:30px; text-align:center;&quot;&gt;2&lt;/div&gt;
      &lt;div style=&quot;flex:1; padding:10px 14px; background:white; border:1px solid #ddd; border-radius:6px;&quot;&gt;
        Call a tool
      &lt;/div&gt;
    &lt;/div&gt;

    &lt;div style=&quot;display:flex; align-items:center; gap:12px; margin:10px 0;&quot;&gt;
      &lt;div style=&quot;width:30px; text-align:center;&quot;&gt;3&lt;/div&gt;
      &lt;div style=&quot;flex:1; padding:10px 14px; background:white; border:1px solid #ddd; border-radius:6px;&quot;&gt;
        Read the result
      &lt;/div&gt;
    &lt;/div&gt;

    &lt;div style=&quot;display:flex; align-items:center; gap:12px; margin:10px 0;&quot;&gt;
      &lt;div style=&quot;width:30px; text-align:center;&quot;&gt;4&lt;/div&gt;
      &lt;div style=&quot;flex:1; padding:10px 14px; background:white; border:1px solid #ddd; border-radius:6px;&quot;&gt;
        Think about the result
      &lt;/div&gt;
    &lt;/div&gt;

    &lt;div style=&quot;display:flex; align-items:center; gap:12px; margin:10px 0;&quot;&gt;
      &lt;div style=&quot;width:30px; text-align:center;&quot;&gt;5&lt;/div&gt;
      &lt;div style=&quot;flex:1; padding:10px 14px; background:white; border:1px solid #ddd; border-radius:6px;&quot;&gt;
        Continue if necessary
      &lt;/div&gt;
    &lt;/div&gt;

  &lt;/div&gt;

  &lt;div style=&quot;text-align:center;&quot;&gt;
    &lt;div style=&quot;font-size:28px; line-height:35px;&quot;&gt;↓&lt;/div&gt;

    &lt;div style=&quot;display:inline-block; padding:14px 35px; background:#dcfce7; border:1px solid #86efac; border-radius:8px; font-weight:bold;&quot;&gt;
      Final Answer
    &lt;/div&gt;
  &lt;/div&gt;

&lt;/div&gt;

&lt;p&gt;For example, imagine asking:&lt;/p&gt;

&lt;blockquote&gt; &lt;p&gt;&amp;ldquo;Find the sales report for August and tell me which product had the highest sales.&amp;rdquo;&lt;/p&gt; &lt;/blockquote&gt;

&lt;p&gt;A normal chatbot may simply tell you that it doesn&amp;rsquo;t have access to your files.&lt;/p&gt;

&lt;p&gt;Our agent could eventually:&lt;/p&gt;

&lt;ol&gt; &lt;li&gt;Search a folder.&lt;/li&gt; &lt;li&gt;Find the relevant report.&lt;/li&gt; &lt;li&gt;Read the file.&lt;/li&gt; &lt;li&gt;Analyze the data.&lt;/li&gt; &lt;li&gt;Determine the highest-selling product.&lt;/li&gt; &lt;li&gt;Return the result.&lt;/li&gt; &lt;/ol&gt;

&lt;p&gt;That&amp;rsquo;s where things start getting interesting.&lt;/p&gt;

&lt;hr&gt;

&lt;h2&gt;Where We Are Going Next&lt;/h2&gt;

&lt;p&gt;In the next parts of this series, I&amp;rsquo;ll extend this basic application step by step.&lt;/p&gt;

&lt;ul&gt; &lt;li&gt;Conversation memory&lt;/li&gt; &lt;li&gt;System prompts&lt;/li&gt; &lt;li&gt;Agent tools&lt;/li&gt; &lt;li&gt;Reading local files&lt;/li&gt; &lt;li&gt;Working with PDFs&lt;/li&gt; &lt;li&gt;Connecting to SQL Server&lt;/li&gt; &lt;li&gt;Calling external APIs&lt;/li&gt; &lt;li&gt;RAG (Retrieval-Augmented Generation)&lt;/li&gt; &lt;li&gt;Angular frontend&lt;/li&gt; &lt;li&gt;Multi-step agent workflows&lt;/li&gt; &lt;li&gt;Authentication and security&lt;/li&gt; &lt;/ul&gt;

&lt;p&gt;The final goal is to have a &lt;strong&gt;useful local AI assistant built around .NET&lt;/strong&gt;, rather than just another chat window.&lt;/p&gt;

&lt;hr&gt;

&lt;h2&gt;Why I&amp;rsquo;m Building This&lt;/h2&gt;

&lt;p&gt;AI development doesn&amp;rsquo;t have to mean abandoning the technologies we already use.&lt;/p&gt;

&lt;p&gt;If you&amp;rsquo;re a .NET developer, you can bring AI into the applications you&amp;rsquo;re already comfortable building with &lt;strong&gt;C#, ASP.NET Core, SQL Server and Angular&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;That&amp;rsquo;s what I want to explore through this series.&lt;/p&gt;

&lt;p&gt;I&amp;rsquo;ll keep the examples practical and build the project incrementally so that we can see not only &lt;em&gt;what&lt;/em&gt; works, but also &lt;em&gt;why&lt;/em&gt; it works.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In the next article, we&amp;rsquo;ll connect our .NET application to Ollama properly and build our first working local AI chat endpoint.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Stay tuned.&lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;&lt;strong&gt;Dinesh Wadhwa&lt;/strong&gt;&lt;br&gt; &lt;em&gt;IT Solutions&lt;/em&gt;&lt;br&gt; &lt;em&gt;Full Stack Developer&lt;/em&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://dinesh-itsolutions.blogspot.com/feeds/6000090724642574992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2026/09/building-local-ai-agent-with-net-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/6000090724642574992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/6000090724642574992'/><link rel='alternate' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2026/09/building-local-ai-agent-with-net-and.html' title='Building a Local AI Agent with .NET and Ollama — Getting Started'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/02406148628424313198</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8BO156BJmN4bX4dP8H5HEzulUUtlFjU2_RKw7ryoeoaMKzR_jM3LneXZcdHN84greYj70_ooXd60c5Dmgfv63O8hZe78v-QXJwGuoS-4lu9cZhhgn6w9C1G7EieiAWAU/s113/Photo-0006.jpg'/></author><thr:total>0</thr:total><georss:featurename>United States</georss:featurename><georss:point>38.7945952 -106.5348379</georss:point><georss:box>-33.96578214909907 112.84016209999999 90 34.0901621</georss:box></entry><entry><id>tag:blogger.com,1999:blog-3235626085335077763.post-961035226147961</id><published>2025-02-10T22:25:00.000-08:00</published><updated>2025-02-10T23:19:51.243-08:00</updated><title type='text'>Free Online Calculators | SWP, BMI &amp; Random Number Generator</title><content type='html'>&lt;h1&gt;Free Online Calculators&lt;/h1&gt;
&lt;button onclick=&quot;showSection(&#39;swp&#39;)&quot;&gt;SWP Calculator&lt;/button&gt;
&lt;button onclick=&quot;showSection(&#39;bmi&#39;)&quot;&gt;BMI Calculator&lt;/button&gt;
&lt;button onclick=&quot;showSection(&#39;random&#39;)&quot;&gt;Random Number Generator&lt;/button&gt;

&lt;div class=&quot;container&quot;&gt;
  &lt;!-- SWP Calculator --&gt;
  &lt;div id=&quot;swp&quot; class=&quot;section&quot;&gt;
    &lt;h2&gt;SWP Calculator - Systematic Withdrawal Plan&lt;/h2&gt;
    &lt;p&gt;
      Calculate how long your investments will last with systematic withdrawals.
      This tool helps you plan your finances by estimating the duration of your
      funds based on monthly withdrawals.
    &lt;/p&gt;

    &lt;label for=&quot;investment&quot;&gt;Total Investment&lt;/label&gt;
    &lt;input type=&quot;number&quot; id=&quot;investment&quot; placeholder=&quot;Total Investment&quot; /&gt;

    &lt;label for=&quot;withdrawal&quot;&gt;Monthly Withdrawal&lt;/label&gt;
    &lt;input type=&quot;number&quot; id=&quot;withdrawal&quot; placeholder=&quot;Monthly Withdrawal&quot; /&gt;

    &lt;label for=&quot;rate&quot;&gt;Annual Interest Rate (%)&lt;/label&gt;
    &lt;input type=&quot;number&quot; id=&quot;rate&quot; placeholder=&quot;Annual Interest Rate (%)&quot; /&gt;

    &lt;label for=&quot;time&quot;&gt;Time (Years)&lt;/label&gt;
    &lt;input type=&quot;number&quot; id=&quot;time&quot; placeholder=&quot;Time (Years)&quot; /&gt;

    &lt;button onclick=&quot;calculateSWP()&quot;&gt;Calculate&lt;/button&gt;
    &lt;p id=&quot;swpResult&quot;&gt;&lt;/p&gt;
    &lt;!-- Google AdSense Ad --&gt;
    &lt;ins
      class=&quot;adsbygoogle&quot;
      style=&quot;display:block&quot;
      data-ad-client=&quot;your-ad-client-id&quot;
      data-ad-slot=&quot;your-ad-slot-id&quot;
      data-ad-format=&quot;auto&quot;
    &gt;&lt;/ins&gt;
  &lt;/div&gt;

  &lt;!-- BMI Calculator --&gt;
  &lt;div id=&quot;bmi&quot; class=&quot;section&quot;&gt;
    &lt;h2&gt;BMI Calculator - Body Mass Index&lt;/h2&gt;
    &lt;p&gt;
      Check your BMI to determine if you are underweight, normal, overweight, or
      obese. This calculator helps you assess your body mass index based on your
      weight and height.
    &lt;/p&gt;

    &lt;label for=&quot;weight&quot;&gt;Weight (kg)&lt;/label&gt;
    &lt;input type=&quot;number&quot; id=&quot;weight&quot; placeholder=&quot;Weight (kg)&quot; /&gt;

    &lt;label for=&quot;heightUnit&quot;&gt;Height Unit&lt;/label&gt;
    &lt;select id=&quot;heightUnit&quot; onchange=&quot;toggleHeightInputs()&quot;&gt;
      &lt;option value=&quot;m&quot;&gt;Meters (m)&lt;/option&gt;
      &lt;option value=&quot;ft&quot;&gt;Feet &amp; Inches&lt;/option&gt;
    &lt;/select&gt;

    &lt;!-- Height in Meters --&gt;
    &lt;div id=&quot;heightInMeters&quot;&gt;
      &lt;label for=&quot;height&quot;&gt;Height (m)&lt;/label&gt;
      &lt;input type=&quot;number&quot; id=&quot;height&quot; placeholder=&quot;Height (m)&quot; /&gt;
    &lt;/div&gt;

    &lt;!-- Height in Feet &amp; Inches --&gt;
    &lt;div id=&quot;heightInFeetInches&quot; style=&quot;display: none;&quot;&gt;
      &lt;label for=&quot;feet&quot;&gt;Height (Feet)&lt;/label&gt;
      &lt;input type=&quot;number&quot; id=&quot;feet&quot; placeholder=&quot;Feet&quot; /&gt;

      &lt;label for=&quot;inches&quot;&gt;Height (Inches)&lt;/label&gt;
      &lt;input type=&quot;number&quot; id=&quot;inches&quot; placeholder=&quot;Inches&quot; /&gt;
    &lt;/div&gt;

    &lt;button onclick=&quot;calculateBMI()&quot;&gt;Calculate&lt;/button&gt;
    &lt;p id=&quot;bmiResult&quot;&gt;&lt;/p&gt;
    &lt;p id=&quot;bmiCategories&quot;&gt;&lt;/p&gt;
    &lt;!-- Added this paragraph for categories --&gt;
    &lt;!-- Google AdSense Ad --&gt;
    &lt;ins
      class=&quot;adsbygoogle&quot;
      style=&quot;display:block&quot;
      data-ad-client=&quot;your-ad-client-id&quot;
      data-ad-slot=&quot;your-ad-slot-id&quot;
      data-ad-format=&quot;auto&quot;
    &gt;&lt;/ins&gt;
  &lt;/div&gt;

  &lt;!-- Random Number Generator --&gt;
  &lt;div id=&quot;random&quot; class=&quot;section&quot;&gt;
    &lt;h2&gt;Random Number Generator&lt;/h2&gt;
    &lt;p&gt;
      Generate a random number between the specified range. This tool is great
      for picking random numbers for games, decisions, or experiments.
    &lt;/p&gt;

    &lt;label for=&quot;min&quot;&gt;Min&lt;/label&gt;
    &lt;input type=&quot;number&quot; id=&quot;min&quot; placeholder=&quot;Min&quot; /&gt;

    &lt;label for=&quot;max&quot;&gt;Max&lt;/label&gt;
    &lt;input type=&quot;number&quot; id=&quot;max&quot; placeholder=&quot;Max&quot; /&gt;

    &lt;button onclick=&quot;generateRandom()&quot;&gt;Generate&lt;/button&gt;
    &lt;p id=&quot;randomResult&quot;&gt;&lt;/p&gt;
    &lt;!-- Google AdSense Ad --&gt;
    &lt;ins
      class=&quot;adsbygoogle&quot;
      style=&quot;display:block&quot;
      data-ad-client=&quot;your-ad-client-id&quot;
      data-ad-slot=&quot;your-ad-slot-id&quot;
      data-ad-format=&quot;auto&quot;
    &gt;&lt;/ins&gt;
  &lt;/div&gt;
&lt;/div&gt;

</content><link rel='replies' type='application/atom+xml' href='http://dinesh-itsolutions.blogspot.com/feeds/961035226147961/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2025/02/free-online-calculators-swp-bmi-random.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/961035226147961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/961035226147961'/><link rel='alternate' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2025/02/free-online-calculators-swp-bmi-random.html' title='Free Online Calculators | SWP, BMI &amp; Random Number Generator'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/02406148628424313198</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8BO156BJmN4bX4dP8H5HEzulUUtlFjU2_RKw7ryoeoaMKzR_jM3LneXZcdHN84greYj70_ooXd60c5Dmgfv63O8hZe78v-QXJwGuoS-4lu9cZhhgn6w9C1G7EieiAWAU/s113/Photo-0006.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3235626085335077763.post-4093144410024847536</id><published>2018-08-17T21:02:00.001-07:00</published><updated>2018-08-17T21:02:05.133-07:00</updated><title type='text'></title><content type='html'>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC2qirBL683vf6MtSNdVfVVNrrZfGR2xcEURM-9mal_J-aFn_v5zyhWxa4OUKhb2wtA_UQ6lODgilvgy-6WB1azaSebGx3RWPKDPNarBBG7JgqVzAPgjf0cYVg3aBCinemkc7JAnJCJaGx/s1600/gd1.jpg&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC2qirBL683vf6MtSNdVfVVNrrZfGR2xcEURM-9mal_J-aFn_v5zyhWxa4OUKhb2wtA_UQ6lODgilvgy-6WB1azaSebGx3RWPKDPNarBBG7JgqVzAPgjf0cYVg3aBCinemkc7JAnJCJaGx/s320/gd1.jpg&quot; width=&quot;320&quot; height=&quot;320&quot; data-original-width=&quot;564&quot; data-original-height=&quot;564&quot; /&gt;&lt;/a&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinesh-itsolutions.blogspot.com/feeds/4093144410024847536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2018/08/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/4093144410024847536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/4093144410024847536'/><link rel='alternate' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2018/08/blog-post.html' title=''/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/02406148628424313198</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8BO156BJmN4bX4dP8H5HEzulUUtlFjU2_RKw7ryoeoaMKzR_jM3LneXZcdHN84greYj70_ooXd60c5Dmgfv63O8hZe78v-QXJwGuoS-4lu9cZhhgn6w9C1G7EieiAWAU/s113/Photo-0006.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC2qirBL683vf6MtSNdVfVVNrrZfGR2xcEURM-9mal_J-aFn_v5zyhWxa4OUKhb2wtA_UQ6lODgilvgy-6WB1azaSebGx3RWPKDPNarBBG7JgqVzAPgjf0cYVg3aBCinemkc7JAnJCJaGx/s72-c/gd1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3235626085335077763.post-1457790579846744934</id><published>2018-01-27T20:41:00.000-08:00</published><updated>2018-01-27T20:48:54.156-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AngularJS - Beginners"/><title type='text'>AngularJS Introduction</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;Introduction to AngularJs&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Components of AngularJs &amp;amp; Core Features&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;iframe allowfullscreen=&quot;&quot; class=&quot;YOUTUBE-iframe-video&quot; data-thumbnail-src=&quot;https://i.ytimg.com/vi/2xulY3VmPtc/0.jpg&quot; frameborder=&quot;0&quot; height=&quot;266&quot; src=&quot;https://www.youtube.com/embed/2xulY3VmPtc?feature=player_embedded&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinesh-itsolutions.blogspot.com/feeds/1457790579846744934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2018/01/angularjs-introduction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/1457790579846744934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/1457790579846744934'/><link rel='alternate' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2018/01/angularjs-introduction.html' title='AngularJS Introduction'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/02406148628424313198</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8BO156BJmN4bX4dP8H5HEzulUUtlFjU2_RKw7ryoeoaMKzR_jM3LneXZcdHN84greYj70_ooXd60c5Dmgfv63O8hZe78v-QXJwGuoS-4lu9cZhhgn6w9C1G7EieiAWAU/s113/Photo-0006.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/2xulY3VmPtc/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3235626085335077763.post-4120334865285780121</id><published>2015-05-13T22:39:00.000-07:00</published><updated>2015-05-13T22:41:46.799-07:00</updated><title type='text'>Export Grid View of .Net to Excel</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Dear All,&lt;br /&gt;
&lt;br /&gt;
Here is a new article for exporting your Grid View to Excel. Feel Free to ask your queries. Following are the steps for this:&lt;br /&gt;
&lt;br /&gt;
1. Create a Grid View on Web Page.&lt;br /&gt;
2. Bind grid view with data.&amp;nbsp; For binding of gridview you can refer to the previous article &lt;b&gt;&quot;Dynamic Gridview Bind&quot; Url: http://dinesh-itsolutions.blogspot.in/2010/09/dynamic-gridview-bind.html.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
3. After binding the grid view put a button on the web page named &lt;b&gt;&quot;Export to Excel&quot;.&amp;nbsp; &lt;/b&gt;On Clicking of that button you can copy and paste the following code.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;code_block&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;protected&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; btnExport(&lt;span style=&quot;color: blue;&quot;&gt;object&lt;/span&gt; sender, &lt;span style=&quot;color: #2b91af;&quot;&gt;EventArgs&lt;/span&gt; e)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Clear();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Buffer = &lt;span style=&quot;color: blue;&quot;&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.AddHeader(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;content-disposition&quot;&lt;/span&gt;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;attachment;filename=ExportedFile.xls&quot;&lt;/span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Charset = &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;&quot;&lt;/span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.ContentType = &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;application/vnd.ms-excel&quot;&lt;/span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;using&lt;/span&gt; (&lt;span style=&quot;color: #2b91af;&quot;&gt;StringWriter&lt;/span&gt; sw = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;StringWriter&lt;/span&gt;())&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2b91af;&quot;&gt;HtmlTextWriter&lt;/span&gt; hw = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;HtmlTextWriter&lt;/span&gt;(sw);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;//To Export all pages&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GridView1.AllowPaging = &lt;span style=&quot;color: blue;&quot;&gt;false&lt;/span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;this&lt;/span&gt;.gridbind();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GridView1.HeaderRow.BackColor = &lt;span style=&quot;color: #2b91af;&quot;&gt;Color&lt;/span&gt;.White;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;foreach&lt;/span&gt; (&lt;span style=&quot;color: #2b91af;&quot;&gt;TableCell&lt;/span&gt; cell &lt;span style=&quot;color: blue;&quot;&gt;in&lt;/span&gt; GridView1.HeaderRow.Cells)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cell.BackColor = GridView1.HeaderStyle.BackColor;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;foreach&lt;/span&gt; (&lt;span style=&quot;color: #2b91af;&quot;&gt;GridViewRow&lt;/span&gt; row &lt;span style=&quot;color: blue;&quot;&gt;in&lt;/span&gt; GridView1.Rows)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; row.BackColor = &lt;span style=&quot;color: #2b91af;&quot;&gt;Color&lt;/span&gt;.White;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;foreach&lt;/span&gt; (&lt;span style=&quot;color: #2b91af;&quot;&gt;TableCell&lt;/span&gt; cell &lt;span style=&quot;color: blue;&quot;&gt;in&lt;/span&gt; row.Cells)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (row.RowIndex % 2 == 0)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cell.BackColor = GridView1.AlternatingRowStyle.BackColor;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;else&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cell.BackColor = GridView1.RowStyle.BackColor;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cell.CssClass = &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;textmode&quot;&lt;/span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GridView1.RenderControl(hw);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt; style = &lt;span style=&quot;color: #a31515;&quot;&gt;@&quot;&amp;lt;style&amp;gt; .textmode { } &amp;lt;/style&amp;gt;&quot;&lt;/span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Write(style);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Output.Write(sw.ToString());&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Flush();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.End();&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;
   //This is necessary event.So do copy/paste this also.&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue; font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;override&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; VerifyRenderingInServerForm(&lt;span style=&quot;color: #2b91af;&quot;&gt;Control&lt;/span&gt; control)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 9.5pt;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;On Clicking of the button. You can successfully export your grid view to the excel.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Hope you like the article. :-)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinesh-itsolutions.blogspot.com/feeds/4120334865285780121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2015/05/export-grid-view-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/4120334865285780121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/4120334865285780121'/><link rel='alternate' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2015/05/export-grid-view-of.html' title='Export Grid View of .Net to Excel'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/02406148628424313198</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8BO156BJmN4bX4dP8H5HEzulUUtlFjU2_RKw7ryoeoaMKzR_jM3LneXZcdHN84greYj70_ooXd60c5Dmgfv63O8hZe78v-QXJwGuoS-4lu9cZhhgn6w9C1G7EieiAWAU/s113/Photo-0006.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3235626085335077763.post-5533100764450046606</id><published>2011-09-07T03:09:00.000-07:00</published><updated>2013-07-06T21:14:58.579-07:00</updated><title type='text'>Delete data from Gridview using Command Field</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;meta Name=&quot;Keywords&quot; content=&#39;Gridview,asp.net,net,delete,command field,C#,dinesh wadhwa&#39;/&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;In this article, I am going to explain how to &lt;/span&gt;delete a record from Gridview.This is very easy process and steps for this is as follows:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
1. Add New Webpage in your Webapplication.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
2. Drag Gridview from toolbox and bind it to database.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-color: red;&quot;&gt;Note&lt;/span&gt;:If you need any help in binding the gridview to the database you can view my article which is:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;http://dinesh-itsolutions.blogspot.com/2010/09/dynamic-gridview-bind.html&quot;&gt;http://dinesh-itsolutions.blogspot.com/2010/09/dynamic-gridview-bind.html&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
3. Now we proceed further after successfully binding of data.The Steps for Deleting records from gridview are:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
a: &lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Select Edit columns from properties of Gridview.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;b:You will see dialog box appears for Field:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt; c:You have to select the Command Fields option from the available field.In Command Fields you will find 3 events which are:&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Edit,Update and Cancel.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Select &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt; Delete&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
From the above Points select Delete Button.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
d: Now fire the event RowDeleteing from Gridview Properties&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
 Coding to delete the data from gridview on Event Row Deleting is:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;protected&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;void&lt;/span&gt; GridView1_RowDeleting(&lt;span style=&quot;color: blue;&quot;&gt;object&lt;/span&gt; sender,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2b91af;&quot;&gt;GridViewDeleteEventArgs&lt;/span&gt; e)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; con.Open();&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2b91af;&quot;&gt;Label&lt;/span&gt; id =(&lt;span style=&quot;color: #2b91af;&quot;&gt;Label&lt;/span&gt;)GridView1.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rows[e.RowIndex].FindControl(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Label5&quot;&lt;/span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #2b91af;&quot;&gt;SqlCommand&lt;/span&gt; save = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;SqlCommand&lt;/span&gt;();&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; save.Connection = con;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;save.CommandText=&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;delete from tbtablename where id=&#39;&quot;&lt;/span&gt;+ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id.Text+&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;&#39;&quot;&lt;/span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;save.ExecuteNonQuery();&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;save.Dispose();&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;con.Close();&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;luck(); //bind function name&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;If you any query in this article do ask me.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Thank You &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;iframe align=&quot;left&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?t=widgetsamazon-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=B004LWZW4C&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;&quot;&gt;&lt;/iframe&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;iframe align=&quot;left&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?t=widgetsamazon-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=B005BGBPBG&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;&quot;&gt;&lt;/iframe&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;iframe align=&quot;left&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?t=widgetsamazon-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=B005LAMY76&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;&quot;&gt;&lt;/iframe&gt;&lt;iframe align=&quot;left&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?t=widgetsamazon-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=B0054SMIH6&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://dinesh-itsolutions.blogspot.com/feeds/5533100764450046606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2011/09/delete-data-from-gridview-using-command.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/5533100764450046606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/5533100764450046606'/><link rel='alternate' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2011/09/delete-data-from-gridview-using-command.html' title='Delete data from Gridview using Command Field'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/02406148628424313198</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8BO156BJmN4bX4dP8H5HEzulUUtlFjU2_RKw7ryoeoaMKzR_jM3LneXZcdHN84greYj70_ooXd60c5Dmgfv63O8hZe78v-QXJwGuoS-4lu9cZhhgn6w9C1G7EieiAWAU/s113/Photo-0006.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3235626085335077763.post-2272617027220261150</id><published>2011-04-25T18:37:00.000-07:00</published><updated>2011-04-25T18:39:45.888-07:00</updated><title type='text'>Introduction to .NET and .NET Architecture</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;/span&gt;&lt;/div&gt;&lt;h3 style=&quot;color: blue; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;What is .NET?&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Microsoft .NET (pronounced “dot net”) is a software component that runs on the Windows operating system. .NET provides tools and libraries that enable developers to create Windows software much faster and easier. .NET benefits end-users by providing applications of higher capability, quality and security. The .NET Framework must be installed on a user’s PC to run .NET applications.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;This is how Microsoft describes it: “.NET is the Microsoft Web services strategy to connect information, people, systems, and devices through software. Integrated across the Microsoft platform, .NET technology provides the ability to quickly build, deploy, manage, and use connected, security-enhanced solutions with Web services.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: blue; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;What is the .NET architecture?&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Microsoft .NET consists of four major components:&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Common Language Specification (CLS) – blue in the      diagram below&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Framework Class Library (FCL) – red&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Common Language Runtime (CLR) – green&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;.NET Tools – yellow&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi29DMoT70CYopBf4c_Bk8a8_T-HEsDdbIlKBq24SPjM48Qr0IrN6wBUHxbmAIFY_vlEViZHo1YcBeeuF3yWltVW7teXj0uwovF_bYotukQOI1lhr72On_OqfFJtKifKxubsHE4JKd_Zb1V/s1600/netframework.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;183&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi29DMoT70CYopBf4c_Bk8a8_T-HEsDdbIlKBq24SPjM48Qr0IrN6wBUHxbmAIFY_vlEViZHo1YcBeeuF3yWltVW7teXj0uwovF_bYotukQOI1lhr72On_OqfFJtKifKxubsHE4JKd_Zb1V/s320/netframework.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;At the base of the diagram in gray is the operating system, which technically can be any platform but typically is Microsoft Windows 2000 or greater, accessed through the Win32 API (Application Programming Interface).&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;/span&gt;    &lt;/div&gt;&lt;h3 style=&quot;color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Common Language Specification (CLS)&lt;/span&gt;&lt;/h3&gt;&lt;span style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The CLS is a common platform that integrates code and components from multiple .NET programming languages. In other words, a .NET application can be written in multiple programming languages with no extra work by the developer (though converting code between languages can be tricky).&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;.NET includes new object-oriented programming languages such as C#, Visual Basic .NET, J# (a Java clone) and Managed C++. &lt;/span&gt;&lt;/div&gt;&lt;h3 style=&quot;color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Framework Class Library (FCL)&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The FCL is a collection of over 7000 classes and data types that enable .NET applications to read and write files, access databases, process XML, display a graphical user interface, draw graphics, use Web services, etc. The FCL wraps much of the massive, complex Win32 API into more simple .NET objects that can be used by C# and other .NET programming languages.&lt;/span&gt;&lt;/div&gt;&lt;h3 style=&quot;color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Common Language Runtime (CLR)&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The CLR is the execution engine for .NET applications and serves as the interface between .NET applications and the operating system. The CLR provides many services such as:&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Loads and      executes code&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Converts      intermediate language to native machine code&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Separates      processes and memory&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Manages      memory and objects&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Enforces      code and access security&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Handles      exceptions&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Interfaces      between managed code, COM objects, and DLLs&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Provides      type-checking&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Provides      code meta data (Reflection)&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Provides      profiling, debugging, etc.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;h3 style=&quot;color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;color: blue; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;.NET Tools&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Visual Studio .NET is Microsoft’s flagship tool for developing Windows software. Visual Studio provides an integrated development environment (IDE) for developers to create standalone Windows applications, interactive Web sites, Web applications, and Web services running on any platform that supports .NET.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;In addition, there are many .NET Framework tools designed to help developers create, configure, deploy, manage and secure .NET applications and components.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Thank You:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Dinesh Wadhwa&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dinesh-itsolutions.blogspot.com/feeds/2272617027220261150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2011/04/introduction-to-net-and-net.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/2272617027220261150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/2272617027220261150'/><link rel='alternate' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2011/04/introduction-to-net-and-net.html' title='Introduction to .NET and .NET Architecture'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/02406148628424313198</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8BO156BJmN4bX4dP8H5HEzulUUtlFjU2_RKw7ryoeoaMKzR_jM3LneXZcdHN84greYj70_ooXd60c5Dmgfv63O8hZe78v-QXJwGuoS-4lu9cZhhgn6w9C1G7EieiAWAU/s113/Photo-0006.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi29DMoT70CYopBf4c_Bk8a8_T-HEsDdbIlKBq24SPjM48Qr0IrN6wBUHxbmAIFY_vlEViZHo1YcBeeuF3yWltVW7teXj0uwovF_bYotukQOI1lhr72On_OqfFJtKifKxubsHE4JKd_Zb1V/s72-c/netframework.gif" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3235626085335077763.post-2106263255157614763</id><published>2011-03-15T01:25:00.001-07:00</published><updated>2011-03-15T01:25:18.296-07:00</updated><title type='text'>Difference Between ASP.NET &amp; ASP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:WordDocument&gt;   &lt;w:View&gt;Normal&lt;/w:View&gt;   &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:PunctuationKerning/&gt;   &lt;w:ValidateAgainstSchemas/&gt;   &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:Compatibility&gt;    &lt;w:BreakWrappedTables/&gt;    &lt;w:SnapToGridInCell/&gt;    &lt;w:WrapTextWithPunct/&gt;    &lt;w:UseAsianBreakRules/&gt;    &lt;w:DontGrowAutofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:LatentStyles DefLockedState=&quot;false&quot; LatentStyleCount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if !mso]&gt;&lt;img src=&quot;http://img2.blogblog.com/img/video_object.png&quot; style=&quot;background-color: #b2b2b2; &quot; class=&quot;BLOGGER-object-element tr_noresize tr_placeholder&quot; id=&quot;ieooui&quot; data-original-id=&quot;ieooui&quot; /&gt;&lt;br /&gt;
Difference Between ASP.NET &amp; ASP&lt;br /&gt;
&lt;title&gt;Difference Between ASP.NET &amp; ASP..By:IT SOLUTIONS&lt;/title&gt;&lt;br /&gt;
&lt;meta name=&quot;Description&quot; content=&quot;This Post explains difference between asp.net and asp. .By:Dinesh Wadhwa&quot; /&gt;&lt;br /&gt;
&lt;meta name=&quot;Keywords&quot; content=&quot;asp.net,difference between asp.net and asp,.net,asp.net and asp&quot; /&gt;&lt;br /&gt;
 &lt;style&gt;
st1\:*{behavior:url(#ieooui) }
&lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
 {mso-style-name:&quot;Table Normal&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-parent:&quot;&quot;;
 mso-padding-alt:0in 5.4pt 0in 5.4pt;
 mso-para-margin:0in;
 mso-para-margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:10.0pt;
 font-family:&quot;Times New Roman&quot;;
 mso-ansi-language:#0400;
 mso-fareast-language:#0400;
 mso-bidi-language:#0400;}
&lt;/style&gt; &lt;![endif]--&gt;  &lt;h1 style=&quot;color: blue; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;What Are Active Server Pages (Classic ASP)?&lt;/span&gt;&lt;/h1&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; Active Server Pages or Classic ASP, as it is more commonly known, is a technology that enables you to make dynamic and interactive web pages.&lt;br /&gt;
&lt;br /&gt;
Classic ASP uses server-side scripting to dynamically produce web pages that are not affected by the type of browser the website visitor is using.&lt;br /&gt;
&lt;br /&gt;
The default scripting language used for writing ASP is VBScript, although you can use other scripting languages like JScript (Microsoft&#39;s version of JavaScript).&lt;br /&gt;
&lt;br /&gt;
Classic ASP pages have the extension .asp instead of .htm, when a page with the extension .asp is requested by a browser the web server knows to interpret any ASP contained within the web page before sending the HTML produced to the browser. This way all the ASP is run on the web server and no ASP will ever be passed to the web browser.&lt;br /&gt;
&lt;br /&gt;
Any web pages containing ASP cannot be run by just simply opening the page in a web browser. The page must be requested through a web server that supports ASP, this is why ASP stands for Active Server Pages, no server, no active pages.&lt;br /&gt;
&lt;br /&gt;
As Classic ASP was first introduced by Microsoft on it&#39;s web server, Internet Information Services (IIS), that runs on all versions of Windows from NT4, including Windows 7, Vista, XP Pro, and Windows Server OS&#39;s like Windows 2000, 2003, 2008, it is this web server that ASP pages usually run best on. &lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;h1 style=&quot;color: blue; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;What Is ASP.NET ?&lt;/span&gt;&lt;/h1&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;ASP.NET&lt;/b&gt; is a &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;web application framework&lt;/span&gt; developed and marketed by &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;Microsoft&lt;/span&gt; to allow &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;programmers&lt;/span&gt; to build dynamic &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;web sites&lt;/span&gt;, &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;web applications&lt;/span&gt; and &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;web services&lt;/span&gt;. It was first released in January 2002 with version 1.0 of the &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;.NET Framework&lt;/span&gt;, and is the successor to Microsoft&#39;s &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;Active Server Pages&lt;/span&gt; (ASP) technology. ASP.NET is built on the &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;Common Language Runtime&lt;/span&gt; (CLR), allowing programmers to write ASP.NET code using any supported &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;.NET language&lt;/span&gt;. The ASP.NET &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;SOAP&lt;/span&gt; extension framework allows ASP.NET components to process SOAP messages.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;ASP.NET web pages or webpage, known officially as &quot;web forms&quot;, are the main building block for application development. Web forms are contained in files with an &quot;.aspx&quot; extension; these files typically contain static (&lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;X&lt;/span&gt;)&lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;HTML&lt;/span&gt; markup, as well as mark up defining server-side Web Controls and User Controls where the developers place all the required static and dynamic content for the web page. Additionally, dynamic code which runs on the server can be placed in a page within a block &lt;code&gt;&amp;lt;% -- dynamic code -- %&amp;gt;&lt;/code&gt;, which is similar to other web development technologies such as &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;PHP&lt;/span&gt;, &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;JSP&lt;/span&gt;, and &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;ASP&lt;/span&gt;. With &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;ASP.NET Framework 2.0&lt;/span&gt;, Microsoft introduced a new code-behind model which allows static text to remain on the .aspx page, while dynamic code remains in an .aspx.vb or .aspx.cs file (depending on the programming language used). &lt;span class=&quot;mw-headline&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h2 style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: small;&quot;&gt;&lt;span class=&quot;mw-headline&quot;&gt;ASP.NET compared with ASP classic&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;ASP.NET simplifies developers&#39; transition from &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;Windows&lt;/span&gt; application development to web development by offering the ability to build pages composed of &lt;i&gt;&lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;controls&lt;/span&gt;&lt;/i&gt; similar to a Windows &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;user interface&lt;/span&gt;. A web control, such as a &lt;i&gt;button&lt;/i&gt; or &lt;i&gt;label&lt;/i&gt;, functions in very much the same way as its Windows counterpart: code can assign its properties and respond to its events. Controls know how to render themselves: whereas Windows controls draw themselves to the screen, web controls produce segments of &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;HTML&lt;/span&gt; and &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;JavaScript&lt;/span&gt; which form parts of the resulting page sent to the end-user&#39;s browser.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;ASP.NET encourages the programmer to develop applications using an &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;event-driven&lt;/span&gt; &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;GUI&lt;/span&gt; model, rather than in conventional web-&lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;scripting&lt;/span&gt; environments like ASP and &lt;a href=&quot;http://en.wikipedia.org/wiki/PHP&quot;&gt;&lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;PHP&lt;/span&gt;&lt;/a&gt;. The framework combines existing technologies such as JavaScript with internal components like &quot;&lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;ViewState&lt;/span&gt;&quot; to bring persistent (inter-request) state to the inherently &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;stateless&lt;/span&gt; web environment.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Other differences compared to ASP classic are:&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: Verdana,sans-serif;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Compiled code means      applications run faster with more design-time errors trapped at the      development stage.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Significantly improved      run-time error handling, making use of &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;exception      handling&lt;/span&gt; using try-catch blocks.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Similar metaphors to      Microsoft Windows applications such as controls and events.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;An extensive set of      controls and class libraries allows the rapid building of applications,      plus user-defined controls allow commonly-used &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;web template&lt;/span&gt;, such as      menus. Layout of these controls on a page is easier because most of it can      be done visually in most editors.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;ASP.NET uses the      multi-language abilities of the .NET &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;Common      Language Runtime&lt;/span&gt;, allowing web pages to be coded in VB.NET, C#,      J#, Delphi.NET, Chrome, etc.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Ability to cache the      whole page or just parts of it to improve performance.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Ability to use the &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;code-behind&lt;/span&gt;      development model to separate business logic from presentation.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Ability to use true &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;object-oriented&lt;/span&gt;      design for programming pages and controls&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;If an ASP.NET      application &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;leaks memory&lt;/span&gt;, the ASP.NET runtime unloads      the AppDomain hosting the erring application and reloads the application      in a new AppDomain.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;Session      state&lt;/span&gt; in ASP.NET can be saved in a &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;Microsoft      SQL Server&lt;/span&gt; database or in a separate process running on the      same machine as the web server or on a different machine. That way session      values are not lost when the web server is reset or the ASP.NET worker      process is recycled.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Versions of ASP.NET      prior to 2.0 were criticized for their lack of standards compliance. The      generated HTML and JavaScript sent to the client browser would not always      validate against &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;W3C&lt;/span&gt;/ECMA      standards. In addition, the framework&#39;s browser detection feature      sometimes incorrectly identified web browsers other than Microsoft&#39;s own &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;Internet      Explorer&lt;/span&gt; as &quot;downlevel&quot; and returned HTML/JavaScript      to these clients with some of the features removed, or sometimes crippled      or broken. However, in version 2.0, all controls generate valid HTML 4.0,      XHTML 1.0 (the default) or XHTML 1.1 output, depending on the site      configuration. Detection of standards-compliant web browsers is more      robust and support for &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;Cascading      Style Sheets&lt;/span&gt; is more extensive.&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Web Server Controls:      these are controls introduced by ASP.NET for providing the UI for the web      form. These controls are state managed controls and are &lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;WYSIWYG&lt;/span&gt; controls.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dinesh-itsolutions.blogspot.com/feeds/2106263255157614763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2011/03/difference-between-aspnet-asp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/2106263255157614763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/2106263255157614763'/><link rel='alternate' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2011/03/difference-between-aspnet-asp.html' title='Difference Between ASP.NET &amp; ASP'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/02406148628424313198</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8BO156BJmN4bX4dP8H5HEzulUUtlFjU2_RKw7ryoeoaMKzR_jM3LneXZcdHN84greYj70_ooXd60c5Dmgfv63O8hZe78v-QXJwGuoS-4lu9cZhhgn6w9C1G7EieiAWAU/s113/Photo-0006.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3235626085335077763.post-8664425801654746106</id><published>2011-01-24T20:27:00.000-08:00</published><updated>2011-01-24T20:36:04.064-08:00</updated><title type='text'>Embed Tiny Editor in Your Web Application:</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;background-color: #fce5cd;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;1&lt;/b&gt;. First of all open your Web page in your application in which you want to embed the &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Editor.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;2&lt;/b&gt;. This editor is know as Tiny Editor which has nice features by which the user can enter his/her text in stylish way by embedding smileyes, embed photos.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;3&lt;/b&gt;. We can set font family, Font Size, Cut, Copy, Paste and many other functions are there by which the text can be represented in a better way.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT5KVLAV15aCCuExb9UNDxQiI8qpHsTHZzpZlC0ejHQdyl5UtMYCICma5DBOBzZysrlxENtYpeZw0xJahFaAwbcx6kD3bRP_16jfpvRzZmRfclK0e7XaRgS0eK-rebygBpqf_aX2ZTE3gv/s1600/tiny-mce.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;152&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT5KVLAV15aCCuExb9UNDxQiI8qpHsTHZzpZlC0ejHQdyl5UtMYCICma5DBOBzZysrlxENtYpeZw0xJahFaAwbcx6kD3bRP_16jfpvRzZmRfclK0e7XaRgS0eK-rebygBpqf_aX2ZTE3gv/s320/tiny-mce.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;4&lt;/b&gt;. Now Steps to embed the Tiny Editor in you web page are:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;a&lt;/b&gt;: Drag and Drop Textbox and give id to id name RichTextBox.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;b&lt;/b&gt;: Set the Property of Textbox:-TextMode Property to Multiline.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;c&lt;/b&gt;: Drop one Label to page, we transfer the text from RichText Box to Label when we store the text to database.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;d&lt;/b&gt;: Put this Code in your Head Tag:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;text/javascript&quot;&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;tinymce/jscripts/tiny_mce/tiny_mce.js&quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;text/javascript&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp; tinyMCE.init(&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode : &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;textareas&quot;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; theme : &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;advanced&quot;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; plugins : &lt;span style=&quot;color: #a31515;&quot;&gt;safari,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,imagemanager,filemanager&quot;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; theme_advanced_statusbar_location : &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;bottom&quot;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; theme_advanced_resizing : &lt;span style=&quot;color: blue;&quot;&gt;false&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; template_external_list_url : &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;js/template_list.js&quot;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; external_link_list_url : &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;js/link_list.js&quot;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; external_image_list_url : &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;js/image_list.js&quot;&lt;/span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;media_external_list_url : &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;js/media_list.js&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;This code include the path of Java Script File of tiny editor.&lt;br /&gt;
&lt;/span&gt;  &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;5. Download the Tiny Editor from the path which I am giving you below:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Link:&amp;nbsp; http://tinymce.moxiecode.com/download/download.php&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;6. Put the Downloaded Folder into you Website. This Folder contains all editor files including JS File.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;We have given the link of the Editor JS File in 4(d) Point.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;7. Now Run your Webpage and see Tiny Editor Placed there.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot; /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; color: red; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;Enjoy Your Coding:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;IF any Query then you can ask me here only.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fce5cd; font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dinesh-itsolutions.blogspot.com/feeds/8664425801654746106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2011/01/embed-tiny-editor-in-your-web.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/8664425801654746106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/8664425801654746106'/><link rel='alternate' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2011/01/embed-tiny-editor-in-your-web.html' title='Embed Tiny Editor in Your Web Application:'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/02406148628424313198</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8BO156BJmN4bX4dP8H5HEzulUUtlFjU2_RKw7ryoeoaMKzR_jM3LneXZcdHN84greYj70_ooXd60c5Dmgfv63O8hZe78v-QXJwGuoS-4lu9cZhhgn6w9C1G7EieiAWAU/s113/Photo-0006.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT5KVLAV15aCCuExb9UNDxQiI8qpHsTHZzpZlC0ejHQdyl5UtMYCICma5DBOBzZysrlxENtYpeZw0xJahFaAwbcx6kD3bRP_16jfpvRzZmRfclK0e7XaRgS0eK-rebygBpqf_aX2ZTE3gv/s72-c/tiny-mce.jpg" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3235626085335077763.post-9055251651462125755</id><published>2010-11-18T22:42:00.000-08:00</published><updated>2010-11-18T22:46:36.178-08:00</updated><title type='text'>The Page Life Cycle of an ASP.NET and its controls.</title><content type='html'>&lt;div align=&quot;justify&quot; style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;The life cycle starts  when a user requests a web page through his/her browser. The Web server  than process the page through a sequence of steps before response is  sent back to the user&#39;s browser. The steps are as:&lt;/span&gt;  &lt;/span&gt;&lt;/div&gt;&lt;ol style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Page Request&lt;/span&gt;  &lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Start&lt;/span&gt;  &lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Page Initialization&lt;/span&gt;  &lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Load&lt;/span&gt;  &lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Validation&lt;/span&gt;  &lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;PostBack Event Handling&lt;/span&gt;  &lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Render&lt;/span&gt;  &lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Unload&lt;/span&gt;&lt;/li&gt;
&lt;/span&gt;&lt;/ol&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhePVR_3NKB7Jbe2PGUGBuvwehFOpOyIJomsnQr52Yj7MSLqGfi6lWy7Khg0C0TW4dtpTpWmvx4jlaOqbrUtwjXmd2TdrdWom4bVF6XDzdK2sfSdAcQ9aoMZUrWOuIn7ih5GmCgQAycqowZ/s1600/Asp.Net+Life-cycle%2528By+Dinesh%2529.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhePVR_3NKB7Jbe2PGUGBuvwehFOpOyIJomsnQr52Yj7MSLqGfi6lWy7Khg0C0TW4dtpTpWmvx4jlaOqbrUtwjXmd2TdrdWom4bVF6XDzdK2sfSdAcQ9aoMZUrWOuIn7ih5GmCgQAycqowZ/s320/Asp.Net+Life-cycle%2528By+Dinesh%2529.gif&quot; width=&quot;310&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Page Request&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
The page  request occurs before the page life cycle begins. When a user requests  the page, ASP.NET determines whether the page needs to be parsed and  compiled (therefore beginning the life of a page), or whether a cached  version of the page can be sent in response without running the page.&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Start&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
In the start step, page properties such as &lt;b&gt;Request&lt;/b&gt; and &lt;b&gt;Response&lt;/b&gt; are set. At this stage, the page also determines whether the request is a postback or a new request and sets the &lt;b&gt;IsPostBack&lt;/b&gt; property. Additionally, during the start step, the page&#39;s &lt;b&gt;UICulture&lt;/b&gt; property is set.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Page Initialization&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
During page initialization, controls on the page are available and each control&#39;s &lt;b&gt;UniqueID&lt;/b&gt; are generated but not their properties. Any themes are also applied to the page. &lt;br /&gt;
&lt;br /&gt;
Developers have access to the &lt;b&gt;Init&lt;/b&gt;, &lt;b&gt;InitComplete&lt;/b&gt; and &lt;b&gt;PreLoad&lt;/b&gt; methods in this stage. The methods are as follows:&lt;/span&gt;  &lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;Init:&lt;/b&gt; This event is raised  after all controls have been initialized and any skin settings have been  applied. This event is used to read or initialize control properties.&lt;/span&gt;  &lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;InitComplete: &lt;/b&gt;The Page object raises this event. This event is used for processing tasks that require completion of all initialization.&lt;/span&gt;  &lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;PreLoad: &lt;/b&gt;Use this event if you need to  perform processing on your page or control before the Load event. After  the Page raises this event, it loads view state for itself and all  controls, and then processes any postback data included with the Request  instance.&lt;/span&gt;&lt;/li&gt;
&lt;/span&gt;&lt;/ul&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Load&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
During  load, if the current request is a postback, control properties are  loaded with information recovered from view state and control state. The  &lt;b&gt;OnLoad&lt;/b&gt; event method is fired during this stage. &lt;br /&gt;
This is  where you will want to set properties for all of the server controls on  your page, request query strings, and establish database connections.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Validation&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
During validation, the &lt;b&gt;Validate&lt;/b&gt; method of all validator controls is called, which sets the &lt;b&gt;IsValid&lt;/b&gt; property of individual validator controls and of the page.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;PostBack Event Handling&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
If the request is a postback, any event handlers are called. The event handling for server controls occurs during this stage.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Render&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
During  rendering, view state is saved to the page and then the page calls on  each control to contribute its rendered output to the &lt;b&gt;OutputStream&lt;/b&gt; of the page&#39;s &lt;b&gt;Response&lt;/b&gt; property. Render is not really an event. The HTML of the page and all controls are sent to the browser for rendering.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Unload&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Unload  is called when the page has been fully rendered, sent to the client,  and is ready to be discarded. At this point, page properties such as &lt;b&gt;Response&lt;/b&gt; and &lt;b&gt;Request&lt;/b&gt;  are unloaded and any cleanup is performed. The cleanup includes  routines such as closing database connections and file streams, or,  event logging and other tasks.&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Conclusion&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
When a  Web page is requested, the server creates objects associated with the  page and all of its child controls objects and uses these to render the  page to the browser. Once the final stage is complete, the web server  destroys these objects, to free up resource to handle additional  request.&lt;br /&gt;
&lt;br /&gt;
I hope that this article would have helped you in  understanding the Page Life Cycle in ASP.NET and its controls. Your  feedback and constructive contributions are welcome.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Thanx:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Dinesh Wadhwa.&amp;nbsp;&lt;/span&gt;  &lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dinesh-itsolutions.blogspot.com/feeds/9055251651462125755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2010/11/page-life-cycle-of-aspnet-and-its.html#comment-form' title='23 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/9055251651462125755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/9055251651462125755'/><link rel='alternate' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2010/11/page-life-cycle-of-aspnet-and-its.html' title='The Page Life Cycle of an ASP.NET and its controls.'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/02406148628424313198</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8BO156BJmN4bX4dP8H5HEzulUUtlFjU2_RKw7ryoeoaMKzR_jM3LneXZcdHN84greYj70_ooXd60c5Dmgfv63O8hZe78v-QXJwGuoS-4lu9cZhhgn6w9C1G7EieiAWAU/s113/Photo-0006.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhePVR_3NKB7Jbe2PGUGBuvwehFOpOyIJomsnQr52Yj7MSLqGfi6lWy7Khg0C0TW4dtpTpWmvx4jlaOqbrUtwjXmd2TdrdWom4bVF6XDzdK2sfSdAcQ9aoMZUrWOuIn7ih5GmCgQAycqowZ/s72-c/Asp.Net+Life-cycle%2528By+Dinesh%2529.gif" height="72" width="72"/><thr:total>23</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3235626085335077763.post-3638386606200430617</id><published>2010-11-10T02:30:00.000-08:00</published><updated>2010-11-10T02:30:09.151-08:00</updated><title type='text'>Registration and Email Verification for New Accounts</title><content type='html'>In This Code i am Providing the code by which the user can easily registered to the Website and the E-Mail is sent to the user for the Verification. If the user will not verify his/her email,the account is not activated and that person cannot login.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are the Following Steps to achieve that:-&lt;br /&gt;
&lt;br /&gt;
1.Create new Web application and make one form in which the user can register and add the following code to the source code:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Send email to user for verifying account&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreateUserWizard cuw = (CreateUserWizard)sender;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MembershipUser user = Membership.GetUser(cuw.UserName);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Guid userId = (Guid)user.ProviderUserKey;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Net.Mail.MailMessage EmailMsg = new&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Net.Mail.MailMessage(&quot;info@ask.com&quot;,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
CreateUserWizard1.Email);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EmailMsg.Subject = &quot;Email Verification fromhttp:dinesh-itsolutions.blogspot.com/&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EmailMsg.IsBodyHtml = true;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EmailMsg.Body = &quot;Thanks for registering with www.http://dinesh-itsolutions.blogspot.com/!&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Your activation link : &amp;lt;a href=http://http://dinesh-itsolutions.blogspot.com/?ID=&quot; + userId.ToString() + &quot;&amp;gt;Link&amp;lt;/a&amp;gt;.&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Net.Mail.SmtpClient mailClient = new System.Net.Mail.SmtpClient();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //This object stores the authentication values&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  System.Net.NetworkCredential basicAuthenticationInfo = new  System.Net.NetworkCredential(&quot;smtpserverinfo&quot;, &quot;smtpserverpassword&quot;); &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mailClient.Host = &quot;mail.ask.com&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mailClient.UseDefaultCredentials = false;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mailClient.Credentials = basicAuthenticationInfo;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mailClient.Send(EmailMsg);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.By the code the email is sent to the user with the unique link.&lt;br /&gt;
&lt;br /&gt;
3.When the user check his/her mail and click on the activate link then it will redirected to the new webpage&lt;br /&gt;
&lt;br /&gt;
now retrieve that unique id from the URL.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4.After Retrieving the Id&#39;...just set the stutus of the Client from 0 to 1 in the database so that the person can login. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank You:&lt;br /&gt;
&lt;br /&gt;
Enjoy ....................n in case if any query then ask me......</content><link rel='replies' type='application/atom+xml' href='http://dinesh-itsolutions.blogspot.com/feeds/3638386606200430617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2010/11/registration-and-email-verification-for.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/3638386606200430617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/3638386606200430617'/><link rel='alternate' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2010/11/registration-and-email-verification-for.html' title='Registration and Email Verification for New Accounts'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/02406148628424313198</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8BO156BJmN4bX4dP8H5HEzulUUtlFjU2_RKw7ryoeoaMKzR_jM3LneXZcdHN84greYj70_ooXd60c5Dmgfv63O8hZe78v-QXJwGuoS-4lu9cZhhgn6w9C1G7EieiAWAU/s113/Photo-0006.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3235626085335077763.post-5355974889217011726</id><published>2010-09-12T11:01:00.000-07:00</published><updated>2010-11-10T03:20:38.748-08:00</updated><title type='text'>Adding Template Fields to a GridView Control.</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;A &lt;a href=&quot;http://authors.aspalliance.com/aspxtreme/sys/web/ui/webcontrols/TemplateFieldClass.aspx&quot;&gt;TemplateField&lt;/a&gt; is used in cases where authors need complete control over the&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;contents of a &lt;b&gt;GridView&lt;/b&gt; column. The &lt;b&gt;TemplateField&lt;/b&gt; is declared with an&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&amp;lt;ItemTemplate&amp;gt;&lt;/b&gt; element, which in turn is used to define the content that will be&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;rendered for each row in the column. The &lt;b&gt;ItemTemplate&lt;/b&gt; can include any valid HTML. &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: justify;&quot;&gt;To add a template column:-&lt;/h4&gt;&lt;h4 style=&quot;text-align: justify;&quot;&gt;1.Set the GridView control&#39;s &lt;a href=&quot;http://authors.aspalliance.com/aspxtreme/sys/web/ui/webcontrols/GridViewclassautogeneratecolumns.aspx&quot;&gt;AutoGenerateColumns&lt;/a&gt; property to &lt;cite&gt;false&lt;/cite&gt;.&lt;/h4&gt;&lt;pre class=&quot;snippet&quot;&gt;&amp;lt;asp:GridView id=&quot;myGrid&quot; runat=&quot;server&quot;
   &lt;b&gt;autogeneratecolumns&lt;/b&gt;=false
   ...
&amp;gt;&lt;/pre&gt;&lt;pre class=&quot;snippet&quot;&gt;2. Within the &lt;b&gt;GridView&lt;/b&gt; declaration, declare a &lt;a href=&quot;http://authors.aspalliance.com/aspxtreme/sys/web/ui/webcontrols/GridViewClassColumns.aspx&quot;&gt;&amp;lt;Columns&amp;gt;&lt;/a&gt; element.&lt;/pre&gt;&lt;pre class=&quot;snippet&quot;&gt;3.Within the &lt;b&gt;Columns&lt;/b&gt; element, define the &lt;b&gt;&amp;lt;asp:TemplateField&amp;gt;&lt;/b&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class=&quot;snippet&quot;&gt;control, along with the required &lt;a href=&quot;http://authors.aspalliance.com/aspxtreme/sys/web/ui/webcontrols/TemplateFieldClassItemTemplate.aspx&quot;&gt;&amp;lt;ItemTemplate&amp;gt;&lt;/a&gt; element.&lt;/pre&gt;&lt;pre class=&quot;snippet&quot;&gt;4.Within the &lt;b&gt;ItemTemplate&lt;/b&gt;, define the HTML or server control that&amp;nbsp;&lt;/pre&gt;&lt;pre class=&quot;snippet&quot;&gt;will contain the field value.&lt;/pre&gt;&lt;pre class=&quot;snippet&quot;&gt;To display the value of a field in an item template,&lt;/pre&gt;&lt;pre class=&quot;snippet&quot;&gt;use &lt;a href=&quot;http://authors.aspalliance.com/aspxtreme/aspnet/syntax/databindingexpressionsyntax.aspx&quot;&gt;DataBinding 
Expression Syntax&lt;/a&gt;.&amp;nbsp;&lt;/pre&gt;&lt;pre class=&quot;snippet&quot;&gt;5.Optionally set the &lt;b&gt;&amp;lt;asp:TemplateField&amp;gt;&lt;/b&gt; control&#39;s&amp;nbsp;&lt;/pre&gt;&lt;pre class=&quot;snippet&quot;&gt;other properties.&lt;/pre&gt;&lt;pre class=&quot;snippet&quot;&gt;For syntax, see &lt;a href=&quot;http://authors.aspalliance.com/aspxtreme/aspnet/syntax/GridViewwebcontrol.aspx?pageno=7&quot;&gt;GridView Control Syntax&lt;/a&gt;.&amp;nbsp;&lt;/pre&gt;&lt;pre class=&quot;snippet&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;pre class=&quot;snippet&quot;&gt;&amp;lt;columns&amp;gt;
 &amp;lt;asp:&lt;b&gt;templatefield&lt;/b&gt;&amp;gt;

   &amp;lt;itemtemplate&amp;gt;
     &amp;lt;img width=60 align=&quot;top&quot;&amp;nbsp;&lt;/pre&gt;&lt;pre class=&quot;snippet&quot;&gt;src=&#39;&amp;lt;%# Eval (&quot;title_id&quot;, &quot;../images/title-{0}.gif&quot; )%&amp;gt;&#39;&amp;gt;
   &amp;lt;/itemtemplate&amp;gt;

  &amp;lt;/asp:&lt;b&gt;templatefield&lt;/b&gt;&amp;gt;
   ...
&amp;lt;/columns&amp;gt;&lt;/pre&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dinesh-itsolutions.blogspot.com/feeds/5355974889217011726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2010/09/adding-template-fields-to-gridview.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/5355974889217011726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/5355974889217011726'/><link rel='alternate' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2010/09/adding-template-fields-to-gridview.html' title='Adding Template Fields to a GridView Control.'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/02406148628424313198</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8BO156BJmN4bX4dP8H5HEzulUUtlFjU2_RKw7ryoeoaMKzR_jM3LneXZcdHN84greYj70_ooXd60c5Dmgfv63O8hZe78v-QXJwGuoS-4lu9cZhhgn6w9C1G7EieiAWAU/s113/Photo-0006.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3235626085335077763.post-3730133205546644051</id><published>2010-09-03T22:29:00.000-07:00</published><updated>2010-09-03T22:30:15.216-07:00</updated><title type='text'>Dynamic Gridview Bind</title><content type='html'>First You have to Drag Gridview Tool From your Toolbox&lt;br /&gt;
and place it to your design .aspx Page:-&lt;br /&gt;
&lt;br /&gt;
Then at&amp;nbsp; the Code behind page in .cs file like Gridview.aspx.cs file&lt;br /&gt;
call&amp;nbsp; the following function to your button_click event:-&lt;br /&gt;
&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;void BindData()&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;{
try&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;{&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;SqlConnection con = new SqlConnection(@&quot;server=.\sqlexpress;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;database=TestDB;Integrated Security=SSPI;&quot;);
&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;DataSet ds = new DataSet();
con.Open();
SqlDataAdapter da = new SqlDataAdapter(&quot;select id,name,flag&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;from EmpData&quot;, con);&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;da.Fill(ds);
BoundField BC1 = new BoundField();&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;BC1.HeaderText = &quot;ID&quot;;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;BC1.DataField = &quot;id&quot;;
GridView1.Columns.Add(BC1);
BoundField BC2 = new BoundField();&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;BC2.HeaderText = &quot;Name&quot;;
BC2.DataField = &quot;name&quot;;
GridView1.Columns.Add(BC2);&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;GridView1.DataSource = ds;
GridView1.DataBind();
con.Close();
}
catch (Exception e)
&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;pre&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;{
Response.Write(e.Message.ToString());&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;con.Close();&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
Enjoy&amp;nbsp; :-)</content><link rel='replies' type='application/atom+xml' href='http://dinesh-itsolutions.blogspot.com/feeds/3730133205546644051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2010/09/dynamic-gridview-bind.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/3730133205546644051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/3730133205546644051'/><link rel='alternate' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2010/09/dynamic-gridview-bind.html' title='Dynamic Gridview Bind'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/02406148628424313198</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8BO156BJmN4bX4dP8H5HEzulUUtlFjU2_RKw7ryoeoaMKzR_jM3LneXZcdHN84greYj70_ooXd60c5Dmgfv63O8hZe78v-QXJwGuoS-4lu9cZhhgn6w9C1G7EieiAWAU/s113/Photo-0006.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3235626085335077763.post-6649103092995277351</id><published>2010-09-03T01:56:00.000-07:00</published><updated>2010-09-03T03:28:24.622-07:00</updated><title type='text'>Create File Uploader (Visual Studio)</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;&lt;pre style=&quot;width: 593px;&quot;&gt;&lt;span class=&quot;HTML-TagDelimiterStyle&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;By this Coding you can create File Uploader&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;width: 593px;&quot;&gt;&lt;span class=&quot;HTML-TagDelimiterStyle&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;and the is file will uploaded into Foder:- &lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;width: 593px;&quot;&gt;&lt;span class=&quot;HTML-TagDelimiterStyle&quot;&gt;&lt;u&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;width: 593px;&quot;&gt;&lt;span class=&quot;HTML-TagDelimiterStyle&quot;&gt;&lt;u&gt;&lt;b&gt;&amp;nbsp;Design Source Code:-&amp;nbsp;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;width: 593px;&quot;&gt;&lt;span class=&quot;HTML-TagDelimiterStyle&quot;&gt;&lt;u&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;width: 593px;&quot;&gt;&lt;span class=&quot;HTML-TagDelimiterStyle&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;HTML-TagNameStyle&quot;&gt;form &lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeStyle&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeValueStyle&quot;&gt;=&quot;form1&quot;&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeStyle&quot;&gt; runat&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeValueStyle&quot;&gt;=&quot;server&quot;&lt;/span&gt;&lt;span class=&quot;HTML-TagDelimiterStyle&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;HTML-DefaultStyle&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;HTML-TagDelimiterStyle&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;HTML-TagNameStyle&quot;&gt;asp:FileUpload &lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeStyle&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeValueStyle&quot;&gt;=&quot;FileUploadControl&quot;&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeStyle&quot;&gt; runat&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeValueStyle&quot;&gt;=&quot;server&quot;&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeStyle&quot;&gt; &lt;/span&gt;&lt;span class=&quot;HTML-TagDelimiterStyle&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;HTML-DefaultStyle&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;HTML-TagDelimiterStyle&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;HTML-TagNameStyle&quot;&gt;asp:Button &lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeStyle&quot;&gt;runat&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeValueStyle&quot;&gt;=&quot;server&quot;&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeStyle&quot;&gt; id&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeValueStyle&quot;&gt;=&quot;UploadButton&quot;&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeStyle&quot;&gt; text&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeValueStyle&quot;&gt;=&quot;Upload&quot;&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeStyle&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;width: 593px;&quot;&gt;&lt;span class=&quot;HTML-TagAttributeStyle&quot;&gt;     onclick&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeValueStyle&quot;&gt;=&quot;UploadButton_Click&quot;&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeStyle&quot;&gt; &lt;/span&gt;&lt;span class=&quot;HTML-TagDelimiterStyle&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;HTML-DefaultStyle&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;HTML-TagDelimiterStyle&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;HTML-TagNameStyle&quot;&gt;br &lt;/span&gt;&lt;span class=&quot;HTML-TagDelimiterStyle&quot;&gt;/&amp;gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;HTML-TagNameStyle&quot;&gt;br &lt;/span&gt;&lt;span class=&quot;HTML-TagDelimiterStyle&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;HTML-DefaultStyle&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;HTML-TagDelimiterStyle&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;HTML-TagNameStyle&quot;&gt;asp:Label &lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeStyle&quot;&gt;runat&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeValueStyle&quot;&gt;=&quot;server&quot;&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeStyle&quot;&gt; id&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeValueStyle&quot;&gt;=&quot;StatusLabel&quot;&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeStyle&quot;&gt; text&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeValueStyle&quot;&gt;=&quot;Upload&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;width: 593px;&quot;&gt;&lt;span class=&quot;HTML-TagAttributeValueStyle&quot;&gt;     status: &quot;&lt;/span&gt;&lt;span class=&quot;HTML-TagAttributeStyle&quot;&gt; &lt;/span&gt;&lt;span class=&quot;HTML-TagDelimiterStyle&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;HTML-DefaultStyle&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;HTML-TagDelimiterStyle&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;HTML-TagNameStyle&quot;&gt;form&lt;/span&gt;&lt;span class=&quot;HTML-TagDelimiterStyle&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;pre style=&quot;width: 593px;&quot;&gt;&lt;u&gt;&lt;b&gt;Coding C#:&lt;/b&gt;&lt;/u&gt;
&lt;span class=&quot;C#-ReservedWordStyle&quot;&gt;protected&lt;/span&gt;&lt;span class=&quot;C#-DefaultStyle&quot;&gt; &lt;/span&gt;&lt;span class=&quot;C#-ReservedWordStyle&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;C#-DefaultStyle&quot;&gt; UploadButton_Click(&lt;/span&gt;&lt;span class=&quot;C#-NativeTypeStyle&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;C#-DefaultStyle&quot;&gt; sender, EventArgs e)
{
&lt;/span&gt;&lt;span class=&quot;C#-ReservedWordStyle&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;C#-DefaultStyle&quot;&gt;(FileUploadControl.HasFile)
{
&lt;/span&gt;&lt;span class=&quot;C#-ReservedWordStyle&quot;&gt;try&lt;/span&gt;&lt;span class=&quot;C#-DefaultStyle&quot;&gt;
{
&lt;/span&gt;&lt;span class=&quot;C#-NativeTypeStyle&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;C#-DefaultStyle&quot;&gt; filename &lt;/span&gt;&lt;span class=&quot;C#-OperatorStyle&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;C#-DefaultStyle&quot;&gt; Path.GetFileName(FileUploadControl.FileName);
FileUploadControl.SaveAs(Server.MapPath(&lt;/span&gt;&lt;span class=&quot;C#-StringDelimiterStyle&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;C#-StringDefaultStyle&quot;&gt;~/Folderpath&lt;/span&gt;&lt;span class=&quot;C#-StringDelimiterStyle&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;C#-DefaultStyle&quot;&gt;) &lt;/span&gt;&lt;span class=&quot;C#-OperatorStyle&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;C#-DefaultStyle&quot;&gt; filename);
StatusLabel.Text &lt;/span&gt;&lt;span class=&quot;C#-OperatorStyle&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;C#-DefaultStyle&quot;&gt; &lt;/span&gt;&lt;span class=&quot;C#-StringDelimiterStyle&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;C#-StringDefaultStyle&quot;&gt;Upload status: File uploaded!&lt;/span&gt;&lt;span class=&quot;C#-StringDelimiterStyle&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;C#-DefaultStyle&quot;&gt;;
}
&lt;/span&gt;&lt;span class=&quot;C#-ReservedWordStyle&quot;&gt;catch&lt;/span&gt;&lt;span class=&quot;C#-DefaultStyle&quot;&gt;(Exception ex)&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;width: 593px;&quot;&gt;&lt;span class=&quot;C#-DefaultStyle&quot;&gt;{
StatusLabel.Text &lt;/span&gt;&lt;span class=&quot;C#-OperatorStyle&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;C#-DefaultStyle&quot;&gt; &lt;/span&gt;&lt;span class=&quot;C#-StringDelimiterStyle&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;C#-StringDefaultStyle&quot;&gt;Upload status: The file could not be uploaded.&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;pre style=&quot;width: 593px;&quot;&gt;&lt;span class=&quot;C#-StringDefaultStyle&quot;&gt;The following error occured: &lt;/span&gt;&lt;span class=&quot;C#-StringDelimiterStyle&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;C#-DefaultStyle&quot;&gt; &lt;/span&gt;&lt;span class=&quot;C#-OperatorStyle&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;C#-DefaultStyle&quot;&gt; ex.Message;
}
}
}&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dinesh-itsolutions.blogspot.com/feeds/6649103092995277351/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2010/09/create-file-uploader-visual-studio.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/6649103092995277351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/6649103092995277351'/><link rel='alternate' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2010/09/create-file-uploader-visual-studio.html' title='Create File Uploader (Visual Studio)'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/02406148628424313198</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8BO156BJmN4bX4dP8H5HEzulUUtlFjU2_RKw7ryoeoaMKzR_jM3LneXZcdHN84greYj70_ooXd60c5Dmgfv63O8hZe78v-QXJwGuoS-4lu9cZhhgn6w9C1G7EieiAWAU/s113/Photo-0006.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3235626085335077763.post-3617901067996004255</id><published>2010-09-03T01:44:00.000-07:00</published><updated>2010-09-03T01:44:24.938-07:00</updated><title type='text'>Creating New Web Page in Asp.net</title><content type='html'>&lt;h3 class=&quot;post-title entry-title&quot;&gt;  &lt;/h3&gt;&lt;div class=&quot;post-header&quot;&gt;  &lt;/div&gt;&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;Creating  New Web Page in Asp.net&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1.Open your Visual Studio 2.0 or 3.5 version&lt;br /&gt;
2.Go to File Menu----&amp;gt;New------&amp;gt;Website&lt;br /&gt;
3.On the Templates,Select ASP.NET Website.&lt;br /&gt;
4.In this diolog box set  ur Language as C#.&lt;br /&gt;
5.Click Ok and your Website gets open.&lt;br /&gt;
6.Start working with web pages...</content><link rel='replies' type='application/atom+xml' href='http://dinesh-itsolutions.blogspot.com/feeds/3617901067996004255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2010/09/creating-new-web-page-in-aspnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/3617901067996004255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3235626085335077763/posts/default/3617901067996004255'/><link rel='alternate' type='text/html' href='http://dinesh-itsolutions.blogspot.com/2010/09/creating-new-web-page-in-aspnet.html' title='Creating New Web Page in Asp.net'/><author><name>Dinesh</name><uri>http://www.blogger.com/profile/02406148628424313198</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8BO156BJmN4bX4dP8H5HEzulUUtlFjU2_RKw7ryoeoaMKzR_jM3LneXZcdHN84greYj70_ooXd60c5Dmgfv63O8hZe78v-QXJwGuoS-4lu9cZhhgn6w9C1G7EieiAWAU/s113/Photo-0006.jpg'/></author><thr:total>0</thr:total></entry></feed>