tag:blogger.com,1999:blog-65236190932341369482024-02-19T05:50:41.680-08:00DotNet-AshokAnonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.comBlogger27125tag:blogger.com,1999:blog-6523619093234136948.post-8266656402302977592014-12-15T04:08:00.002-08:002014-12-15T04:50:26.124-08:00Converting Text to Voice in .NET Using C#<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="background-color: white; margin: 20px 0px 11px; padding: 0px 0px 10px; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: large;">
Introduction</span></div>
<h2 style="background-color: white; color: #ff9900; font-size: 30px; font-weight: 200; margin: 20px 0px 11px; padding: 0px 0px 10px;">
<div style="color: #111111; font-size: 14px;">
<span style="font-family: Arial, Helvetica, sans-serif;">The demo below explains how to convert text to speech using C# in Visual Studio 2010 using <code style="border: 0px; color: #990000; font-size: 11pt; font-stretch: normal; margin: 0px; padding: 0px;">System.Speech</code>Library.</span></div>
<div style="color: #111111; font-size: 14px;">
<span style="font-family: Arial, Helvetica, sans-serif;">Microsoft .NET framework provides <code style="border: 0px; color: #990000; font-size: 11pt; font-stretch: normal; margin: 0px; padding: 0px;"><a href="http://msdn.microsoft.com/en-US/library/System.Speech.Synthesis.aspx" style="border: 0px; color: purple; margin: 0px; padding: 0px; text-decoration: none;">System.Speech.Synthesis</a> </code>for voice synthesis.</span></div>
</h2>
<div style="background-color: white; margin: 20px 0px 11px; padding: 0px 0px 10px; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: large;">
Building the Sample</span></div>
<div style="background-color: white; color: #ff9900; margin: 20px 0px 11px; padding: 0px 0px 10px; text-align: left;">
<span style="color: #111111; font-family: Arial, Helvetica, sans-serif; font-size: 14px;">You must have Visual Studio 2010 to build and run the sample.</span></div>
<div style="background-color: white; font-weight: 200; margin: 20px 0px 11px; padding: 0px 0px 10px; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: large;">
Description</span></div>
<h2 style="background-color: white; color: #ff9900; font-size: 30px; font-weight: 200; margin: 20px 0px 11px; padding: 0px 0px 10px;">
<div style="color: #111111; font-size: 14px;">
<span style="font-family: Arial, Helvetica, sans-serif;">To convert text to speech which is called voice synthesis, you must include "<code style="border: 0px; color: #990000; font-size: 11pt; font-stretch: normal; margin: 0px; padding: 0px;">System.Speech</code>" reference in your project. It contains functions for both speech synthesis and recognition.</span></div>
<div style="color: #111111; font-size: 14px;">
<span style="font-family: Arial, Helvetica, sans-serif;">After adding <code style="border: 0px; color: #990000; font-size: 11pt; font-stretch: normal; margin: 0px; padding: 0px;">System.speech </code>reference, you have to use <code style="border: 0px; color: #990000; font-size: 11pt; font-stretch: normal; margin: 0px; padding: 0px;">System.Speech.Synthesis </code>in your project which contains various functions for voice synthesis.</span></div>
</h2>
<div style="background-color: white; font-weight: normal; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: large;">
Creating Object of SpeechSynthesizer Class</span></div>
<h2 style="background-color: white; margin: 20px 0px 11px; padding: 0px 0px 10px;">
<div style="color: #111111; font-size: 14px; font-weight: 200;">
<span style="font-family: Arial, Helvetica, sans-serif;">The first step is to create an object of <code style="border: 0px; color: #990000; font-size: 11pt; font-stretch: normal; margin: 0px; padding: 0px;">SpeechSynthesizer </code>class (e.g. "<code style="border: 0px; color: #990000; font-size: 11pt; font-stretch: normal; margin: 0px; padding: 0px;">reader</code>" in my sample).</span></div>
<div style="color: #111111; font-size: 14px; font-weight: 200;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: 200;">SpeechSynthesizer reader = new SpeechSynthesizer();</span><br />
<span style="color: #111111;"><span style="font-size: 14px; font-weight: 200;"><br /></span></span></span></h2>
<div style="background-color: white; font-weight: normal; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: large;">
Calling Speak() Function</span></div>
<h2 style="background-color: white; margin: 20px 0px 11px; padding: 0px 0px 10px;">
<div style="color: #111111; font-size: 14px; font-weight: normal;">
<span style="font-family: Arial, Helvetica, sans-serif;">The next step is to call the "<code style="border: 0px; color: #990000; font-size: 11pt; font-stretch: normal; margin: 0px; padding: 0px;">Speak()</code>" function by passing the text to spoken as <code style="border: 0px; color: #990000; font-size: 11pt; font-stretch: normal; margin: 0px; padding: 0px;">string</code>.</span></div>
<div style="color: #111111; font-size: 14px; font-weight: normal;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #111111;"><span style="font-size: 14px; font-weight: normal;">reader.Speak("This is my first speech project");</span></span><br />
<span style="color: #111111;"><span style="font-size: 14px; font-weight: normal;"><br /></span></span>
</span><div style="color: #111111; font-size: 14px; font-weight: normal;">
<span style="font-family: Arial, Helvetica, sans-serif;">The problem with the <code style="border: 0px; color: #990000; font-size: 11pt; font-stretch: normal; margin: 0px; padding: 0px;">speak() </code>function is that it is not threaded. It means that you cannot perform any other function in your Windows Form until the "<code style="border: 0px; color: #990000; font-size: 11pt; font-stretch: normal; margin: 0px; padding: 0px;">reader</code>" object has completed the speech.</span></div>
<div style="color: #111111; font-size: 14px; font-weight: normal;">
<span style="font-family: Arial, Helvetica, sans-serif;">So it is better to use "<code style="border: 0px; color: #990000; font-size: 11pt; font-stretch: normal; margin: 0px; padding: 0px;">SpeakAsync()</code>" function. I have also used <code style="border: 0px; color: #990000; font-size: 11pt; font-stretch: normal; margin: 0px; padding: 0px;">SpeakAsync() </code>in the sample.</span></div>
<div style="color: #111111; font-size: 14px; font-weight: normal;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<span style="color: #cc0000; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: normal;">reader.SpeakAsync("Speaking text asynchronously");</span></h2>
<div style="background-color: white; margin: 20px 0px 11px; padding: 0px 0px 10px; text-align: left;">
<span style="font-weight: normal;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: large;">Using Pause() and Resume() functions</span></span></div>
<h2 style="background-color: white; margin: 20px 0px 11px; padding: 0px 0px 10px;">
<div style="color: #111111; font-size: 14px; font-weight: normal;">
<span style="font-family: Arial, Helvetica, sans-serif;">You can also detect the state of the "<code style="border: 0px; color: #990000; font-size: 11pt; font-stretch: normal; margin: 0px; padding: 0px;">reader</code>" object by using "<code style="border: 0px; color: #990000; font-size: 11pt; font-stretch: normal; margin: 0px; padding: 0px;">SynthesizerState</code>" property. And using that, you can also "<code style="border: 0px; color: #990000; font-size: 11pt; font-stretch: normal; margin: 0px; padding: 0px;">Pause</code>" or "<code style="border: 0px; color: #990000; font-size: 11pt; font-stretch: normal; margin: 0px; padding: 0px;">Resume</code>" the narration.</span></div>
<div style="color: #111111; font-size: 14px; font-weight: normal;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<span style="color: #cc0000; font-family: Arial, Helvetica, sans-serif;"><span style="font-size: 14px; font-weight: normal;">if (reader.State == SynthesizerState.Speaking)</span><br />
<span style="font-size: 14px; font-weight: normal;"> {</span><br />
<span style="font-size: 14px; font-weight: normal;"> reader.Pause();</span><br />
<span style="font-size: 14px; font-weight: normal;"> }</span><br />
<span style="font-size: 14px; font-weight: normal;"><br /></span>
<span style="font-size: 14px; font-weight: normal;">if (reader.State == SynthesizerState.Paused)</span><br />
<span style="font-size: 14px; font-weight: normal;"> {</span><br />
<span style="font-size: 14px; font-weight: normal;"> reader.Resume();</span><br />
<span style="font-size: 14px; font-weight: normal;"> }</span></span></h2>
<div style="background-color: white; margin: 20px 0px 11px; padding: 0px 0px 10px; text-align: left;">
<span style="font-size: large; font-weight: normal;"><span style="font-family: Arial, Helvetica, sans-serif;">Using Dispose() function</span></span></div>
<h2 style="background-color: white; margin: 20px 0px 11px; padding: 0px 0px 10px;">
<div style="color: #111111; font-size: 14px; font-weight: normal;">
<span style="font-family: Arial, Helvetica, sans-serif;">You can use <code style="border: 0px; color: #990000; font-size: 11pt; font-stretch: normal; margin: 0px; padding: 0px;">Dispose() </code>function to stop narration and dispose the "<code style="border: 0px; color: #990000; font-size: 11pt; font-stretch: normal; margin: 0px; padding: 0px;">reader</code>" object.</span></div>
<div style="color: #111111; font-size: 14px; font-weight: normal;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000;"><span style="font-size: 14px; font-weight: normal;">if( reader!= null )</span><br />
<span style="font-size: 14px; font-weight: normal;">{</span><br />
<span style="font-size: 14px; font-weight: normal;"> reader.Dispose();</span><br />
<span style="font-size: 14px; font-weight: normal;">}</span></span><br />
<span style="color: #111111;"><span style="font-size: 14px; font-weight: normal;"><br /></span></span>
</span><div style="color: #111111; font-size: 14px; font-weight: normal;">
<span style="font-family: Arial, Helvetica, sans-serif;">These are some of the basic operations. You can also change voice, volume, rate and other parameters. You can also save the spoken audio stream directly into a "wave" file.</span></div>
<div style="color: #111111; font-size: 14px; font-weight: normal;">
<span style="font-family: Arial, Helvetica, sans-serif;">The sample also shows some other features such as using event handlers to detect speech progress and display status of synthesizer.</span></div>
<div style="color: #111111; font-size: 14px; font-weight: normal;">
<span style="font-family: Arial, Helvetica, sans-serif;">Below is the complete code for speech synthesis.</span></div>
<div style="color: #111111; font-size: 14px; font-weight: normal;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;">using System;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;">using System.Collections.Generic;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;">using System.ComponentModel;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;">using System.Data;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;">using System.Drawing;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;">using System.Linq;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;">using System.Text;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;">using System.Windows.Forms;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;">using System.Speech.Synthesis;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;">using System.IO;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"><br /></span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;">namespace text_to_speech</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;">{</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> public partial class Form1 : Form</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> {</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> SpeechSynthesizer reader; //declare the object</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> public Form1()</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> {</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> InitializeComponent();</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"><br /></span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> }</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> private void Form1_Load(object sender, EventArgs e)</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> {</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> reader = new SpeechSynthesizer(); //create new object</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> button2.Enabled = false;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> button3.Enabled = false;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> button4.Enabled = false;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> textBox1.ScrollBars = ScrollBars.Both;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> }</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"><br /></span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> //SPEAK TEXT</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> private void button1_Click(object sender, EventArgs e)</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> {</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> reader.Dispose();</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> if (textBox1.Text != "") //if text area is not empty</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> {</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"><br /></span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> reader = new SpeechSynthesizer();</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> reader.SpeakAsync(textBox1.Text);</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> label2.Text = "SPEAKING";</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> button2.Enabled = true;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> button4.Enabled = true;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> reader.SpeakCompleted += new EventHandler<speakcompletedeventargs />(reader_SpeakCompleted);</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> }</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> else</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> {</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> MessageBox.Show("Please enter some text in the textbox",</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> "Message", MessageBoxButtons.OK);</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> }</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> }</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"><br /></span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> //event handler</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> void reader_SpeakCompleted(object sender, SpeakCompletedEventArgs e)</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> {</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> label2.Text = "IDLE";</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> }</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"><br /></span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> //PAUSE</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> private void button2_Click(object sender, EventArgs e)</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> {</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> if (reader != null)</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> {</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> if (reader.State == SynthesizerState.Speaking)</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> {</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> reader.Pause();</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> label2.Text = "PAUSED";</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> button3.Enabled = true;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"><br /></span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> }</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> }</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> }</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"><br /></span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> //RESUME</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> private void button3_Click(object sender, EventArgs e)</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> {</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> if (reader != null)</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> {</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> if (reader.State == SynthesizerState.Paused)</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> {</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> reader.Resume();</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> label2.Text = "SPEAKING";</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> }</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> button3.Enabled = false;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> }</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> }</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"><br /></span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> //STOP</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> private void button4_Click(object sender, EventArgs e)</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> {</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> if (reader != null)</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> {</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> reader.Dispose();</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> label2.Text = "IDLE";</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> button2.Enabled = false;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> button3.Enabled = false;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> button4.Enabled = false;</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> }</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> }</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"><br /></span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> //load data from text file button</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> private void button5_Click(object sender, EventArgs e)</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> {</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> openFileDialog1.ShowDialog();</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> }</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"><br /></span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> private void openFileDialog1_FileOk(object sender, CancelEventArgs e)</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> {</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> //copy data from text file and load it to textbox</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> textBox1.Text = File.ReadAllText(openFileDialog1.FileName.ToString());</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"><br /></span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> }</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"><br /></span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"> }</span></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;">}</span></span></div>
</h2>
<div style="background-color: white; font-weight: normal; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: large;">Adding SYSTEM.SPEECH Reference</span></div>
<h2 style="background-color: white; margin: 20px 0px 11px; padding: 0px 0px 10px;">
<div style="text-align: left;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7RM66xhOH8P3DuDPECXCLgBjqhLO3oVobH3YSEKcDqYOZHYh3Ks3t4svoU18qOpHouFNpLkBu8JF-q0k3a8akiRXrfQT1qGVimS8MGniOXl3_Zr_o4TD8dtPatLqhpQ4bP7F7wKgGGWCj/s1600/img1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7RM66xhOH8P3DuDPECXCLgBjqhLO3oVobH3YSEKcDqYOZHYh3Ks3t4svoU18qOpHouFNpLkBu8JF-q0k3a8akiRXrfQT1qGVimS8MGniOXl3_Zr_o4TD8dtPatLqhpQ4bP7F7wKgGGWCj/s1600/img1.png" height="311" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDp3y5VqUIKfHO0fMlCaWY19lM47cknajVbwG4A-vwligQ5UZNhMU3Mz6lAuNGmKS9T8067DvPz1Mlk18_AnYW0fpJJPovvvgBL5Y2T5VvpML5W481QQbZmm6pJZ0pjUmCynWvCqK_8zma/s1600/img2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDp3y5VqUIKfHO0fMlCaWY19lM47cknajVbwG4A-vwligQ5UZNhMU3Mz6lAuNGmKS9T8067DvPz1Mlk18_AnYW0fpJJPovvvgBL5Y2T5VvpML5W481QQbZmm6pJZ0pjUmCynWvCqK_8zma/s1600/img2.png" height="266" width="320" /></a></div>
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #cc0000; font-size: 14px; font-weight: normal;"><br /></span></span></div>
</h2>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-74866456818552938042014-11-20T05:27:00.001-08:002014-11-20T05:45:20.151-08:00Boxing & UnBoxing In C#<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white; color: #333333; line-height: 22.3999996185303px; text-align: justify;">C# is a strongly-typed language. Every variable and constant has a type, as does every expression that evaluates to a value. </span><span style="background-color: white; color: #333333; line-height: 22.3999996185303px; text-align: justify;">In this article I will share about understanding Boxing and UnBoxing in C#.</span></span><br />
<div>
<div align="justify" style="background-color: white;">
<span style="font-family: Arial, Helvetica, sans-serif;">C# Type System contains three Types , they are Value Types , Reference Types and Pointer Types. C# allows us to convert a Value Type to a Reference Type, and back again to Value Types . The operation of Converting a Value Type to a Reference Type is called Boxing and the reverse operation</span> <br />
<a name='more'></a><span style="font-family: Arial, Helvetica, sans-serif;">is called Unboxing.</span></div>
<div align="justify" style="background-color: white;">
<span style="color: blue; font-family: Arial, Helvetica, sans-serif;"><b>Boxing:</b></span></div>
<div align="justify" style="background-color: white;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><b>Example</b></span></div>
<span style="background-color: white; color: maroon; font-family: Arial, Helvetica, sans-serif;"><b> </b> </span><span style="background-color: white; color: #cc0000; font-family: Arial, Helvetica, sans-serif;">1: int akm = 1;</span><br />
<span style="background-color: white; color: #cc0000; font-family: Arial, Helvetica, sans-serif;">2: Object Obj = akm; //Boxing</span><br />
<div align="justify" style="background-color: white;">
<span style="font-family: Arial, Helvetica, sans-serif;">The first line we created a Value Type akm and assigned a value to akm. The second line , we created an instance of Object Obj and assign the value of akm to Obj. From the above operation (Object Obj = i ) we saw converting a value of a Value Type into a value of a corresponding Reference Type . These types of operation is called Boxing.</span></div>
<div align="justify" style="background-color: white;">
<b style="color: blue; font-family: Arial, Helvetica, sans-serif; text-align: left;">UnBoxing</b></div>
<div align="justify" style="background-color: white;">
<span style="color: red; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><b>Example</b></span><br />
<span style="color: #cc0000; font-family: Arial, Helvetica, sans-serif;">1:Int akm=1;</span><br />
<span style="color: #cc0000; font-family: Arial, Helvetica, sans-serif;">2:Object Obj=akm; //Boxing</span><br />
<span style="color: #cc0000;"><span style="font-family: Arial, Helvetica, sans-serif;">3:Int i=</span><span style="font-family: Times, 'Times New Roman', serif; line-height: 21.5599994659424px; text-align: left; white-space: pre;">(int)Obj; //Unboxing</span></span><br />
<span style="font-family: Arial, Helvetica, sans-serif; text-align: left;">The first two line shows how to Box a Value Type . The next line (int i = (int) Obj) shows extracts the Value Type from the Object . That is converting a value of a Reference Type into a value of a Value Type. This operation is called UnBoxing.</span></div>
<div align="justify" style="background-color: white;">
<span style="color: blue; font-family: Arial, Helvetica, sans-serif;"><b>Difference Between Boxing & UnBoxing</b></span></div>
</div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="background-color: white; border-collapse: collapse; border: none; color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 14px; line-height: 22.3999996185303px;"><tbody>
<tr><td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 104.65pt;" valign="top" width="140"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
</td><td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 188.35pt;" valign="top" width="251"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;">
<b><span style="font-family: Arial, Helvetica, sans-serif;">Boxing</span></b></div>
</td><td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 169.1pt;" valign="top" width="225"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;">
<b><span style="font-family: Arial, Helvetica, sans-serif;">Unboxing</span></b></div>
</td></tr>
<tr><td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 104.65pt;" valign="top" width="140"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;">
<b><span style="font-family: Arial, Helvetica, sans-serif;">Definition:</span></b></div>
</td><td style="border-bottom-color: black; border-bottom-width: 1pt; border-right-color: black; border-right-width: 1pt; border-style: none solid solid none; padding: 0cm 5.4pt; width: 188.35pt;" valign="top" width="251"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;">
<span style="font-family: Arial, Helvetica, sans-serif;"><i>Boxing</i> is the <b>process of converting a value type to the reference type</b>.</span></div>
</td><td style="border-bottom-color: black; border-bottom-width: 1pt; border-right-color: black; border-right-width: 1pt; border-style: none solid solid none; padding: 0cm 5.4pt; width: 169.1pt;" valign="top" width="225"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;">
<span style="font-family: Arial, Helvetica, sans-serif;"><i>Unboxing</i> is the <b>process of converting </b><b>a reference type to value type</b></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;">
<span style="font-family: Arial, Helvetica, sans-serif;">.</span></div>
</td></tr>
<tr><td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 104.65pt;" valign="top" width="140"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;">
<b><span style="font-family: Arial, Helvetica, sans-serif;">Type of Conversion:</span></b></div>
</td><td style="border-bottom-color: black; border-bottom-width: 1pt; border-right-color: black; border-right-width: 1pt; border-style: none solid solid none; padding: 0cm 5.4pt; width: 188.35pt;" valign="top" width="251"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;">
<span style="font-family: Arial, Helvetica, sans-serif;">Implicit Conversion</span></div>
</td><td style="border-bottom-color: black; border-bottom-width: 1pt; border-right-color: black; border-right-width: 1pt; border-style: none solid solid none; padding: 0cm 5.4pt; width: 169.1pt;" valign="top" width="225"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;">
<span style="font-family: Arial, Helvetica, sans-serif;">Explicit Conversion</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
</td></tr>
<tr><td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 104.65pt;" valign="top" width="140"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;">
<b><span style="font-family: Arial, Helvetica, sans-serif;">Example:</span></b></div>
</td><td style="border-bottom-color: black; border-bottom-width: 1pt; border-right-color: black; border-right-width: 1pt; border-style: none solid solid none; padding: 0cm 5.4pt; width: 188.35pt;" valign="top" width="251"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;">
<span style="font-family: Arial, Helvetica, sans-serif;">int akm = 221;</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;">
<span style="font-family: Arial, Helvetica, sans-serif;">object obj = akm; //boxing</span></div>
</td><td style="border-bottom-color: black; border-bottom-width: 1pt; border-right-color: black; border-right-width: 1pt; border-style: none solid solid none; padding: 0cm 5.4pt; width: 169.1pt;" valign="top" width="225"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;">
<span style="font-family: Arial, Helvetica, sans-serif;">object obj = 213;</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;">
<span style="font-family: Arial, Helvetica, sans-serif;">akm = (int)obj ; // unboxing</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0cm;">
<span style="font-family: Verdana, sans-serif;"><br /></span></div>
</td></tr>
</tbody></table>
<br />
<br /></div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-22604047557532248872014-11-19T00:16:00.000-08:002014-11-20T05:33:56.722-08:00 View State In Asp.Net<div dir="ltr" style="text-align: left;" trbidi="on">
<ol style="border: 0px; margin: 0px; padding: 0px;">
<li class="mod" style="background-color: white; border: 0px; clear: none; list-style: none; margin: 0px; padding: 0px 20px;"><div class="_oDd _Sgc" data-hveid="32">
<div class="_Tgc" style="overflow: hidden; padding-bottom: 20px;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b style="color: #222222; line-height: 1.2;">View state</b><span style="color: #222222;"><span style="line-height: 1.2;"> is the method that the ASP.NET page framework uses to preserve page and control values between round trips. When the HTML markup for the page is rendered, the current </span></span><b style="color: #222222; line-height: 1.2;">state</b><span style="color: #222222;"><span style="line-height: 1.2;"> of the page and values that must be retained during </span><span style="line-height: 19.2000007629395px;">post back</span><span style="line-height: 1.2;"> are serialized into base64-encoded strings.</span></span></span></div>
</div>
</li>
<li class="mod" style="background-color: white; border: 0px; clear: none; color: #222222; line-height: 1.2; list-style: none; margin: 0px; padding: 0px 20px;"><div class="_Tgc" style="overflow: hidden; padding-bottom: 20px;">
<span style="color: black; line-height: normal; text-align: justify;"><span style="font-family: Arial, Helvetica, sans-serif;">When an ASP.NET page is submitted to the server, the state of the controls is encoded and sent to the server at every form submission in a hidden field known as </span></span><br />
<a name='more'></a><span style="color: black; line-height: normal; text-align: justify;"><span style="font-family: Arial, Helvetica, sans-serif;">__VIEWSTATE. The server sends back the variable so that when the page is re-rendered, the controls render at their last state, so no extra programming is needed. If you try to view source code from browser you can see that ASP .NET has added a hidden field in the form to maintain the ViewState.</span></span></div>
</li>
<li class="mod" style="background-color: white; border: 0px; clear: none; color: #222222; line-height: 1.2; list-style: none; margin: 0px; padding: 0px 20px;"><b style="color: blue; font-family: Arial, Helvetica, sans-serif; line-height: normal; text-align: justify;"><u>Example.</u></b></li>
<li class="mod" style="border: 0px; clear: none; color: #222222; font-size: small; line-height: 1.2; list-style: none; margin: 0px; padding: 0px 20px;"><div class="_Tgc" style="overflow: hidden; padding-bottom: 20px;">
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; margin: 0in 0in 0.0001pt 0.25in;">
<span style="color: black; font-size: small; line-height: normal; text-align: justify;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0EZLq0IpCmIatIRdinKg0jonuDd9j-4d8EUQBtSUkieHmWt5gMa2uzhi7EwZbpnbjIcD7SdPA8GYaTAx9QicDTdmv_Zq8yg9_JZwHx0O8QnVNG_2XIyyOX40-0OCImuyP4lDLrEsJOmHv/s1600/ViewStateProvider.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0EZLq0IpCmIatIRdinKg0jonuDd9j-4d8EUQBtSUkieHmWt5gMa2uzhi7EwZbpnbjIcD7SdPA8GYaTAx9QicDTdmv_Zq8yg9_JZwHx0O8QnVNG_2XIyyOX40-0OCImuyP4lDLrEsJOmHv/s1600/ViewStateProvider.jpg" height="250" width="320" /></a><span style="font-size: 10.5pt;"><span style="background-color: #eeeeee;"><html><br />
<body><br /><form action="demo_classicasp.aspx" method="post"><br />
Your name: <input type="text" name="fname"
size="20"><br />
<input type="submit" value="Submit"><br />
</form><br />
<%<br />
dim fname<br />
fname=Request.Form("fname")<br />
If fname<>"" Then<br />
Response.Write("Hello " & fname & "!")<br />
End If<br />
%><br /></body><br />
</html></span><span style="background-color: white; font-family: Consolas;"><o:p></o:p></span></span></span></span></div>
<span style="color: black; font-size: small; line-height: normal; text-align: justify;"><span style="font-family: Arial, Helvetica, sans-serif;">
</span></span></div>
</li>
<li class="mod" style="background-color: white; border: 0px; clear: none; color: #222222; line-height: 1.2; list-style: none; margin: 0px; padding: 0px 20px;"><div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; margin: 0in 0in 0.0001pt 0.25in;">
<span style="color: black; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: normal; text-align: justify;">Maintaining the ViewState is the default setting for ASP.NET Web Forms. By default, most ASP.NET controls enable view state. If you want to not maintain the ViewState, include the directive <%@ Page EnableViewState="false" %> at the top of an .aspx page or add the attribute EnableViewState="false" to any control. You can also maintain ViewState for all pages in a web.config file.</span></div>
</li>
<li class="mod" style="background-color: white; border: 0px; clear: none; color: #222222; font-size: small; line-height: 1.2; list-style: none; margin: 0px; padding: 0px 20px;"><div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; margin: 0in 0in 0.0001pt 0.25in;">
<span style="font-family: Consolas; font-size: 10.5pt;"><span style="color: black; font-family: verdana; font-size: small; line-height: normal; text-align: justify;"><br /></span></span></div>
</li>
</ol>
<div style="text-align: justify;">
<div>
<span style="background-color: #eeeeee;"><span style="font-family: Arial, Helvetica, sans-serif;"><configuration></span></span></div>
<div>
<span style="background-color: #eeeeee;"><span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span><system.web></span></span></div>
<div>
<span style="background-color: #eeeeee;"><span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span><pages</span></span></div>
<div>
<span style="background-color: #eeeeee;"><span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>buffer="true"</span></span></div>
<div>
<span style="background-color: #eeeeee;"><span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>enableSessionState="true"</span></span></div>
<div>
<span style="background-color: #eeeeee;"><span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>enableViewState="true"</span></span></div>
<div>
<span style="background-color: #eeeeee;"><span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>autoEventWireup="true"</span></span></div>
<div>
<span style="background-color: #eeeeee;"><span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span>/></span></span></div>
<div>
<span style="background-color: #eeeeee;"><span style="font-family: Arial, Helvetica, sans-serif;"><span class="Apple-tab-span" style="white-space: pre;"> </span></system.web></span></span></div>
<div>
<span style="background-color: #eeeeee;"><span style="font-family: Arial, Helvetica, sans-serif;"></configuration></span></span></div>
<div>
<span style="background-color: #eeeeee;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></span></div>
<div>
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif;">View state is a great idea to store information in a page, but if you wish to save more complex data, and keep them from page to page, you should look into using cookies or sessions is better.</span></div>
<div style="font-family: verdana;">
<br /></div>
</div>
<ol style="background-color: white; border: 0px; margin: 0px; padding: 0px;">
<li class="mod" style="border: 0px; clear: none; color: #222222; font-size: small; line-height: 1.2; list-style: none; margin: 0px; padding: 0px 20px;"><div>
<br /></div>
</li>
</ol>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-35280805452429033132014-11-18T23:40:00.006-08:002014-11-18T23:44:47.652-08:00What is Session State In Asp.Net<div dir="ltr" style="text-align: left;" trbidi="on">
<ol style="background-color: white; border: 0px; color: #222222; line-height: 15.6000003814697px; margin: 0px; padding: 0px;">
<li class="mod" style="border: 0px; clear: none; font-size: small; line-height: 1.2; list-style: none; margin: 0px; padding: 20px 20px 0px;"><div class="_oDd _Sgc" data-hveid="28" style="font-size: 16px;">
<div class="_Tgc" style="overflow: hidden; padding-bottom: 20px;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b>ASP.NET</b> <b><u>session state</u></b> enables you to store and retrieve values for a user as the user navigates ASP.NET pages in a Web application. HTTP is a stateless protocol. This means that a Web server treats each HTTP request for a page as an independent request.Session is defined as the period of time that a unique user interacts with a Web application. When a new user begins to interact with the application, a new session ID is generated and associated with all subsequent requests from that same client and stored in a cookie on the client machine.</span><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiTNvmWIDjuyOc5q0xyjkasEBZRs0bwWL8KuaV6Eq_03XB9Oe2B-8Dtad-KqO0rfXsB9oXDOiCXgbndD5mIWk7yFmP7x4TLnAakZHXcFBxMlSBIBR_SJ8d1brhCuDzKqmHI1irASnLgLLd/s1600/IC115020.gif" imageanchor="1" style="font-family: arial, sans-serif; font-size: small; line-height: 1.2; margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiTNvmWIDjuyOc5q0xyjkasEBZRs0bwWL8KuaV6Eq_03XB9Oe2B-8Dtad-KqO0rfXsB9oXDOiCXgbndD5mIWk7yFmP7x4TLnAakZHXcFBxMlSBIBR_SJ8d1brhCuDzKqmHI1irASnLgLLd/s1600/IC115020.gif" height="160" width="400" /></a><br />
<a name='more'></a></div>
</div>
</li>
<li class="mod" style="border: 0px; clear: none; line-height: 1.2; list-style: none; margin: 0px; padding: 20px 20px 0px;"><span style="font-family: Arial, Helvetica, sans-serif; line-height: 1.2;">Session state is maintained in an instance of the HttpSessionState class and is accessible through the Session property of both the Page and HttpContext classes. It is not necessary for you to instantiate the Session Object. An instance is automatically provided for you. The Session object allows you to maintain a list of name/value pairs that can be accessed by any Web page in your application.</span></li>
</ol>
<div align="justify" style="background-color: white; font-family: verdana;">
<b style="text-align: start;"><span style="color: blue;">C#</span></b></div>
<div style="background: rgb(238, 239, 247); color: maroon; height: auto; overflow-x: auto; width: 580px;">
<pre> string Username;
if (Session["Username"] != null)
{
Username = (String)Session["Username"];
}
else
{
Session["Usernames"] = "Ashok";
<div align="justify">
}</div>
</pre>
</div>
<div align="justify" style="background-color: white; font-family: verdana;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIAUNuOImrIywgwc32wgjPwBfM48bGFpzCsul0falow7x4qgy4ka2id9h3tzLwBghJJgu4tMfjY750LvOrW_JoXLI-CD4KY_qMvIG818y3p2L2OmI-4_P6ee25MMethRkpkMpjdpzVCHK1/s1600/IC55663.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIAUNuOImrIywgwc32wgjPwBfM48bGFpzCsul0falow7x4qgy4ka2id9h3tzLwBghJJgu4tMfjY750LvOrW_JoXLI-CD4KY_qMvIG818y3p2L2OmI-4_P6ee25MMethRkpkMpjdpzVCHK1/s1600/IC55663.gif" height="361" width="400" /></a></div>
<div align="justify" style="background-color: white; font-family: verdana;">
<br /></div>
<div align="justify" style="background-color: white; font-family: verdana;">
<br /></div>
<div align="justify">
<span style="font-family: Arial, Helvetica, sans-serif;">For every client Session data store separately, means session data is stored as per client basis. Along with advantages, some times session can causes performance issue for heavy traffic sites because its stored on server memory and clients read data from the server itself.</span></div>
<div align="justify" style="background-color: white; font-family: verdana;">
<span style="font-family: verdana; font-size: xx-small; text-align: start;"></span><span style="font-family: 'Times New Roman'; text-align: start;"></span><span style="font-family: 'Times New Roman'; text-align: start;"></span><span style="font-family: 'Times New Roman'; text-align: start;"></span><br style="font-family: 'Times New Roman'; text-align: start;" /></div>
<div align="justify" style="background-color: white; font-family: verdana;">
<br /></div>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-67291755198077040682014-11-18T05:32:00.001-08:002014-11-18T06:13:14.278-08:00 Caching In Asp.Net<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="background-color: white; font-family: verdana; text-align: justify;">Caching is the ability to store page output and data in memory for the first time it is requested and later we can quickly retrieve them for multiple, repetitious client requests. It is like keeping a copy of something for later use, so we can reduce the load factor on Web servers and database servers by implementing caching on a Web application.</span><br />
<div align="justify" style="background-color: white; font-family: verdana;">
<b><u><span style="color: blue;">Writing Code In C#</span></u></b></div>
<div style="background: rgb(238, 239, 247); color: maroon; font-family: verdana; height: auto; overflow-x: auto; width: 580px;">
<pre>Cache.Add("dataset", dataset, null, System.Web.Caching.Cache.NoAbsoluteExpiration, new TimeSpan(0, 0, 60), System.Web.Caching.CacheItemPriority.Default, null);<a name='more'></a></pre>
</div>
<div style="background-color: white; font-family: verdana;">
</div>
<div align="justify" style="background-color: white; font-family: verdana;">
<b><span style="color: red;"><br /></span></b></div>
<div align="justify" style="background-color: white; font-family: verdana;">
<b><span style="color: red;">Retrieve data from cache</span></b></div>
<div align="justify" style="font-family: verdana;">
<b><u><span style="color: blue;">Writing Code In C#</span></u></b></div>
<div style="background: rgb(238, 239, 247); color: maroon; height: auto; overflow-x: auto; width: 580px;">
<pre>DataSet ds = new DataSet();
<div align="justify">
ds = (DataSet) Cache["dataset"];</div>
</pre>
</div>
<div style="background-color: white; font-family: verdana;">
</div>
<div align="justify" style="background-color: white; font-family: verdana;">
It becomes more efficient to serve a copy of the initial response, rather than regenerating the same response for every client request.</div>
<div align="justify" style="background-color: white; font-family: verdana;">
<b style="text-align: start;"></b><span style="text-align: start;"></span></div>
<div align="justify" style="background-color: white; font-family: verdana;">
ASP.NET provides two types of caching, Application Cache and Page Output Cache. The application cache, which provides a programmatic way for you to store arbitrary data in memory using key/value pairs. The Page output caching, which saves the output of page processing and reuses the output instead of re-processing the page when a user requests the page again.</div>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-16197330519237513202014-11-18T05:24:00.001-08:002014-11-18T05:27:52.709-08:00How To Use Cookies ASP.NET.<div dir="ltr" style="text-align: left;" trbidi="on">
<div align="justify" style="background-color: white;">
<span style="font-family: Arial, Helvetica, sans-serif;">Cookies provide the ability to store small amounts of data on a clients machine. It is often used to store user preferences, session variables, or identity. When the user visits your Web site another time, the application can retrieve the information it stored earlier.</span></div>
<div align="justify" style="background-color: white;">
<span style="font-family: Arial, Helvetica, sans-serif;">The browser is responsible for managing cookies on a user system. Cookies can be created, accessed, and modified directly by script running on the client and pass between the client and server during requests.</span></div>
<div align="justify" style="background-color: white; font-family: verdana;">
<b style="text-align: start;"><u><span style="color: blue;">Writing code in C#</span></u></b></div>
<div style="background: rgb(238, 239, 247); color: maroon; height: auto; overflow-x: auto; width: 580px;">
<pre>Response.Cookies["UserName"].Value = "Ashok";
<div align="justify">
Response.Cookies["UserName"].Expires = DateTime.Now.AddDays(1);</div>
<a name='more'></a><div align="justify" style="background-color: white; color: black; font-family: verdana; white-space: normal;">
<span style="color: blue;"><b><u>Reading code in C#</u></b></span></div>
<div align="justify">
</div>
<div style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; height: auto; overflow-x: auto; width: 580px;">
<pre>if(Request.Cookies["UserName"] != null)
<div align="justify">
Label1.Text = Server.HtmlEncode(Request.Cookies["UserName"].Value);</div>
</pre>
</div>
</pre>
</div>
<div align="justify">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div align="justify">
<span style="font-family: Arial, Helvetica, sans-serif;">Cookies can be either temporary .Temporary cookies are stored in the clients browser. These cookies are saved only while your web browser is running.on the other hand, are stored on the hard disk of the client computer as a text file. They stay on your hard disk and can be accessed by web servers until they are deleted or have expired. These cookies can be retrieved by the Web application when the client establishes another session with it.</span></div>
<div align="justify">
<span style="font-family: Arial, Helvetica, sans-serif;">Cookies are limited to 4096 bytes in size and are only capable of storing strings. Browsers also impose limitations on how many cookies your site can store on the users computer. Most browsers allow only 20 cookies per site; if you try to store more, the oldest cookies are discarded.</span></div>
<div align="justify" style="background-color: white; font-family: verdana;">
<br /><span style="font-family: verdana; font-size: xx-small; text-align: start;"></span></div>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-16425723636714174772014-11-18T04:30:00.003-08:002014-11-18T04:44:19.564-08:00Auto Generate Row Number in GridView<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="background-color: white; text-align: justify;"><span style="font-family: Arial, Helvetica, sans-serif;">The GridView control is the successor to the DataGrid and extends it in a number of ways. While developing GridView control in ASP.NET, programmers often requires to display row number in GridView controls.</span></span><br />
<div class="separator" style="clear: both; font-family: verdana; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG_3sKT5pNSxaqmptP7c1riyr9SquxaB_ZfvQDaNK6FWcyJ2-dKJF_mDbiznGejl5WC9RxRzCTy9_amZ-6VKcDZlisdjukQPaJDKaStsC7c2DEAgfkYM3lRy3mffdBhVIdHsQol1ciZKGi/s1600/aasas.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG_3sKT5pNSxaqmptP7c1riyr9SquxaB_ZfvQDaNK6FWcyJ2-dKJF_mDbiznGejl5WC9RxRzCTy9_amZ-6VKcDZlisdjukQPaJDKaStsC7c2DEAgfkYM3lRy3mffdBhVIdHsQol1ciZKGi/s1600/aasas.png" height="78" width="320" /></a></div>
<a name='more'></a><br />
<div align="justify">
<span style="color: blue; font-family: Arial, Helvetica, sans-serif;"><b>Auto Generate Row Numbers in Grid View</b></span></div>
<br />
<div align="justify" style="background-color: white;">
<span style="font-family: Arial, Helvetica, sans-serif;">It is a common requirement that Grid Views to have the first column just be a number identifying the row. Because of doing this implementation, the user can see the number of rows returned by scrolling to the end of the Grid View. By adding this code you can add a row number column to your asp.net Grid View Control.</span></div>
<center style="background-color: white; font-family: verdana;">
<img alt="row-index in gridview" src="http://asp.net-informations.com/gridview/img/row-index-gridview.png" height="102" width="336" /></center>
<div align="justify" style="background-color: white;">
<span style="font-family: Arial, Helvetica, sans-serif;">The following source code show how to create a row number column field to your Asp.Net GridView</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div align="justify" style="background-color: white;">
<div align="justify" style="font-family: verdana;">
Default.aspx<br />
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: yellow; font-family: Consolas; font-size: 9.5pt;"><%</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">@</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">Page</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">Language</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="C#"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">AutoEventWireup</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="true"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">CodeFile</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="1DEMO.aspx.cs"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">Inherits</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="Admin_1DEMO"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: yellow; font-family: Consolas; font-size: 9.5pt;">%></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><!</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">DOCTYPE</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">html</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">html</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">xmlns</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="http://www.w3.org/1999/xhtml"></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">head</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">runat</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="server"></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">title</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">title</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">head</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">body</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">form</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">id</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="form1"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">runat</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="server"></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">div</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> My Demo</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">br</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">/></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">asp</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">GridView</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">ID</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="GridView1"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">runat</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="server"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="White"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">width</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="100%"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">BorderColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="#3366CC"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">BorderStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="None"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">BorderWidth</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="1px"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">CellPadding</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="4"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">AllowPaging</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="True"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">OnPageIndexChanging</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="GridView1_PageIndexChanging"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">FooterStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="#99CCCC"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">ForeColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="#003399"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">/></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">HeaderStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="#003399"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">Font-Bold</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="True"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">ForeColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="#CCCCFF"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">/></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">PagerSettings</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">FirstPageText</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">=""</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">LastPageText</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">=""</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">Mode</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="NextPrevious"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">NextPageText</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="Next"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">PreviousPageText</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="Prev"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">/></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">PagerStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="#99CCCC"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">ForeColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="#003399"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">HorizontalAlign</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="Left"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">/></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">RowStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="White"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">ForeColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="#003399"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">/></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">SelectedRowStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="#009999"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">Font-Bold</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="True"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">ForeColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="#CCFF99"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">/></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">SortedAscendingCellStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="#EDF6F6"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">/></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">SortedAscendingHeaderStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="#0D4AC4"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">/></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">SortedDescendingCellStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="#D6DFDF"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">/></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">SortedDescendingHeaderStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="#002876"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">/></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">Columns</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">asp</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">TemplateField</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 9.5pt;">HeaderText</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">="Sno"></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">ItemTemplate</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">span</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: yellow; font-family: Consolas; font-size: 9.5pt;"><%</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">#</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;">Container.DataItemIndex + 1 </span><span style="background: yellow; font-family: Consolas; font-size: 9.5pt;">%></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">span</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">ItemTemplate</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">asp</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">TemplateField</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">Columns</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">asp</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">GridView</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">div</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">form</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">body</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">html</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<br />
<div class="MsoNormal">
<br /></div>
</div>
<div style="background-attachment: initial; background-clip: initial; background-color: #eeeff7; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1px solid rgb(204, 204, 204); height: auto; overflow-x: auto; padding-left: 8px; text-align: start; width: 580px;">
C# Source Code<br />
<pre><div align="justify">
</div>
</pre>
</div>
</div>
<div style="background: rgb(238, 239, 247); border: 1px solid rgb(204, 204, 204); color: maroon; font-family: verdana; height: auto; overflow-x: auto; padding-left: 8px; width: 580px;">
<pre><xmp>using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Web.Configuration;
public partial class Admin_1DEMO : System.Web.UI.Page
{
SqlConnection con = new SqlConnection(WebConfigurationManager</xmp><xmp>.AppSettings["con"]);
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
databind();
}
}
public void databind()
{
SqlDataAdapter da = new SqlDataAdapter("select * from</xmp><xmp>DEMO_Blog", con);
DataTable dt = new DataTable();
da.Fill(dt);
GridView1.DataSource = dt;
GridView1.DataBind();
}
protected void GridView1_PageIndexChanging(object sender, </xmp><xmp>GridViewPageEventArgs e)
{
GridView1.PageIndex = e.NewPageIndex;
databind();
}
}
</xmp>
<div align="justify">
</div>
</pre>
</div>
<div style="background-color: white; font-family: verdana;">
</div>
<div align="justify" style="background-color: white; font-family: verdana;">
<br /></div>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-23785388144200617852014-11-18T04:04:00.002-08:002014-11-18T04:32:38.235-08:00How To Use Grid View Page Index Changing In Asp.Net<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: Arial, Helvetica, sans-serif;">Here I Will Explain How to use Page Index/Pagination In Grid View.W<span style="background-color: white; color: #333333; outline: 0px;">ith various types of paging in </span><span style="background-color: white; color: #333333; outline: 0px;">ASP.NET. We use C# code to bind the SQL data with a Grid View control and use the following simple steps to make your ASP.NET Grid View control with paging enabled. The Grid View control provides you with an easy way to display the number of items on a page</span></span><br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9Ip3L63QWb3r_QtSynP88YHNIebpzy_Kvkt1A7-EA2AUjKswVPJ-u5UU0uCKzq0qPIUvLP7jVTRR42EporgcI7Ga14-FyZN62SrldzFpVbcNg3OP3dfb6rJLqE-uzNses1N9YqZ21v0CS/s1600/aaaass.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9Ip3L63QWb3r_QtSynP88YHNIebpzy_Kvkt1A7-EA2AUjKswVPJ-u5UU0uCKzq0qPIUvLP7jVTRR42EporgcI7Ga14-FyZN62SrldzFpVbcNg3OP3dfb6rJLqE-uzNses1N9YqZ21v0CS/s1600/aaaass.png" /></a><span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white; color: #333333; outline: 0px;"><br /></span></span>
<span style="font-family: Arial, Helvetica, sans-serif;">What is Page Index In Asp.Net?</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;">To show </span><span style="background-color: white;">he number of items on a page in Grid View.</span></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"><br /></span></span>
<span style="background-color: white;"><span style="font-family: Arial, Helvetica, sans-serif;">C# code to bind the SQL data with a Grid View control and use the following steps.</span></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"><b>C</b>reate a SQL table</span></span><br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://www.blogger.com/blogger.g?blogID=6523619093234136948" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="" /></a></div>
<br />
<a name='more'></a><br /><br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="title" style="background-color: white; color: #e66a38; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; line-height: 15px; margin: 0px; min-height: 23px;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border-left-color: rgb(208, 210, 210); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(208, 210, 210); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(208, 210, 210); border-top-style: solid; border-top-width: 1px; display: inline-block; padding: 4px 8px; text-align: center;">HTML </span></div>
<pre class="html" style="background-color: white; border-color: rgb(208, 210, 210); border-style: solid; border-width: 2px 1px; margin-bottom: 10px !important; padding: 10px; word-wrap: break-word !important;"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: yellow; font-family: Consolas; font-size: 9.5pt;"><%</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">@</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Page</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Language</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="C#"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AutoEventWireup</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="true"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CodeFile</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="1DEMO.aspx.cs"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Inherits</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Admin_1DEMO"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: yellow; font-family: Consolas; font-size: 9.5pt;">%></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">DOCTYPE</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">head</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">runat</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="server"></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">form</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">id</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="form1"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">runat</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="server"></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> My Demo</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">br</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">asp</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">GridView</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ID</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="GridView1"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">runat</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="server"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BackColor</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="White"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BorderColor</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="#3366CC"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BorderStyle</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="None"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BorderWidth</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="1px"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CellPadding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="4"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AllowPaging</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="True"</span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">OnPageIndexChanging</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="GridView1_PageIndexChanging"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">PageSize</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="4"></span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">FooterStyle</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BackColor</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="#99CCCC"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ForeColor</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="#003399"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">HeaderStyle</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BackColor</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="#003399"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Font-Bold</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="True"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ForeColor</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="#CCCCFF"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">PagerSettings</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">FirstPageText</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=""</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">LastPageText</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=""</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Mode</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="NextPrevious"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">NextPageText</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Next"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">PreviousPageText</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Prev"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">PagerStyle</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BackColor</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="#99CCCC"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ForeColor</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="#003399"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">HorizontalAlign</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Left"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">RowStyle</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BackColor</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="White"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ForeColor</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="#003399"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">SelectedRowStyle</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BackColor</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="#009999"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Font-Bold</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="True"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ForeColor</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="#CCFF99"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">SortedAscendingCellStyle</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BackColor</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="#EDF6F6"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">SortedAscendingHeaderStyle</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BackColor</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="#0D4AC4"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">SortedDescendingCellStyle</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BackColor</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="#D6DFDF"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">SortedDescendingHeaderStyle</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BackColor</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="#002876"</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Columns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">asp</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">TemplateField</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">HeaderText</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Sno"></span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ItemTemplate</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">span</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: yellow; font-family: Consolas; font-size: 9.5pt;"><%</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">#</span><span style="background: white; font-family: Consolas; font-size: 9.5pt;">Container.DataItemIndex + 1 </span><span style="background: yellow; font-family: Consolas; font-size: 9.5pt;">%></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">span</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ItemTemplate</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">asp</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">TemplateField</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Columns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">asp</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">GridView</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">form</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span><br />
<div class="title" style="background-color: white; color: #e66a38; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; line-height: 15px; margin: 0px; min-height: 23px; white-space: normal;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border-left-color: rgb(208, 210, 210); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(208, 210, 210); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(208, 210, 210); border-top-style: solid; border-top-width: 1px; display: inline-block; padding: 4px 8px; text-align: center;">C#</span><span style="white-space: pre-wrap;"> </span></div>
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></span><br />
<pre class="csharp" style="background-color: white; border-color: rgb(208, 210, 210); border-style: solid; border-width: 2px 1px; font-size: 12px; line-height: 15px; margin-bottom: 10px !important; padding: 10px; white-space: pre-wrap !important; word-wrap: break-word !important;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Web.Configuration;
public partial class Admin_1DEMO : System.Web.UI.Page
{
SqlConnection con = new SqlConnection(WebConfigurationManager.AppSettings["con"]);
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
databind();
}
}
public void databind()
{
SqlDataAdapter da = new SqlDataAdapter("select * from DEMO_Blog", con);
DataTable dt = new DataTable();
da.Fill(dt);
GridView1.DataSource = dt;
GridView1.DataBind();
}
protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
GridView1.PageIndex = e.NewPageIndex;
databind();
}
}</div>
</pre>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyM9EpdmGEGH3fcEsUpKURp0v3FZ78gPA-F9jsDORyGdC2sd6vg4hYn8E0xajx2zm4sNrgS0Y8g8ZFO3Fyj5CyUaFHaBezeZWrNoIuZxwgroGGgdxX0ARTz7CKyNktfd3GaCblXOlv0Tmo/s1600/Untqitled.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyM9EpdmGEGH3fcEsUpKURp0v3FZ78gPA-F9jsDORyGdC2sd6vg4hYn8E0xajx2zm4sNrgS0Y8g8ZFO3Fyj5CyUaFHaBezeZWrNoIuZxwgroGGgdxX0ARTz7CKyNktfd3GaCblXOlv0Tmo/s1600/Untqitled.png" /></a></div>
<div class="title" style="background-color: white; color: #e66a38; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; line-height: 15px; margin: 0px; min-height: 23px; white-space: normal;">
</div>
<pre class="csharp" style="background-color: white; border-color: rgb(208, 210, 210); border-style: solid; border-width: 2px 1px; font-size: 12px; line-height: 15px; margin-bottom: 10px !important; padding: 10px; white-space: pre-wrap !important; word-wrap: break-word !important;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; font-family: Consolas; font-size: 9.5pt;"> </span></div>
</div>
</pre>
</div>
</pre>
<div class="" style="clear: both; text-align: left;">
<span style="color: red;">Note</span></div>
<div class="" style="clear: both; text-align: left;">
When Adding Grid View Make Sure These Property Should Be changed <span style="color: blue;">AllowPaging="True" & PageSize="4"</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://www%3Cstrike%3E%3C/strike%3E.blogger.com/htt%3Cstrike%3E%3C/strike%3Ep:https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW0BFxu6OB2srMSAcziFucQnQUz3na7ZEPboUZkAYuDRo8GAvyLqBI0MSUo2wYynZOxKy44fwJmG0pGt1QXsNSoJd_ergEQo21TXiuxS_wgnCwR3p6M8d2N_56oQ7XthR_HA5X_8CoFH1t/s1600/Untitled.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW0BFxu6OB2srMSAcziFucQnQUz3na7ZEPboUZkAYuDRo8GAvyLqBI0MSUo2wYynZOxKy44fwJmG0pGt1QXsNSoJd_ergEQo21TXiuxS_wgnCwR3p6M8d2N_56oQ7XthR_HA5X_8CoFH1t/s1600/Untitled.png" /></a></div>
<br />
<span style="background-color: white; color: #333333;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></span>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-82406760914082015942014-11-01T05:23:00.001-07:002014-11-18T04:07:01.827-08:00How To Copy Whole Database From One Computer To Another By Using Generate Script<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: Arial,Helvetica,sans-serif;"><b>What is Generate Script</b>?</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"> This is a process in which we can generate the script of the existing database. And can use easily on other client system without loosing any Data.</span><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;"><b>Why it is different from import&export</b>?</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"> By using Generate Script we can export whole database as well as data and script but in import & export only we can extract the skeleton of the Database.It's a easiest way to copy database from one system to another.</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"> Here Are the steps to Generate Script of the database.</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;"><b>Step-1</b>.</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;">Right click on the database in sql and choose Task > Generate Script. </span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKf5uEcJR1vOktnapbtTrC1van_jyZJQB4SoyPfurRJqDQBKLdoxzD8dpHTe0pGdmYObbF8R36KackSN4R3dEzbynPwaHpyy4WpsJ98cEoJkip-SMzj04Ui4wh5k1s71_-UG0B1pYzTeR3/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKf5uEcJR1vOktnapbtTrC1van_jyZJQB4SoyPfurRJqDQBKLdoxzD8dpHTe0pGdmYObbF8R36KackSN4R3dEzbynPwaHpyy4WpsJ98cEoJkip-SMzj04Ui4wh5k1s71_-UG0B1pYzTeR3/s1600/1.png" height="312" width="400" /></a></div>
<br />
<a name='more'></a><br />
<br />
<span style="font-family: Arial,Helvetica,sans-serif;"><b>Step-2</b>.</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;">Click on Next></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiolnMk7I45_idYjtBOwSryAOsg0yGNhQMjzR04p-ux2KP7y75s30p3jmia5Zf3vfod9SxH4Kfy1-tCLZ2CYTrGTKlD27q7kFYZQcVb9fVGHrZcdfnqaAuo0vh0tOXTnv0B03-mrtwCNjDR/s1600/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiolnMk7I45_idYjtBOwSryAOsg0yGNhQMjzR04p-ux2KP7y75s30p3jmia5Zf3vfod9SxH4Kfy1-tCLZ2CYTrGTKlD27q7kFYZQcVb9fVGHrZcdfnqaAuo0vh0tOXTnv0B03-mrtwCNjDR/s1600/2.png" height="290" width="320" /></a></div>
<b><span style="font-family: Arial,Helvetica,sans-serif;">Step-3.</span></b><br />
<span style="font-family: Arial,Helvetica,sans-serif;">Choose The database for which u want to generate script.</span> <br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1G5TZL43WzP3m7__vWV2GKCnl6kMnac28GB0uX1GvRDTeC-ktgxaIVrwbKcIkTLmu68HWp_GqY8fp87-GpaCMmJIDTREH00yofhObync-bX7RuQkIRKlCw01icK2cqpm-_mUFuHPNmne-/s1600/3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1G5TZL43WzP3m7__vWV2GKCnl6kMnac28GB0uX1GvRDTeC-ktgxaIVrwbKcIkTLmu68HWp_GqY8fp87-GpaCMmJIDTREH00yofhObync-bX7RuQkIRKlCw01icK2cqpm-_mUFuHPNmne-/s1600/3.png" height="292" width="320" /></a></div>
<b><span style="font-family: Arial,Helvetica,sans-serif;">Step-4.</span></b><br />
<span style="font-family: Arial,Helvetica,sans-serif;">In this wizard scroll below to select script data and choose "True".</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjggX0tEMfRgWuWF2oOCig1Fe7L7P_rX5HRlTNx3KIt8guCZssvkGsRWqLkdGiC1GtdkHXPGTvikhRzz_9Z8w_sTAbtJKitrkjp4VMaaQn50sgp90Zw9NndNTYaRIsCnhKdVGzGJTCa8srx/s1600/4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjggX0tEMfRgWuWF2oOCig1Fe7L7P_rX5HRlTNx3KIt8guCZssvkGsRWqLkdGiC1GtdkHXPGTvikhRzz_9Z8w_sTAbtJKitrkjp4VMaaQn50sgp90Zw9NndNTYaRIsCnhKdVGzGJTCa8srx/s1600/4.png" height="287" width="320" /></a></div>
<span style="font-family: Arial,Helvetica,sans-serif;"><b>Step-5</b>.</span><br />
<span style="font-family: Arial,Helvetica,sans-serif;">Choose the tables and store-procedure inside the database which u want to extract click on "Select all"</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxxaoX94YZscyzxqyAmSztcLqNRbTvigAbs-MsZGQfSIU4tQjDGgM5mPERnenh3w8COQji_l-oIMQSa57_BdSJEFo1WaCR4a3roD2KKxgD95u7wmzF-3s08hz9dChyVHE-Yk052pMKzSQM/s1600/5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxxaoX94YZscyzxqyAmSztcLqNRbTvigAbs-MsZGQfSIU4tQjDGgM5mPERnenh3w8COQji_l-oIMQSa57_BdSJEFo1WaCR4a3roD2KKxgD95u7wmzF-3s08hz9dChyVHE-Yk052pMKzSQM/s1600/5.png" height="294" width="320" /></a></div>
<b><span style="font-family: Arial,Helvetica,sans-serif;">Step-6.</span></b><br />
<span style="font-family: Arial,Helvetica,sans-serif;">Click on Select all which u want to extract. </span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5OSSRVc70P6DBNtmiecrpdRXd3NxIOS1S3hPBDBFGcPt6r2-1oWN9AFWtuKDCde-fYkTvcVIyZtyoWaChywzGE21A2zA7Yl_L3EWT99XsllPyToIt1vCzji2Ae7e9v9Y1jJRskTky19dX/s1600/7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5OSSRVc70P6DBNtmiecrpdRXd3NxIOS1S3hPBDBFGcPt6r2-1oWN9AFWtuKDCde-fYkTvcVIyZtyoWaChywzGE21A2zA7Yl_L3EWT99XsllPyToIt1vCzji2Ae7e9v9Y1jJRskTky19dX/s1600/7.png" height="284" width="320" /></a></div>
<b><span style="font-family: Arial,Helvetica,sans-serif;">Step-7.</span></b><br />
<span style="font-family: Arial,Helvetica,sans-serif;">Click on next </span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtb6JCimCTh5fAUIIEmfJ_17fXwCWq-pOLKIOtTgtyBtUlWBZTiWyfd7rhGsVIzqzEhAH1JF3LWlqgc6NRYfYRuuubkS6juZ6_xwOt8gofc4HriKGFtNytwNrWDrdFBiqNDpbafzuEaRJy/s1600/8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtb6JCimCTh5fAUIIEmfJ_17fXwCWq-pOLKIOtTgtyBtUlWBZTiWyfd7rhGsVIzqzEhAH1JF3LWlqgc6NRYfYRuuubkS6juZ6_xwOt8gofc4HriKGFtNytwNrWDrdFBiqNDpbafzuEaRJy/s1600/8.png" height="291" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<span style="font-family: Arial,Helvetica,sans-serif;"><b>Step-9</b></span>.<br />
<span style="font-family: Arial,Helvetica,sans-serif;">Click on finish.</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkOXYnHwcSbtcw_bsmLUTCuBPK7lhMDRrvoeXThymkglnm_YWSOQnTC0jsOXQtlugTazkLV0x_rGmJ0kvl9i_KjxNtPozicL3iyaSxljconEmYq5woWcRKvN1ByWOAdWer6o81fxB0D3y7/s1600/9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkOXYnHwcSbtcw_bsmLUTCuBPK7lhMDRrvoeXThymkglnm_YWSOQnTC0jsOXQtlugTazkLV0x_rGmJ0kvl9i_KjxNtPozicL3iyaSxljconEmYq5woWcRKvN1ByWOAdWer6o81fxB0D3y7/s1600/9.png" height="291" width="320" /></a></div>
<b><span style="font-family: Arial,Helvetica,sans-serif;">Step-10.</span></b><br />
<span style="font-family: Arial,Helvetica,sans-serif;">Here the script wizard is complete and successfully script generated. </span><br />
<div class="separator" style="clear: both; text-align: center;">
<b><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA4gNrA_I0-UuB1kBDnbeavOjojXqUgQOBx__vxxPG0_AE0CV403aBgGmlIvmfnX7wA42OvCOywwxpB3M-7Jfc5UuUkXwFfsXdBVkTg5ARMDqIsyrXFcpPjTgP8FdE6Evoqv2bDXH4jaTf/s1600/10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA4gNrA_I0-UuB1kBDnbeavOjojXqUgQOBx__vxxPG0_AE0CV403aBgGmlIvmfnX7wA42OvCOywwxpB3M-7Jfc5UuUkXwFfsXdBVkTg5ARMDqIsyrXFcpPjTgP8FdE6Evoqv2bDXH4jaTf/s1600/10.png" height="288" width="320" /></a></b></div>
<b><span style="font-family: Arial,Helvetica,sans-serif;">Step-11.</span></b><br />
<span style="font-family: Arial,Helvetica,sans-serif;"> Here save the SQL file and use this file in another system where u want to extract the database.</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjewXZB5X45womOMLoJQ0m5lDAmGUi2VKrxn8yjyJYi9EPR3T6OugZOx0j-PK9uPT8BoFatD6sP-kr9QLof19sVHoafueVJByVIcTfnF-pIcq9OoSg-ElySsdwt542yPFq9YuhYOD08H3lV/s1600/11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjewXZB5X45womOMLoJQ0m5lDAmGUi2VKrxn8yjyJYi9EPR3T6OugZOx0j-PK9uPT8BoFatD6sP-kr9QLof19sVHoafueVJByVIcTfnF-pIcq9OoSg-ElySsdwt542yPFq9YuhYOD08H3lV/s1600/11.png" height="250" width="400" /></a></div>
<br />
<br />
<br /></div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-14445594145075656872014-10-28T05:16:00.003-07:002014-11-28T04:40:04.129-08:00What Is CMS ?<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<b><i><span style="font-size: large;"><span style="font-family: Arial, Helvetica, sans-serif;">What Is CMS</span> ?</span></i></b><span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"> </span><span style="background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 13.75pt;">CMS Stand for (Content management system) is a system used to manage the content of a Web site. that allows publishing, editing
and modifying content, organizing, deleting as well as maintenance from a
central interface.<span style="color: #252525;"> CMSs have been available since
the late 1990s.</span></span></div>
<span style="background-color: white; color: #252525; font-family: Arial, Helvetica, sans-serif; line-height: 13.75pt;">CMSs are often used to run websites containing</span><span class="apple-converted-space" style="background-color: white; color: #252525; font-family: Arial, Helvetica, sans-serif; line-height: 13.75pt;"> <a href="http://www.dotnetwithashok.blogspot.in/">blog</a></span><span style="background-color: white; color: #252525; font-family: Arial, Helvetica, sans-serif; line-height: 13.75pt;">,</span><span class="apple-converted-space" style="background-color: white; color: #252525; font-family: Arial, Helvetica, sans-serif; line-height: 13.75pt;"> </span><span class="apple-converted-space" style="background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 13.75pt;">news</span><span style="background-color: white; color: #252525; font-family: Arial, Helvetica, sans-serif; line-height: 13.75pt;">,
and</span><span class="apple-converted-space" style="background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 13.75pt;"><span style="color: #252525;"> </span>shopping</span><span style="background-color: white; color: #252525; font-family: Arial, Helvetica, sans-serif; line-height: 13.75pt;">.
Many corporate and marketing websites use CMSs.</span><br />
<a name='more'></a><br />
<div style="background: white; border-bottom: solid #AAAAAA 1.0pt; border: none; mso-border-bottom-alt: solid #AAAAAA .5pt; mso-element: para-border-div; padding: 0in 0in 3.0pt 0in;">
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: none; margin: 12pt 0in 3pt; padding: 0in;">
<span style="font-size: 18pt;"><span style="font-family: Arial, Helvetica, sans-serif;">Main features</span><span style="font-family: Georgia, serif;"><o:p></o:p></span></span></div>
</div>
<div style="background: white; line-height: 13.75pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #252525;">The function and use of content
management systems is to store and organize files, and provide
version-controlled access to their data. CMS features vary widely. Simple
systems showcase a handful of features, while other releases, notably</span><span class="apple-converted-space"><span style="color: #252525;"> </span>enterprise system</span><span style="color: #252525;">, offer more complex and powerful functions. Most CMS include
Web-based publishing, format management, revision control ()</span><span style="color: #252525;">,
indexing, search, and retrieval. The CMS increments the version number when new
updates are added to an already-existing file. Some content management systems
also support the</span><span class="apple-converted-space" style="color: #252525;"> separation of content and presentation</span><span style="color: #252525;">.<o:p></o:p></span></span></div>
<div style="background: white; line-height: 13.75pt; margin: 6pt 0in;">
</div>
<div style="background: white; line-height: 13.75pt; margin: 6pt 0in;">
<span style="color: #252525;"><span style="font-family: Arial, Helvetica, sans-serif;">A CMS
may serve as a central repository containing documents, movies, pictures, phone
numbers, scientific data. CMS can be used for storing, controlling, revising,
semantically enriching and publishing documentation.</span></span><br />
<span style="background-color: transparent; color: #1a1a1a; font-family: Arial, Helvetica, sans-serif; font-size: 17pt; line-height: 23.15pt;">15 Best ASP.NET based Content Management Systems(CMS)</span></div>
<ul style="background-color: rgba(255, 255, 255, 0.952941); outline: 0px;" type="disc">
<li><a href="http://orchardproject.net/" style="font-family: Arial, Helvetica, sans-serif; font-size: 9pt; line-height: 11.9pt; outline: 0px;" target="_blank"><span style="text-decoration: none;">Orchard</span></a></li>
<li class="MsoNormal" style="line-height: 11.9pt; outline: 0px;"><span style="font-size: 9pt;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://www.composite.net/" style="outline: 0px;" target="_blank"><span style="text-decoration: none;">Composite
C1</span></a><o:p></o:p></span></span></li>
<li class="MsoNormal" style="line-height: 11.9pt; outline: 0px;"><span style="font-size: 9pt;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://www.kentico.com/" style="outline: 0px;" target="_blank"><span style="text-decoration: none;"><span style="color: blue;">Kentico CMS
for ASP.NET</span></span></a><o:p></o:p></span></span></li>
<li class="MsoNormal" style="line-height: 11.9pt; outline: 0px;"><span style="font-size: 9pt;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://www.dotnetnuke.com/" style="outline: 0px;" target="_blank"><span style="text-decoration: none;">DotNetNuke:
CMS Content Management</span></a><o:p></o:p></span></span></li>
<li class="MsoNormal" style="line-height: 11.9pt; outline: 0px;"><span style="font-size: 9pt;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://www.mojoportal.com/" style="outline: 0px;" target="_blank"><span style="text-decoration: none;">MojoPortal
CMS </span></a><o:p></o:p></span></span></li>
<li class="MsoNormal" style="line-height: 11.9pt; outline: 0px;"><span style="font-size: 9pt;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://www.kooboo.com/" style="outline: 0px;" target="_blank"><span style="text-decoration: none;">Kooboo
CMS </span></a><o:p></o:p></span></span></li>
<li class="MsoNormal" style="line-height: 11.9pt; outline: 0px;"><span style="font-size: 9pt;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://umbraco.com/" style="outline: 0px;" target="_blank"><span style="text-decoration: none;"><span style="color: blue;">Umbraco </span></span></a><o:p></o:p></span></span></li>
<li class="MsoNormal" style="line-height: 11.9pt; outline: 0px;"><span style="font-size: 9pt;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://sourceforge.net/projects/yendomicrosite/" style="outline: 0px;" target="_blank"><span style="text-decoration: none;">Yendo CMS -</span></a><o:p></o:p></span></span></li>
<li class="MsoNormal" style="line-height: 11.9pt; outline: 0px;"><span style="font-size: 9pt;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://sourceforge.net/projects/yendomicrosite/" style="outline: 0px;" target="_blank"><span style="text-decoration: none;">Content Management System </span></a><o:p></o:p></span></span></li>
<li class="MsoNormal" style="line-height: 11.9pt; outline: 0px;"><span style="font-size: 9pt;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://code.google.com/p/prontocms/" style="outline: 0px;" target="_blank"><span style="text-decoration: none;">Pronto CMS </span></a><o:p></o:p></span></span></li>
<li class="MsoNormal" style="line-height: 11.9pt; outline: 0px;"><span style="font-size: 9pt;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://www.vwd-cms.com/" style="outline: 0px;" target="_blank"><span style="text-decoration: none;">VMD
CMS </span></a><o:p></o:p></span></span></li>
<li class="MsoNormal" style="line-height: 11.9pt; outline: 0px;"><span style="font-size: 9pt;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://n2cms.com/" style="outline: 0px;" target="_blank"><span style="text-decoration: none;">N2
CMS </span></a><o:p></o:p></span></span></li>
<li class="MsoNormal" style="line-height: 11.9pt; outline: 0px;"><span style="font-size: 9pt;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://www.sitefinity.com/" style="outline: 0px;" target="_blank"><span style="text-decoration: none;">Telerik
Sitefinity</span></a><o:p></o:p></span></span></li>
<li class="MsoNormal" style="line-height: 11.9pt; outline: 0px;"><span style="font-size: 9pt;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://www.axcms.net/" style="outline: 0px;" target="_blank"><span style="text-decoration: none;">axcms </span></a><o:p></o:p></span></span></li>
<li class="MsoNormal" style="line-height: 11.9pt; outline: 0px;"><span style="font-size: 9pt;"><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://code.google.com/p/sprocketcms/" style="outline: 0px;" target="_blank"><span style="text-decoration: none;">sprocketcms </span></a><o:p></o:p></span></span></li>
<li class="MsoNormal" style="line-height: 11.9pt; outline: 0px;"><span style="font-size: 9pt;"><a href="http://www.composite.net/" style="outline: 0px;" target="_blank"><span style="text-decoration: none;"><span style="color: blue; font-family: Arial, Helvetica, sans-serif;">composite</span></span></a><span style="color: #1a1a1a; font-family: 'Open Sans', serif;"><o:p></o:p></span></span></li>
</ul>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-57670755850661691822014-10-21T04:23:00.001-07:002014-10-22T03:21:31.610-07:00Freeze GridView Header Row In Asp.Net<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: justify;">
<span style="font-family: Times, Times New Roman, serif; font-size: large;">I</span><span style="font-family: Arial, Helvetica, sans-serif;"><b>n</b> Grid View Control You Can easily display all the collection of data and we can <span style="background-color: white; text-align: justify;">easily add sorting and paging, and perform in-line editing.Some time there is large no of data which makes grid view </span><span style="background-color: white; text-align: justify;">scrollable, headers will also scroll along with the other grid view contents making it difficult for the user to understand the data properly.</span><span style="background-color: white; text-align: justify;">In this situations we can freeze the header row then the user can scroll the data and see the header as fixed.</span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAHPciPK-qNocRKRc-ZQKFQc1CPEpiX2a5KIsKzh9Fdz3tCgPh0Tqe-izh8Z5BhcwSsxmlfGCB8cFUL_SYe_YdYJysYo4soxO0dSpMKdrhAl1wACiLMoWDMTLIRt9f1PreIJZk8xghitOy/s1600/dd.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAHPciPK-qNocRKRc-ZQKFQc1CPEpiX2a5KIsKzh9Fdz3tCgPh0Tqe-izh8Z5BhcwSsxmlfGCB8cFUL_SYe_YdYJysYo4soxO0dSpMKdrhAl1wACiLMoWDMTLIRt9f1PreIJZk8xghitOy/s1600/dd.png" height="128" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<a name='more'></a><br />
<br />
<div align="justify" style="background-color: white;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b>Freeze The Gridview Row</b></span></div>
<div align="justify" style="background-color: white;">
<span style="font-family: Arial, Helvetica, sans-serif;">Here we set GridView ShowHeader = "false" and make a separate header for the GridView by using HTML Table and places the GridView just below the Table. So the header row is always fixed there and we can scroll the GridView and see the data.</span></div>
<div class="title" style="background-color: white; color: #e66a38; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; line-height: 15px; margin: 0px; min-height: 23px;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border-left-color: rgb(208, 210, 210); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(208, 210, 210); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(208, 210, 210); border-top-style: solid; border-top-width: 1px; display: inline-block; padding: 4px 8px; text-align: center;">HTML</span></div>
<pre class="html" style="background-color: white; border-color: rgb(208, 210, 210); border-style: solid; border-width: 2px 1px; margin-bottom: 10px !important; padding: 10px; word-wrap: break-word !important;"><div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background: yellow; font-size: 10.5pt;"><%</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">@</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">Page</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">Language</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="C#"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">AutoEventWireup</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="true"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">CodeFile</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="Freeze_Gridview_Header.aspx.cs"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">Inherits</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="Freeze_Gridview_Header"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background: yellow; font-size: 10.5pt;">%></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><!</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">DOCTYPE</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">html</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">html</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">xmlns</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="http://www.w3.org/1999/xhtml"></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">head</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">runat</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="server"></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">title</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">title</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">style</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">type</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="text/css"></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">.auto-style1</span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> {</span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">width</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">: </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">115px</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">;</span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> }</span></span></div>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 15px; white-space: pre-wrap !important;">
</span><div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">style</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">head</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">body</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">form</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">id</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="form1"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">runat</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="server"></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">div</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">style</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">width</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">478px</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">;</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">border</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">1px</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">solid</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">#084B8A</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">;</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">color</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">#ffffff</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">;</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">font-weight</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">bold</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">;</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">"></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">table</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">bgcolor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="#3090C7"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">rules</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="all"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">style</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">background-color</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">: </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">#00CC00"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">tr</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">td</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">class</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="auto-style1"></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">EmpID</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">td</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">td</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">style</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">width</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">180px</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">;</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">"></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">EmpName</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">td</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">td</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">style</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">width</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">90px</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">;</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">"></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">City</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">td</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">td</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">style</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">width</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">60px</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">;</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">"></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">State</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">td</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">td</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">style</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">width</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">78px</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">;</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">"></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">Country</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">td</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">tr</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">table</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">div</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">div</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">style</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">height</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">130px</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">; </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">width</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">500px</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">; </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">overflow</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">auto</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;">;</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">"></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal; white-space: pre-wrap !important;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">asp</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">GridView</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">ID</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="GridView1"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">runat</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="server"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">AutoGenerateColumns</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="False"</span></span>
</div>
<div class="MsoNormal">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt; line-height: 115%;">ShowHeader</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt; line-height: 115%;">="False"</span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-size: 14px; white-space: pre-wrap;"> </span></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Arial, Helvetica, sans-serif; font-size: 10.5pt; line-height: normal; white-space: pre-wrap !important;">DataSourceID</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Arial, Helvetica, sans-serif; font-size: 10.5pt; line-height: normal; white-space: pre-wrap !important;">="SqlDataSource1"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Arial, Helvetica, sans-serif; font-size: 10.5pt; line-height: normal; white-space: pre-wrap !important;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Arial, Helvetica, sans-serif; font-size: 10.5pt; line-height: normal; white-space: pre-wrap !important;">Width</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Arial, Helvetica, sans-serif; font-size: 10.5pt; line-height: normal; white-space: pre-wrap !important;">="480px"></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">AlternatingRowStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="#FF99FF"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">/></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">Columns</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">asp</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">BoundField</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">DataField</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="EmpId"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">HeaderText</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="EmpId"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">SortExpression</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="EmpId"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">/></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">asp</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">BoundField</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">DataField</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="EmpName"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">HeaderText</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="EmpName"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">SortExpression</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="EmpName"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">/></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">asp</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">BoundField</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">DataField</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="City"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">HeaderText</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="City"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">SortExpression</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="City"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">/></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">asp</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">BoundField</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">DataField</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="State"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">HeaderText</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="State"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">SortExpression</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="State"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">/></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">asp</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">BoundField</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">DataField</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="Country"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">HeaderText</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="Country"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">SortExpression</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="Country"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">/></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">Columns</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">asp</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">GridView</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">asp</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">SqlDataSource</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">ID</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="SqlDataSource1"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">runat</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="server"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">ConnectionString</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="</span><span style="background: yellow; font-size: 10.5pt;"><%</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">$
ConnectionStrings:SPEED_SOLUTIONConnectionString </span><span style="background: yellow; font-size: 10.5pt;">%></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-size: 10.5pt;">SelectCommand</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">="SELECT
[EmpId], [EmpName], [City], [State], [Country] FROM [EmpDetails]"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">asp</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">SqlDataSource</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">div</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">form</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: normal; margin-bottom: 0.0001pt; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt;">body</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt;">></span></span></div>
<div class="MsoNormal" style="font-size: 12px; line-height: 15px; white-space: pre-wrap !important;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt; line-height: 115%;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-size: 10.5pt; line-height: 115%;">html</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-size: 10.5pt; line-height: 115%;">></span></span></div>
</pre>
<div>
<br /></div>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-69793594337487543372014-10-20T06:49:00.000-07:002014-10-22T03:29:55.508-07:00How to add Data Item Index in Grid View In Asp.Net<div dir="ltr" style="text-align: left;" trbidi="on">
<div>
<span style="background-color: white; text-align: justify;"><span style="font-family: Arial, Helvetica, sans-serif;">The GridView control is the successor to the DataGrid and extends it in a number of ways. While developing GridView control in ASP.NET, programmers often requires to display row number in GridView controls.</span></span></div>
<div>
<span style="background-color: white; border: 0px; color: #555555; font-family: Arial, Helvetica, sans-serif; margin: 0px; outline: none; padding: 0px; text-align: justify;"><span style="border: 0px; color: black; margin: 0px; outline: none; padding: 0px;">This can be </span></span><span style="background-color: white; border: 0px; color: #555555; font-family: Arial, Helvetica, sans-serif; margin: 0px; outline: none; padding: 0px; text-align: justify;"><span style="border: 0px; color: black; margin: 0px; outline: none; padding: 0px;">accomplished by addingtthe</span> </span><i style="background-color: white; font-family: Arial, Helvetica, sans-serif; text-align: justify;">Container.DataItemIndex</i><span style="background-color: white; font-family: Arial, Helvetica, sans-serif; text-align: justify;"> in the html markup of the Gridview control.</span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjARHtR8FCbXDDl1M4qTeYxvO3iuanps1m4iAC_a8zwFEfgtDkq6HehBF41nhUh9RLidhcYaskpe5GPHfTtKrwnS3dXidM3tJ3EuQ4mgOZCYL-bqmWyBv2zQQ_Fyy_DnXbYcRPyVCa2xsW1/s1600/asasa.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjARHtR8FCbXDDl1M4qTeYxvO3iuanps1m4iAC_a8zwFEfgtDkq6HehBF41nhUh9RLidhcYaskpe5GPHfTtKrwnS3dXidM3tJ3EuQ4mgOZCYL-bqmWyBv2zQQ_Fyy_DnXbYcRPyVCa2xsW1/s1600/asasa.png" height="60" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<a name='more'></a><br /><br />
<div class="title" style="background-color: white; color: #e66a38; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; line-height: 15px; margin: 0px; min-height: 23px;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border-left-color: rgb(208, 210, 210); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(208, 210, 210); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(208, 210, 210); border-top-style: solid; border-top-width: 1px; display: inline-block; padding: 4px 8px; text-align: center;">HTML</span></div>
<pre class="html" style="background-color: white; border-color: rgb(208, 210, 210); border-style: solid; border-width: 2px 1px; margin-bottom: 10px !important; padding: 10px; word-wrap: break-word !important;"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">asp</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">GridView</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">ID</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="GridView1"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">runat</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="server"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">Width</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="100%"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">EmptyDataText</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="Ashokkkkiji"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="White"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">BorderColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="#3366CC"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">BorderStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="None"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">BorderWidth</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="1px"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">CellPadding</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="4"></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">Columns</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">asp</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">TemplateField</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">HeaderText</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="Sno"></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">ItemTemplate</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">span</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: yellow; font-family: Consolas; font-size: 10.5pt;"><%</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">#</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;">Container.DataItemIndex + 1 </span><span style="background: yellow; font-family: Consolas; font-size: 10.5pt;">%></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">span</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">ItemTemplate</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">asp</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">TemplateField</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">Columns</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">FooterStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="#99CCCC"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">ForeColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="#003399"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">/></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">HeaderStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="#003399"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">Font-Bold</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="True"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">ForeColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="#CCCCFF"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">/></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">PagerStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="#99CCCC"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">ForeColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="#003399"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">HorizontalAlign</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="Left"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">/></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">RowStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="White"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">ForeColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="#003399"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">/></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">SelectedRowStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="#009999"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">Font-Bold</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="True"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">ForeColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="#CCFF99"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">/></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">SortedAscendingCellStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="#EDF6F6"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">/></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">SortedAscendingHeaderStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="#0D4AC4"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">/></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">SortedDescendingCellStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="#D6DFDF"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">/></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt;">SortedDescendingHeaderStyle</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: red; font-family: Consolas; font-size: 10.5pt;">BackColor</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">="#002876"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">/></span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt; line-height: 115%;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt; line-height: 115%;"></</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt; line-height: 115%;">asp</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt; line-height: 115%;">:</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: maroon; font-family: Consolas; font-size: 10.5pt; line-height: 115%;">GridView</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt; line-height: 115%;">></span></div>
</pre>
<span style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px;"><br /></span>
<div class="title" style="background-color: white; color: #e66a38; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; line-height: 15px; margin: 0px; min-height: 23px;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border-left-color: rgb(208, 210, 210); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(208, 210, 210); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(208, 210, 210); border-top-style: solid; border-top-width: 1px; display: inline-block; padding: 4px 8px; text-align: center;">C#</span><span style="white-space: pre-wrap;"> </span></div>
<pre class="csharp" style="background-color: white; border-color: rgb(208, 210, 210); border-style: solid; border-width: 2px 1px; font-size: 12px; line-height: 15px; margin-bottom: 10px !important; padding: 10px; white-space: pre-wrap !important; word-wrap: break-word !important;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">private</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">void</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> bindgrid()</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> {</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> con.Open();</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #2b91af; font-family: Consolas; font-size: 10.5pt;">SqlCommand</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> cmd = </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">new</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #2b91af; font-family: Consolas; font-size: 10.5pt;">SqlCommand</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;">(</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #a31515; font-family: Consolas; font-size: 10.5pt;">"Select
New_Employee_Entry.Emp_Name,New_Employee_Entry.Account_No,New_Employee_Entry.Emp_PANCardNo,Salary_Table.Net_Payment
FROM New_Employee_Entry INNER JOIN Salary_Table ON
New_Employee_Entry.EmpID=Salary_Table.EmpID ORDER BY
New_Employee_Entry.Emp_Name"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;">, con);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;">
</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #2b91af; font-family: Consolas; font-size: 10.5pt;">SqlDataAdapter</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> da = </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">new</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #2b91af; font-family: Consolas; font-size: 10.5pt;">SqlDataAdapter</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;">(cmd);</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #2b91af; font-family: Consolas; font-size: 10.5pt;">DataSet</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> ds = </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">new</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #2b91af; font-family: Consolas; font-size: 10.5pt;">DataSet</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;">();</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> da.Fill(ds);</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> con.Close(); </span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">if</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> (ds.Tables[0].Rows.Count > 0)</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> {</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> GridView1.DataSource = ds;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> GridView1.DataBind()</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> }</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">else</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> {</span><span style="font-family: Consolas; font-size: 10.5pt;"> </span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;">ds.Tables[0].Rows.Add(ds.Tables[0].NewRow());</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> GridView1.DataSource = ds;</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> GridView1.DataBind();</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">int</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> columncount = GridView1.Rows[0].Cells.Count;</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> GridView1.Rows[0].Cells.Clear();</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> GridView1.Rows[0].Cells.Add(</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: blue; font-family: Consolas; font-size: 10.5pt;">new</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #2b91af; font-family: Consolas; font-size: 10.5pt;">TableCell</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;">());</span><span style="font-family: Consolas; font-size: 10.5pt;"> </span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;">GridView1.Rows[0].Cells[0].ColumnSpan = columncount;</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> GridView1.Rows[0].Cells[0].Text = </span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; color: #a31515; font-family: Consolas; font-size: 10.5pt;">"No Records Found"</span><span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;">;</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt;"> }</span></div>
<div class="MsoNormal">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Consolas; font-size: 10.5pt; line-height: 115%;"> }</span></div>
</pre>
<span style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px;"><br /></span><br />
<div>
<span style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
<br /></div>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-18220002426216150522014-10-16T06:27:00.001-07:002014-10-22T04:12:59.557-07:00How To Add Dynamic Controls Into Gridview in Asp.net<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: Arial, Helvetica, sans-serif;">How to add dynamic controls to the Grid view in the Code Behind page. when the page is refresh or the page is Post Back the dynamically created controls will disappear from Grid View, this sample will show how to resolve this issue.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;"><b>Step 1</b>. Create a C# "ASP.NET Web Application" Name it Add_Dynamic_Control_to_Grid-view".</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><b>Step 2</b>. Add a Grid-view Control to Default.aspx page then rename it to "MyData". This page will bind the data and show the dynamically created Link Button Control. </span><br />
<a name='more'></a><span style="font-family: Arial, Helvetica, sans-serif;">In order to realize this page.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">First, we need to bind data to MyData:</span><br />
<div class="title" style="background-color: white; color: #e66a38; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; line-height: 15px; margin: 0px; min-height: 23px;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border-left-color: rgb(208, 210, 210); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(208, 210, 210); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(208, 210, 210); border-top-style: solid; border-top-width: 1px; display: inline-block; padding: 4px 8px; text-align: center;">HTML</span></div>
<pre class="html" style="background-color: white; border-color: rgb(208, 210, 210); border-style: solid; border-width: 2px 1px; font-size: 12px; line-height: 15px; margin-bottom: 10px !important; padding: 10px; white-space: pre-wrap !important; word-wrap: break-word !important;"><span class="html__tag_start" style="color: maroon; font-weight: bold;"><asp</span>:GridView <span class="html__attr_name" style="color: red;">ID</span>=<span class="html__attr_value" style="color: #3a3aff;">"MyData"</span> <span class="html__attr_name" style="color: red;">runat</span>=<span class="html__attr_value" style="color: #3a3aff;">"server"</span> <span class="html__attr_name" style="color: red;">AutoGenerateColumns</span>=<span class="html__attr_value" style="color: #3a3aff;">"False"</span> <span class="html__attr_name" style="color: red;">OnDataBound</span>=<span class="html__attr_value" style="color: #3a3aff;">"MyData_DataBound"</span>
<span class="html__attr_name" style="color: red;">DataKeyNames</span>=<span class="html__attr_value" style="color: #3a3aff;">"Id"</span> <span class="html__attr_name" style="color: red;">DataSourceID</span>=<span class="html__attr_value" style="color: #3a3aff;">"SqlDataSource1"</span><span class="html__tag_start" style="color: maroon; font-weight: bold;">>
</span> <span class="html__tag_start" style="color: maroon; font-weight: bold;"><Columns</span><span class="html__tag_start" style="color: maroon; font-weight: bold;">>
</span> <span class="html__tag_start" style="color: maroon; font-weight: bold;"><asp</span><span class="html__tag_start" style="color: maroon; font-weight: bold;">:TemplateField></span>
<span class="html__tag_start" style="color: maroon; font-weight: bold;"><ItemTemplate</span><span class="html__tag_start" style="color: maroon; font-weight: bold;">>
</span> <span class="html__tag_end" style="color: maroon; font-weight: bold;"></ItemTemplate></span>
<span class="html__tag_end" style="color: maroon; font-weight: bold;"></asp:TemplateField></span>
<span class="html__tag_start" style="color: maroon; font-weight: bold;"><asp</span>:BoundField <span class="html__attr_name" style="color: red;">DataField</span>=<span class="html__attr_value" style="color: #3a3aff;">"Id"</span> <span class="html__attr_name" style="color: red;">HeaderText</span>=<span class="html__attr_value" style="color: #3a3aff;">"Id"</span> <span class="html__attr_name" style="color: red;">InsertVisible</span>=<span class="html__attr_value" style="color: #3a3aff;">"False"</span> <span class="html__attr_name" style="color: red;">ReadOnly</span>=<span class="html__attr_value" style="color: #3a3aff;">"True"</span>
<span class="html__attr_name" style="color: red;">SortExpression</span>=<span class="html__attr_value" style="color: #3a3aff;">"Id"</span> <span class="html__tag_start" style="color: maroon; font-weight: bold;">/></span>
<span class="html__tag_start" style="color: maroon; font-weight: bold;"><asp</span>:BoundField <span class="html__attr_name" style="color: red;">DataField</span>=<span class="html__attr_value" style="color: #3a3aff;">"Name"</span> <span class="html__attr_name" style="color: red;">HeaderText</span>=<span class="html__attr_value" style="color: #3a3aff;">"Name"</span> <span class="html__attr_name" style="color: red;">SortExpression</span>=<span class="html__attr_value" style="color: #3a3aff;">"Name"</span> <span class="html__tag_start" style="color: maroon; font-weight: bold;">/></span>
<span class="html__tag_start" style="color: maroon; font-weight: bold;"><asp</span>:BoundField <span class="html__attr_name" style="color: red;">DataField</span>=<span class="html__attr_value" style="color: #3a3aff;">"Age"</span> <span class="html__attr_name" style="color: red;">HeaderText</span>=<span class="html__attr_value" style="color: #3a3aff;">"Age"</span> <span class="html__attr_name" style="color: red;">SortExpression</span>=<span class="html__attr_value" style="color: #3a3aff;">"Age"</span> <span class="html__tag_start" style="color: maroon; font-weight: bold;">/></span>
<span class="html__tag_end" style="color: maroon; font-weight: bold;"></Columns></span>
<span class="html__tag_end" style="color: maroon; font-weight: bold;"></asp:GridView></span>
<span class="html__tag_start" style="color: maroon; font-weight: bold;"><asp</span>:SqlDataSource <span class="html__attr_name" style="color: red;">ID</span>=<span class="html__attr_value" style="color: #3a3aff;">"SqlDataSource1"</span> <span class="html__attr_name" style="color: red;">runat</span>=<span class="html__attr_value" style="color: #3a3aff;">"server"</span> ConnectionString="<%$ ConnectionStrings:ConnectionString <span class="html__tag_start" style="color: maroon; font-weight: bold;">%></span>"
SelectCommand="SELECT [Id], [Name], [Age] FROM [CustomerInfo]"><span class="html__tag_end" style="color: maroon; font-weight: bold;"></asp:SqlDataSource></span>
</pre>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px;">Then, we need to call DataBound method to add dynamically created Control</span><span style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px;">.</span><br />
<span style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px;"><br /></span>
<br />
<div class="title" style="background-color: white; color: #e66a38; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; line-height: 15px; margin: 0px; min-height: 23px;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border-left-color: rgb(208, 210, 210); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(208, 210, 210); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(208, 210, 210); border-top-style: solid; border-top-width: 1px; display: inline-block; padding: 4px 8px; text-align: center;">C#</span></div>
<pre class="csharp" style="background-color: white; border-color: rgb(208, 210, 210); border-style: solid; border-width: 2px 1px; font-size: 12px; line-height: 15px; margin-bottom: 10px !important; padding: 10px; white-space: pre-wrap !important; word-wrap: break-word !important;"> <span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">protected</span> <span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">void</span> <span style="color: #3a3aff;">MyData</span>_DataBound(<span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">object</span> sender, EventArgs e)
{
AddLinkButton();
}
<span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">private</span> <span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">void</span> AddLinkButton()
{
<span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">foreach</span> (GridViewRow row <span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">in</span> MyData.Rows)
{
<span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">if</span> (row.RowType == DataControlRowType.DataRow)
{
LinkButton lb = <span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">new</span> LinkButton();
lb.Text = <span class="cs__string" style="color: maroon;">"Approve"</span>;
lb.CommandName = <span class="cs__string" style="color: maroon;">"ApproveVacation"</span>;
lb.Command += LinkButton_Command;
row.Cells[<span class="cs__number" style="color: red;">0</span>].Controls.Add(lb);
}
}
}
</pre>
<span style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px;"><br /></span>
<span style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px;">To test the LinkButton, we add an event for the LinkButton .</span><br />
<span style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px;"><br /></span>
<br />
<div class="title" style="background-color: white; color: #e66a38; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; line-height: 15px; margin: 0px; min-height: 23px;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border-left-color: rgb(208, 210, 210); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(208, 210, 210); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(208, 210, 210); border-top-style: solid; border-top-width: 1px; display: inline-block; padding: 4px 8px; text-align: center;">C#</span></div>
<pre class="csharp" style="background-color: white; border-color: rgb(208, 210, 210); border-style: solid; border-width: 2px 1px; font-size: 12px; line-height: 15px; margin-bottom: 10px !important; padding: 10px; white-space: pre-wrap !important; word-wrap: break-word !important;"><span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">protected</span> <span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">void</span> LinkButton_Command(<span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">object</span> sender, CommandEventArgs e)
{
<span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">if</span> (e.CommandName == <span class="cs__string" style="color: maroon;">"ApproveVacation"</span>)
{
<span class="cs__com" style="color: green;">//This is to test </span>
LinkButton lb = (LinkButton)sender;
lb.Text = <span class="cs__string" style="color: maroon;">"OK"</span>;
}
} </pre>
<span style="font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px;">Add LinkButton in the Page_Init event and override the OnInit method.</span><br />
<div class="title" style="background-color: white; color: #e66a38; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; line-height: 15px; margin: 0px; min-height: 23px;">
<span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border-left-color: rgb(208, 210, 210); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(208, 210, 210); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(208, 210, 210); border-top-style: solid; border-top-width: 1px; display: inline-block; padding: 4px 8px; text-align: center;">C#</span></div>
<pre class="csharp" style="background-color: white; border-color: rgb(208, 210, 210); border-style: solid; border-width: 2px 1px; font-size: 12px; line-height: 15px; margin-bottom: 10px !important; padding: 10px; white-space: pre-wrap !important; word-wrap: break-word !important;"><span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">protected</span> <span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">void</span> Page_Init(<span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">object</span> sender, EventArgs e)
{
MyData.DataBind();
}
<span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">protected</span> <span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">void</span> Page_Load(<span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">object</span> sender, EventArgs e)
{
<span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">if</span> (!IsPostBack)
{
AddLinkButton();
}
}
<span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">protected</span> <span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">override</span> <span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">void</span> OnInit(EventArgs e)
{
<span class="cs__keyword" style="color: #3a3aff; font-weight: bold;">base</span>.OnInit(e);
} </pre>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-8109914648382968542014-09-25T04:51:00.001-07:002014-12-01T07:09:07.460-08:00How To show POP-Up Dialog Box By Using Jquery On Button Click<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: Arial, Helvetica, sans-serif;">Today I will expalian how to POP-Up a dialogbox or modal POP-Up window box on a button click by usign <a href="http://dotnetwithashok.blogspot.in/p/juery.html">Jquery</a>.<span style="background-color: #f6f4ef; border: 0px; color: #222222; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline;">Simple jquery modal popup</span><span style="background-color: #f6f4ef; border: 0px; color: #222222; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline;"> window or jquery </span><span style="background-color: #f6f4ef; border: 0px; color: #222222; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline;">modal dialog is used to show alerts messages, notifications, errors and many more.</span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwkFWa9IyRVtjGl8XtgHeGjeeYbYvYgLuPmHR77WXxRwfni6U8OR5TYA1UQ2M3SAuKeqvnoZNbqzGrx_9sI77Ylik-ULPilT-SGQpVNNUJmo7PdzCVOFGs9rQRwIZywOdELrXCN3jfB4mr/s1600/Untitled.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwkFWa9IyRVtjGl8XtgHeGjeeYbYvYgLuPmHR77WXxRwfni6U8OR5TYA1UQ2M3SAuKeqvnoZNbqzGrx_9sI77Ylik-ULPilT-SGQpVNNUJmo7PdzCVOFGs9rQRwIZywOdELrXCN3jfB4mr/s1600/Untitled.png" height="183" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<a name='more'></a><b style="background-color: white; color: red; font-family: Helvetica, sans-serif; font-size: 11.5pt;"> Html Code</b><br />
<div style="background-color: #f8f8f8; border: 1pt solid rgb(221, 221, 221); padding: 5pt 8pt;">
<pre style="border: none; margin: 11.25pt 0in; padding: 0in;"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">html</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="http://www.w3.org/1999/xhtml"></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">head</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">runat</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="server"></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">link</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">type</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="text/css"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">rel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="stylesheet"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">href</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">/></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">script</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">type</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="text/javascript"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="http://code.jquery.com/jquery-1.8.2.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">script</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">type</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="text/javascript"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">script</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">type</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="text/javascript"></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> $(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">function</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> () {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> $(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">'#</span><span style="background-color: yellow; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><%</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">=</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">btnclick.ClientID</span><span style="background-color: yellow; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">%></span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">'</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">).click(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">function</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> () {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> $(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">"#mydemo"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">).dialog({<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">"Welcome To Ashok Demo!!!"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">, <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> width: 400,<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> height: 120,<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> modal: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">true</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">,<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> buttons: {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">//Close:
function () {</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">// $(this).dialog('close');</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">//}</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> });<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">return</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">false</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> });<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">})</span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">form</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">id</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="form1"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">runat</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="server"></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">div</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">id</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="mydemo"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="Basic modal dialog"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">style</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="</span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">display</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">none</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">; </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">background-color</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">:</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">rgb(107,108,108)</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">;</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">b</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">style</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="</span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">color</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">:</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">#9FFF40"></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> You
Have Successfully Submit!!!!!!</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">b</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">table</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">align</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="center"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">style</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="</span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">margin-top</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">:</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">200px"></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">tr</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">td</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">asp</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">:</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">Button</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">ID</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="btnclick"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">runat</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="server"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">Text</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="Submit"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">/></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">td</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">tr</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">table</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">div</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">style</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">="</span><span style="background: white; color: red; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">background-color</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">#9FFF40"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">form</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">></span></div>
</pre>
</div>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-60887199206067304012014-09-22T01:03:00.000-07:002014-09-22T01:15:35.612-07:00How to Preview Uploaded Image before Upload To Server <div dir="ltr" style="text-align: left;" trbidi="on">
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">Here i will explain how to preview the image file before uploaded to server. When we upload any image file to server or to any file location.It is not possible to find out the write selection you have choose which u want to upload to server. By this example we are able to preview the selected image file before upload and choose the correct selection which u want to upload.</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhenUIrUIAsK2GR4ag8M332RzS9esm54qFel0YkE3j6n3avO6gg5NYZAjrVUrJ3CwsOzwsrZ6OTupm6iMohX3lPdxK75MMLMMcQKuhyphenhyphenLNjFedOLV3jea93ELVoUbWzxuPCS_2rLRQg34dA2/s1600/aaaas.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhenUIrUIAsK2GR4ag8M332RzS9esm54qFel0YkE3j6n3avO6gg5NYZAjrVUrJ3CwsOzwsrZ6OTupm6iMohX3lPdxK75MMLMMcQKuhyphenhyphenLNjFedOLV3jea93ELVoUbWzxuPCS_2rLRQg34dA2/s1600/aaaas.png" height="151" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<a name='more'></a><div style="text-align: left;">
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">Take Asp.net file upload control to browse the selected image file which you want to upload to server.</span><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">By using of jquery file we are able to preview the image before upload to the server.</span></div>
<a href="https://www.dropbox.com/s/tvdceyfvxhg3s7z/Preview%20Image.rar?dl=0">Download </a>Code<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgplr1f6q-3jQnZ6QEaUb7snNUCogXm4y2YOQuEFzh2DTQjEXlgBIugY515oZxFKhWIRdpVfel52uyGZvN7lVEB4bvETaJXc4tHHshU-erN8ozT3qlW0-R-t6ICkN9qrVU7HXZvSQf9VKbs/s1600/aaaasq.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgplr1f6q-3jQnZ6QEaUb7snNUCogXm4y2YOQuEFzh2DTQjEXlgBIugY515oZxFKhWIRdpVfel52uyGZvN7lVEB4bvETaJXc4tHHshU-erN8ozT3qlW0-R-t6ICkN9qrVU7HXZvSQf9VKbs/s1600/aaaasq.png" height="304" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<u>Html Code:</u></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">html</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: black; font-family: Consolas; font-size: 9.5pt; text-decoration: underline;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: Consolas; font-size: 9.5pt;">head</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: Consolas; font-size: 9.5pt;">></span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: black; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">style</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">type</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="text/css"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">font-family</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Arial</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">font-size</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">10pt</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">#dvPreview</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">filter</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=image)</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">min-height</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">400px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">min-width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">400px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">display</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">none</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.auto-style1</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">text-decoration</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">underline</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">font-size</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">medium</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">style</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">type</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="text/javascript"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="jquery.min.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">language</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="javascript"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">type</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="text/javascript"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">$(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> () {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> $(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"#fileupload"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">).change(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> () {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> $(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"#dvPreview"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">).html(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">""</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> regex = </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/^([a-zA-Z0-9\s_\\.\-:])+(.jpg|.jpeg|.gif|.png|.bmp)$/</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">if</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (regex.test($(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">this</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">).val().toLowerCase())) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">if</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ($.browser.msie &&
parseFloat(jQuery.browser.version) <= 9.0) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> $(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"#dvPreview"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">).show();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> $(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"#dvPreview"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">)[0].filters.item(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"DXImageTransform.Microsoft.AlphaImageLoader"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">).src = $(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">this</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">).val();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">else</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">if</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">typeof</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (FileReader) != </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"undefined"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> $(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"#dvPreview"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">).show();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> $(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"#dvPreview"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">).append(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"<img />"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> reader = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> FileReader();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> reader.onload = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (e) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> $(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"#dvPreview img"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">).attr(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"src"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">,
e.target.result);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> reader.readAsDataURL($(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">this</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">)[0].files[0]);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> } </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">else</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> alert(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"This browser does not support FileReader."</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> } </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">else</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> alert(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Please upload a valid image file."</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> });<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">});<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Browse Picture to view thw live image</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">br</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">br</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">input</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">id</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="fileupload"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">type</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="file"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">b</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">b</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">span</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="auto-style1"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">em</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Preview</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">em</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">span</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">br</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">br</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">id</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="dvPreview"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 115%;"></</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: maroon; font-family: Consolas; font-size: 9.5pt; line-height: 115%;">html</span><span style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 115%;">></span></div>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-71186613209292817032014-09-20T03:57:00.002-07:002014-11-18T04:16:51.511-08:00What Is Delegate<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: left;">
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;">Here I will explain what is Delegate and types of Delegate.</span></div>
<ol style="text-align: left;">
<li><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;">Single Cast</span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;">Multi Cast</span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;">Asynchronous</span></li>
</ol>
<i style="font-family: Arial, Helvetica, sans-serif;">D</i><span style="font-family: Arial, Helvetica, sans-serif;">elegate is a type known as pointer type looks like method and perform like type derived from super type delegate.Delegate is Reliable declaring N number methods with same nature with different different operation can perform nay effective order through delegateDelegates can be various type</span><br />
<a name='more'></a><br />
<h3>
<ol style="text-align: left;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9mYgYyqEQhJdcKbqRsJ-F3_MCcfmAOS1lzbFKH-3NdsTHI2mlN1kqy_H3B6KzkiPwQ2VYNhnsSrW_TZ7WQ_Z_KwP1h7HHiiLNIKEFlh1AH5_EJV4eRYPP0UBmCZWdf-0nZAQmFZpgLQKv/s1600/Untitled.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9mYgYyqEQhJdcKbqRsJ-F3_MCcfmAOS1lzbFKH-3NdsTHI2mlN1kqy_H3B6KzkiPwQ2VYNhnsSrW_TZ7WQ_Z_KwP1h7HHiiLNIKEFlh1AH5_EJV4eRYPP0UBmCZWdf-0nZAQmFZpgLQKv/s1600/Untitled.png" height="184" width="320" /></a>
<li><b><u><i>Single Cast Delegate</i></u></b></li>
</ol>
</h3>
<div class="" style="clear: both; text-align: left;">
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">It present at any time delegate contains address at one method like pointer.delegate can be void type or any method type return type.</span></div>
<div class="" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: large;">Delegate with void type:</span></div>
<div class="" style="clear: both; text-align: left;">
<span class="Apple-style-span" style="color: red;">Example</span></div>
<div class="" style="clear: both; text-align: left;">
<i>Under Page-Load:</i></div>
<div class="" style="clear: both; text-align: left;">
<i>abc1 ob= new abc1(abc);</i></div>
<div class="" style="clear: both; text-align: left;">
<i>ob.Ivoke();</i></div>
<div class="" style="clear: both; text-align: left;">
<i>}</i></div>
<div class="" style="clear: both; text-align: left;">
<i>void abc();</i></div>
<div class="" style="clear: both; text-align: left;">
<i>{</i></div>
<div class="separator" style="clear: both; text-align: left;">
<i>response.write("Ashok");</i></div>
<div class="separator" style="clear: both; text-align: left;">
<i>}</i></div>
<div class="separator" style="clear: both; text-align: left;">
<i>delegate void abc1();</i></div>
<div class="separator" style="clear: both; text-align: left;">
<i><br /></i></div>
<div class="separator" style="clear: both; text-align: left;">
Delegate with parameter:</div>
<div class="separator" style="clear: both; text-align: left;">
<span class="Apple-style-span" style="color: red;">Example</span></div>
<div class="separator" style="clear: both; text-align: left;">
<i>Under page load:</i></div>
<div class="separator" style="clear: both; text-align: left;">
<i><br /></i></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div class="separator" style="clear: both; font-style: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>abc1 ob= new abc1(abc);</i></div>
<div class="separator" style="clear: both; font-style: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>ob.Ivoke("Ashok Mishra......");</i></div>
<div class="separator" style="clear: both; font-style: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>}</i></div>
<div class="separator" style="clear: both; font-style: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>void abc(string data);</i></div>
<div class="separator" style="clear: both; font-style: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>{</i></div>
<div class="separator" style="clear: both; font-style: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>response.write("Welcome:"+data);</i></div>
<div class="separator" style="clear: both; font-style: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>}</i></div>
<div class="separator" style="clear: both; font-style: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>delegate void abc1(string q);</i></div>
<div class="separator" style="clear: both; font-style: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i><br /></i></div>
<div style="text-align: left;">
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">Delegate with return type : </span><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">Delegate should be same return type and same parameter type as it contain method address.</span></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<span class="Apple-style-span" style="color: red;">Example</span></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i> Under Page load:</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>loginref ob=new login ref(login);</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>string result=ob.Invoke("a""b");</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>Response.write("<hq>+result");</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>}</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>string login(string uid,string pwd)</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>{</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>if(uid=="a"&&pwd=="b")</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>{</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>return"ok"</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>}</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>else</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>{</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>return"try once........";</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>}</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>}</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>delegate string loginref (string a,string b);</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i><br /></i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
Delegate with reference type:</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>Page Load:</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>{</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>msgref reft;</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>bool b=true;</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>if(b== false)</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>{</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>reft=new msgref(msg);</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>reft.Invoke();</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>}</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>else</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>{</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>reft=new msgref(msg 1);</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>reft.Invoke();</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>}</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>void msg()</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>{</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>Response.write("have....");</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>}</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>void msg1()</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>{</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>Response.write("*****")};</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>}</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>delegate void msgref();</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i><br /></i></div>
<div style="text-align: left;">
<b><i><u><span class="Apple-style-span" style="font-size: large;">Multicast Delegate</span></u></i></b></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">Delegate can be multicast. In multicast delegate it contain address of many delegate and execute method in sequence order can be used in various case like.........</span></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">Delegate contain operator like</span></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">1.Addition(Relates with "add" from delegate collection)</span></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">2. Subtraction(relates with "Remove" from delegate collection)</span></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i><span class="Apple-style-span" style="color: red;">Example</span>:</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>Under Page-Load:</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
sendmsg ob=new sendmsg(open);</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
sendmsg ob1=new sendmsg(read);</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
sendmsg ob2=new sendmsg(send);</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
sendmsg ob4=(sendmsg) sendmsg.combine(ob,ob1,ob2);</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
ob4.invoke();</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
response.write("<h1>");</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
response.write("a");</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
response.write("b");</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
response.write("c");</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
}</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
delegate void sendmsg();</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
string a,b,c;</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
void open()</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
{</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
a="open file";</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
}</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
void read()</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
{</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
b="read data from file";</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
}</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
void send()</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
{</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
c="send data";</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
}</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
}</div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<b><span class="Apple-style-span" style="font-size: large;"> <u>Asynchronous Delegate</u></span></b></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">It is relates with event handlers and multi thread with respective call back</span></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i><span class="Apple-style-span" style="color: red;">Example;</span></i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>Under page-Load;</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>{</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>Thread th =new Thread(disp);</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>th.start();</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>}</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>void disp()</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>{</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>responser.write("ashok");</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i>}</i></div>
<div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;">
<i><br /></i></div>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-72196448068994469002014-09-19T00:37:00.001-07:002014-09-22T01:21:30.739-07:003D Rotating Image Gallery & Retrive Image From Folder<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;">Here i will explain how to Create a 3D rotated image gallery which fetch pictures from the folder and display in the web page. By using the Jquery And CSS we can retrieve the images from the containing folder and add to the image gallery.</span></div>
<div>
<div style="text-align: left;">
<br />
<br /></div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiuHLoKA4Zrj9_an2dvKWjF4jTYL3xjK0R6zE2KXO7UbLye-OWR9TzDtH5hqc9xdsqJoDwtCClsOTfH-38UgsKyWmI1ASuKfRRBp5OeQEnqRceQSsTeWy8AM63omLZzqCJUAdtAtmHMc8u/s1600/adasd.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiuHLoKA4Zrj9_an2dvKWjF4jTYL3xjK0R6zE2KXO7UbLye-OWR9TzDtH5hqc9xdsqJoDwtCClsOTfH-38UgsKyWmI1ASuKfRRBp5OeQEnqRceQSsTeWy8AM63omLZzqCJUAdtAtmHMc8u/s1600/adasd.png" height="144" width="320" /></a></div>
<br />
<a name='more'></a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8VE7G0Rgbm7K5rIafLqe6fE1iy8QdTrXrkk-1i3xuiIiX1o8B02JXERACpmELZyu2GV1DU-gRmovpVCr0Qy732OTF5C3M6T_fNbiMfjJRgNGPaXSZIUvFO2vVVqOnG98f4xPVIT7IkM6e/s1600/sas.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8VE7G0Rgbm7K5rIafLqe6fE1iy8QdTrXrkk-1i3xuiIiX1o8B02JXERACpmELZyu2GV1DU-gRmovpVCr0Qy732OTF5C3M6T_fNbiMfjJRgNGPaXSZIUvFO2vVVqOnG98f4xPVIT7IkM6e/s1600/sas.png" height="141" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjdNQhbTOWK_KKiD4ZChLsrRGFnLwblv9wb9TJc90LIgH98AaLOInVDcG518ft5RsEEAh1YkvIQUD4wcUIueK4WwMT09vQm6sU3qA_r95c0XqbIs1XvshXEAMEdw7L3gjk9CkGlckxgB8B/s1600/ssxas.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjdNQhbTOWK_KKiD4ZChLsrRGFnLwblv9wb9TJc90LIgH98AaLOInVDcG518ft5RsEEAh1YkvIQUD4wcUIueK4WwMT09vQm6sU3qA_r95c0XqbIs1XvshXEAMEdw7L3gjk9CkGlckxgB8B/s1600/ssxas.png" height="140" width="320" /></a></div>
<br />
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">html</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">lang</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="en"></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">head</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">title</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"></</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">title</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">meta</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">charset</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="utf-8"></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">link</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">rel</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="stylesheet"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">href</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="css/reset.css"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">type</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="text/css"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">media</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="all"></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">link</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">rel</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="stylesheet"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">href</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="css/style.css"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">type</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="text/css"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">media</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="all"></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">script</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">type</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="text/javascript"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">src</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="js/jquery-1.4.2.min.js"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">script</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">script</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">type</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="text/javascript"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">src</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="js/cufon-yui.js"></</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">script</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">script</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">type</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="text/javascript"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">src</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="js/Humanst521_BT_400.font.js"></</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">script</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">script</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">type</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="text/javascript"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">src</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="js/Humanst521_Lt_BT_400.font.js"></</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">script</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">script</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">type</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="text/javascript"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">src</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="js/roundabout.js"></</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">script</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">script</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">type</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="text/javascript"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">src</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="js/roundabout_shapes.js"></</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">script</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">script</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">type</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="text/javascript"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">src</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="js/gallery_init.js"></</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">script</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">script</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">type</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="text/javascript"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">src</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="js/cufon-replace.js"></</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">script</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"></</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">head</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">body</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: darkgreen;"><!--
#gallery --></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">section</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">id</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="gallery"></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">div</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">class</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="container"></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">ul</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">id</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="myRoundabout"></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">li</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">img</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">src</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="images/slide3.jpg"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">alt</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">=""></</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">li</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">li</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">img</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">src</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="images/slide2.jpg"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">alt</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">=""></</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">li</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">li</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">img</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">src</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="images/slide5.jpg"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">alt</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">=""></</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">li</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">li</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">img</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">src</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="images/slide1.jpg"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">alt</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">=""></</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">li</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">li</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">><</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">img</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">src</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">="images/slide4.jpg"</span><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: red;">alt</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">=""></</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">li</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"></</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">ul</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"></</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">div</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"></</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">section</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: darkgreen;"><!--
/#gallery --></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;"></</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: maroon;">body</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue;">></span><span style="background-color: white;"><o:p></o:p></span></span></div>
<span style="background-color: white; color: blue; font-family: Arial, Helvetica, sans-serif;"></</span><span style="background-color: white; color: maroon; font-family: Arial, Helvetica, sans-serif;">html</span><span style="background-color: white; color: blue; font-family: Arial, Helvetica, sans-serif;">></span><br />
<b style="font-family: Arial, Helvetica, sans-serif;"><a href="https://www.dropbox.com/s/5611u3jf0fwv2rk/3D%20RotatingGallary.rar?dl=0" style="font-family: Arial, Helvetica, sans-serif;">Downoad</a> code</b></div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-9488480995622934232014-09-18T23:58:00.000-07:002014-09-22T01:25:59.772-07:00What Is Constructor & Types Of Constructor<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: left;">
<h4 style="text-align: left;">
<span style="font-size: small; font-weight: normal;"><span style="font-family: Arial, Helvetica, sans-serif;">Constructor is a method which invokes automatic at the time of object creation.It Initialize object as per nature.</span><span style="font-family: Arial, Helvetica, sans-serif;">Constructor is perform with various type</span></span><ol style="text-align: left;">
<li><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;">Default</span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"></span><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-weight: normal;">Parameters</span></li>
<li><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-weight: normal;"></span><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-weight: normal;">Static</span></li>
<li><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-weight: normal;"></span><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-weight: normal;">Private</span></li>
<li><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-weight: normal;"></span><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-weight: normal;">Copy</span></li>
</ol>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;">Constructor relates with overloading and base class initialization</span></h4>
</div>
<ol style="text-align: left;">
</ol>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"></span><br />
<a name='more'></a></div>
<div>
<h3 style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: large; font-weight: normal;">1.<u>Default</u></span>
</h3>
<h4 style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"><span style="background-color: white; color: #222222; line-height: 19px;">A </span><span style="background-color: white; color: #222222; line-height: 19px;">default constructor</span><span style="background-color: white; color: #222222; line-height: 19px;"> is a </span><span style="background-color: white; color: #222222; line-height: 19px;">constructor</span><span style="background-color: white; color: #222222; line-height: 19px;"> that either has no parameters, or if it has parameters, all the parameters have </span><span style="background-color: white; color: #222222; line-height: 19px;">default</span><span style="background-color: white; color: #222222; line-height: 19px;"> values.</span></span></h4>
</div>
<div>
<u><span style="font-family: Arial, Helvetica, sans-serif;">Example</span></u></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue; font-size: 10.5pt;">Protected</span><span style="background-color: white; font-size: 10.5pt;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue; font-size: 10.5pt;">void</span><span style="background-color: white; font-size: 10.5pt;"> Page_Load(</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue; font-size: 10.5pt;">object</span><span style="background-color: white; font-size: 10.5pt;"> sender, </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: #2b91af; font-size: 10.5pt;">EventArgs</span><span style="background-color: white; font-size: 10.5pt;"> e)<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> {<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white; font-size: 10.5pt;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: #2b91af; font-size: 10.5pt;">Akm</span><span style="background-color: white; font-size: 10.5pt;"> ob= Akm()<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> Response.Write(ob.constr);<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> }<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white; font-size: 10.5pt;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue; font-size: 10.5pt;">public</span><span style="background-color: white; font-size: 10.5pt;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue; font-size: 10.5pt;">class</span><span style="background-color: white; font-size: 10.5pt;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: #2b91af; font-size: 10.5pt;">Akm</span><span style="background-color: white; font-size: 10.5pt;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> {<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white; font-size: 10.5pt;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue; font-size: 10.5pt;">public</span><span style="background-color: white; font-size: 10.5pt;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue; font-size: 10.5pt;">string</span><span style="background-color: white; font-size: 10.5pt;"> constr;<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white; font-size: 10.5pt;"> </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: blue; font-size: 10.5pt;">public</span><span style="background-color: white; font-size: 10.5pt;"> Akm()<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white; font-size: 10.5pt;"> constr=</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; color: #a31515; font-size: 10.5pt;">"oracle server"</span><span style="background-color: white; font-size: 10.5pt;">;<o:p></o:p></span></span></div>
<div class="MsoNormal">
<span style="background-color: white; font-size: 10.5pt; line-height: 115%;"><span style="font-family: Arial, Helvetica, sans-serif;"> }</span></span></div>
<div class="MsoNormal">
<span style="background-color: white; font-size: 10.5pt; line-height: 115%;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></span></div>
<div style="text-align: left;">
<span style="line-height: 16px;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-size: 14px;"> </span></span><span class="Apple-style-span" style="font-size: large;"> </span><span class="Apple-style-span" style="font-weight: normal;"><span class="Apple-style-span" style="font-size: large;">2.</span><u style="font-size: x-large;">Parameterized Constructor</u></span></span></div>
<ol style="background-color: white; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;">
<li class="mod" style="border: 0px; clear: none; list-style: none; margin: 0px; padding: 20px 20px 0px;"><div class="_oDd _Sgc" data-hveid="27">
<div class="_Tgc" style="color: #222222; line-height: 1.2; overflow: hidden; padding-bottom: 20px;">
<h4>
<span style="font-family: Arial, Helvetica, sans-serif; font-weight: normal;">When an object is declared in a parameterized constructor, the initial values have to be passed as arguments to the constructor function. The normal way of object declaration may not work. The constructors can be called explicitly or implicitly.</span></h4>
</div>
<div class="_Tgc" style="color: #222222; font-size: 16px; line-height: 1.2; overflow: hidden; padding-bottom: 20px;">
<u><span style="font-family: Arial, Helvetica, sans-serif;">Example</span></u></div>
<div class="_Tgc" style="overflow: hidden; padding-bottom: 20px;">
<div class="MsoNormal" style="color: #222222; font-size: 16px; line-height: normal; margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: blue; font-size: 10.5pt;">protected</span><span style="color: black; font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">void</span><span style="color: black; font-size: 10.5pt;"> Page_Load(</span><span style="color: blue; font-size: 10.5pt;">object</span><span style="color: black; font-size: 10.5pt;"> sender, </span><span style="color: #2b91af; font-size: 10.5pt;">EventArgs</span><span style="color: black; font-size: 10.5pt;"> e)<o:p></o:p></span></span></div>
<div class="MsoNormal" style="color: #222222; font-size: 16px; line-height: normal; margin-bottom: 0.0001pt;">
<span style="color: black; font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> {<o:p></o:p></span></span></div>
<div class="MsoNormal" style="color: #222222; font-size: 16px; line-height: normal; margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: black; font-size: 10.5pt;"> </span><span style="color: #2b91af; font-size: 10.5pt;">Akm</span><span style="color: black; font-size: 10.5pt;"> ob=</span><span style="color: blue; font-size: 10.5pt;">new</span><span style="color: black; font-size: 10.5pt;"> </span><span style="color: #2b91af; font-size: 10.5pt;">Akm</span><span style="color: black; font-size: 10.5pt;">(</span><span style="color: #a31515; font-size: 10.5pt;">"parameter
constr"</span><span style="color: black; font-size: 10.5pt;">)<o:p></o:p></span></span></div>
<div class="MsoNormal" style="color: #222222; font-size: 16px; line-height: 1.2;">
<span style="color: black; font-size: 10.5pt; line-height: 115%;"><span style="font-family: Arial, Helvetica, sans-serif;"> Response.Write(ob.constr);</span></span></div>
<div class="MsoNormal">
<span style="font-size: 14px; line-height: 16px;"><span style="font-family: Arial, Helvetica, sans-serif;">}</span></span></div>
</div>
<div class="_Tgc" style="overflow: hidden; padding-bottom: 20px;">
<div class="MsoNormal" style="color: black; font-size: medium; line-height: normal; margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: blue; font-size: 10.5pt;">public</span><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">class</span><span style="font-size: 10.5pt;"> </span><span style="color: #2b91af; font-size: 10.5pt;">Akm</span><span style="font-size: 10.5pt;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="color: black; font-size: medium; line-height: normal; margin-bottom: 0.0001pt;">
<span style="font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> {<o:p></o:p></span></span></div>
<div class="MsoNormal" style="color: black; font-size: medium; line-height: normal; margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">public</span><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">string</span><span style="font-size: 10.5pt;"> constr;<o:p></o:p></span></span></div>
<div class="MsoNormal" style="color: black; font-size: medium; line-height: normal; margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-size: 10.5pt;"> </span><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">public</span><span style="font-size: 10.5pt;"> Akm(</span><span style="color: blue; font-size: 10.5pt;">string</span><span style="font-size: 10.5pt;"> con)</span></span></div>
<div class="MsoNormal" style="color: #222222; font-size: 16px; line-height: normal; margin-bottom: 0.0001pt;">
<span style="color: black; font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> {<o:p></o:p></span></span></div>
<div class="MsoNormal" style="color: #222222; font-size: 16px; line-height: normal; margin-bottom: 0.0001pt;">
<span style="color: black; font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> constr = con;<o:p></o:p></span></span></div>
<div class="MsoNormal" style="color: #222222; font-size: 16px; line-height: normal; margin-bottom: 0.0001pt;">
<span style="color: black; font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> }<o:p></o:p></span></span></div>
<div class="MsoNormal" style="color: black; font-size: medium; line-height: normal; margin-bottom: 0.0001pt;">
<span style="font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> </span></span></div>
<div class="MsoNormal" style="color: black; font-size: medium; line-height: normal;">
<span style="font-size: 10.5pt; line-height: 16px;"><span style="font-family: Arial, Helvetica, sans-serif;"> }</span></span></div>
<h3>
<span style="line-height: 16px;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: large;"><span class="Apple-style-span" style="font-weight: normal;">3.<u>Static Constructor</u></span></span></span></h3>
<div class="MsoNormal">
<h4>
<span style="font-family: Arial, Helvetica, sans-serif; font-weight: normal;"><span style="line-height: 16px;">It is execute </span><span style="line-height: 16px;">automatic</span><span style="line-height: 16px;"> at the time of calling any static data member.It Does not take parameters.It can not be a public.</span></span></h4>
</div>
<div class="MsoNormal">
<span style="line-height: 16px;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: large;"><br /></span></span></div>
<div class="MsoNormal">
<span style="line-height: 16px;"><u><span style="font-family: Arial, Helvetica, sans-serif;">Example</span></u></span></div>
<div class="MsoNormal">
<span style="font-size: 10.5pt; line-height: 16px;"><u><span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></u></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: blue; font-size: 10.5pt;">protected</span><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">void</span><span style="font-size: 10.5pt;"> Page_Load(</span><span style="color: blue; font-size: 10.5pt;">object</span><span style="font-size: 10.5pt;"> sender, </span><span style="color: #2b91af; font-size: 10.5pt;">EventArgs</span><span style="font-size: 10.5pt;"> e)<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> {<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">string</span><span style="font-size: 10.5pt;"> result = </span><span style="color: #2b91af; font-size: 10.5pt;">Akm</span><span style="font-size: 10.5pt;">.str;<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-size: 10.5pt;"> Response.Write(</span><span style="color: #a31515; font-size: 10.5pt;">"<h1>"</span><span style="font-size: 10.5pt;"> +
result);<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-size: 10.5pt;"> Response.Write(</span><span style="color: #2b91af; font-size: 10.5pt;">Akm</span><span style="font-size: 10.5pt;">.str);<o:p></o:p></span></span></div>
<div class="MsoNormal">
<span style="font-size: 10.5pt; line-height: 16px;"><u><span style="font-family: Arial, Helvetica, sans-serif;">
</span></u></span></div>
<div class="MsoNormal">
<span style="font-size: 10.5pt; line-height: 115%;"><span style="font-family: Arial, Helvetica, sans-serif;"> }</span></span></div>
<div class="MsoNormal">
<span style="font-size: 10.5pt; line-height: 115%;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: blue; font-size: 10.5pt;">public</span><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">class</span><span style="font-size: 10.5pt;"> </span><span style="color: #2b91af; font-size: 10.5pt;">Akm</span><span style="font-size: 10.5pt;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> {<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">public</span><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">static</span><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">string</span><span style="font-size: 10.5pt;"> str;<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">public</span><span style="font-size: 10.5pt;"> Akm()<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> {<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-size: 10.5pt;"> str = </span><span style="color: #a31515; font-size: 10.5pt;">"static constr"</span><span style="font-size: 10.5pt;">;<o:p></o:p></span></span></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<span style="font-size: 10.5pt; line-height: 115%;"><span style="font-family: Arial, Helvetica, sans-serif;"> }</span></span></div>
<div class="MsoNormal" style="color: black; font-size: medium; line-height: normal;">
<span style="font-size: 10.5pt; line-height: 16px;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></span></div>
<h3>
<span style="line-height: 16px;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: large; font-weight: normal;">4.<u>Private Constructor</u></span></span></h3>
<h3>
<span style="font-weight: normal; line-height: 16px;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: small;">It does not allow object creation outside the class</span></span></h3>
<div class="MsoNormal" style="color: black; line-height: normal;">
<span style="line-height: 16px;"><u><span style="font-family: Arial, Helvetica, sans-serif;"><b>Example</b></span></u></span></div>
<div class="MsoNormal" style="color: black; line-height: normal;">
<span style="font-size: 10.5pt; line-height: 16px;"><u><span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></u></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: blue; font-size: 10.5pt;">protected</span><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">void</span><span style="font-size: 10.5pt;"> Page_Load(</span><span style="color: blue; font-size: 10.5pt;">object</span><span style="font-size: 10.5pt;"> sender, </span><span style="color: #2b91af; font-size: 10.5pt;">EventArgs</span><span style="font-size: 10.5pt;"> e)<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> {<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-size: 10.5pt;"> Response.Write(</span><span style="color: #2b91af; font-size: 10.5pt;">xyz</span><span style="font-size: 10.5pt;">.info());<o:p></o:p></span></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-size: 10.5pt; line-height: 115%;"> }</span><span style="font-size: 10.5pt; line-height: 115%;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: blue; font-size: 10.5pt;">public</span><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">class</span><span style="font-size: 10.5pt;"> </span><span style="color: #2b91af; font-size: 10.5pt;">xyz</span><span style="font-size: 10.5pt;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> {<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">public</span><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">string</span><span style="font-size: 10.5pt;"> str;<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">private</span><span style="font-size: 10.5pt;"> xyz()<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> {<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-size: 10.5pt;"> str = </span><span style="color: #a31515;"><span style="font-size: 10.5pt;">"</span><span style="font-size: 14px;">Microsoft</span><span style="font-size: 10.5pt;"> tech"</span></span><span style="font-size: 10.5pt;">;<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> }<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">public</span><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">static</span><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">string</span><span style="font-size: 10.5pt;"> info()<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> {<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-size: 10.5pt;"> </span><span style="color: #2b91af; font-size: 10.5pt;">xyz</span><span style="font-size: 10.5pt;"> xx = </span><span style="color: blue; font-size: 10.5pt;">new</span><span style="font-size: 10.5pt;"> </span><span style="color: #2b91af; font-size: 10.5pt;">xyz</span><span style="font-size: 10.5pt;">();<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-size: 10.5pt;"> </span><span style="color: blue; font-size: 10.5pt;">return</span><span style="font-size: 10.5pt;"> xx.str;<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-size: 10.5pt;"><span style="font-family: Arial, Helvetica, sans-serif;"> }<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<span style="font-size: 10.5pt; line-height: 115%;"><span style="font-family: Arial, Helvetica, sans-serif;"> }</span></span></div>
<h3>
<span style="line-height: 16px;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: large; font-weight: normal;">5.<u>Copy Constructor</u></span></span></h3>
<div class="MsoNormal">
<span style="line-height: 16px;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: large;"><u></u></span></span></div>
<ol style="border: 0px; color: #222222; line-height: 15px; margin: 0px; padding: 0px;">
<li class="mod" style="border: 0px; clear: none; line-height: 1.2; list-style: none; margin: 0px; padding: 0px 20px;"><div class="_oDd _Sgc" data-hveid="32">
<span style="font-family: Arial, Helvetica, sans-serif;">A <b>copy constructor</b> is a special <b>constructor</b> in the C++ programming language for creating a new object as a <b>copy</b> of an existing object.</span></div>
</li>
</ol>
</div>
</div>
</li>
</ol>
</div>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-66957808221762304032014-09-13T05:16:00.004-07:002014-09-22T01:24:11.405-07:00How to Create Dynamic TextBox And Get Its Value<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: left;">
<h4 style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-weight: normal;"><span style="background-color: white; text-align: justify;"><span style="color: #333333;">Before i was explain How to create dynamic Asp controls.</span></span><span style="background-color: white; text-align: justify;"><span style="color: #333333;"><a href="http://dotnetwithashok.blogspot.in/2014/08/how-to-generate-dynamic-controls-in.html">How to Generate Dynamic Asp Controls</a></span></span><span style="background-color: white; text-align: justify;"><span style="color: #333333;">Now Here i will show to you how to retrieving the value of the dynamically created Text Box In Asp.Net. </span></span></span></h4>
</div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif; font-weight: normal;"><span style="background-color: white; text-align: justify;"><span style="color: #333333;"><span style="font-size: small;"></span></span></span></span><br />
<a name='more'></a><span style="font-family: Arial, Helvetica, sans-serif; font-weight: normal;"><span style="background-color: white; text-align: justify;"><span style="color: #333333;"><span style="font-size: small;"><br /></span></span></span></span></div>
<div>
<span style="background-color: white; color: blue; font-family: Consolas; font-size: 10.5pt;">using</span><span style="background-color: white; font-family: Consolas; font-size: 10.5pt;"> System;</span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">using</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">using</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">using</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> System.Web;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">using</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> System.Web.UI;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">using</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> System.Web.UI.WebControls;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">namespace </span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">ashokdemo</span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">public</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">partial</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">class</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">_Default</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> : System.Web.UI.</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">Page</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">protected</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">void</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> Page_Load(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">object</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> sender, </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">EventArgs</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> e)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">TextBox</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> new_textbox = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">new</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">TextBox</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> new_textbox.ID = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">"txt"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> + 1;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> new_textbox.Text = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">""</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">
PlaceHolder1.Controls.Add(new_textbox);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">protected</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">void</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> Button1_Click(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">object</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> sender, </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">EventArgs</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> e)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">string</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> OptionID = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">"txt"</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> + 1;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">TextBox</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> tb = (</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 10.5pt; mso-highlight: white;">TextBox</span><span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;">)PlaceHolder1.FindControl(OptionID);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> Response.Write(tb.Text);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial; font-family: Consolas; font-size: 10.5pt;"> </span><span style="background-color: white; font-family: Consolas; font-size: 10.5pt; line-height: 115%;"> }</span><span style="background-color: white; color: #333333; font-family: 'Segoe UI', sans-serif;">}</span><span style="background-color: white; color: #333333; font-family: 'Segoe UI', sans-serif;">}</span><span style="background-color: white; color: #333333; font-family: 'Segoe UI', sans-serif;">}</span></div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif";">
<span style="background: white;"> <span class="apple-converted-space"> </span></span><span style="background: white;"> <span class="apple-converted-space"> </span></span><span style="background: white;"> </span><br style="outline: none 0px;" />
<span style="background: white;"> </span></span></div>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-60254278856233105922014-09-09T02:59:00.004-07:002014-10-22T03:30:31.722-07:00Custom Validator(Client Side)<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<h4 style="text-align: left;">
<span class="Apple-style-span" style="font-weight: normal; line-height: 27px;"><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">Here I will explain how to use customer validator in a asp.net project to validate a controls.</span></span></h4>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOYxmMyoBwR861-0LskEabC5B8VKYad0eZW9Rt6JHoZ6DYwIzxx8PnUuRwjqs4k9Dl6mQs6TP3i-9MEmHuwqgRGTPpaZBYyWFJO3AMSFwh-7u1LgEBQvj5fb0OMQYWISOnTjGAZ09FoQ6j/s1600/Untitled.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOYxmMyoBwR861-0LskEabC5B8VKYad0eZW9Rt6JHoZ6DYwIzxx8PnUuRwjqs4k9Dl6mQs6TP3i-9MEmHuwqgRGTPpaZBYyWFJO3AMSFwh-7u1LgEBQvj5fb0OMQYWISOnTjGAZ09FoQ6j/s1600/Untitled.png" /></a></div>
<div class="MsoNormal">
<b><span style="font-size: 18.0pt; line-height: 115%;"></span></b><br />
<a name='more'></a></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"><span style="color: blue;"><</span><span style="color: maroon;">head</span> <span style="color: red;">runat</span><span style="color: blue;">="server"></span><o:p></o:p> </span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"> <span style="color: blue;"><</span><span style="color: maroon;">title</span><span style="color: blue;">></</span><span style="color: maroon;">title</span><span style="color: blue;">></span> </span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"><span style="color: blue;"><</span><span style="color: maroon;">script</span> <span style="color: red;">type</span><span style="color: blue;">="text/javascript"</span> <span style="color: red;">language</span><span style="color: blue;">="javascript"></span> </span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"> <span style="color: blue;">function</span>
IsEven(source, args) </span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"> { </span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"> <span style="color: blue;">if</span>
(args.Value % 2 == 0)</span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"> { args.IsValid = <span style="color: blue;">true</span>;</span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;">} </span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"><span style="color: blue;">else</span></span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;">
{ </span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;">args.IsValid = <span style="color: blue;">false</span>;</span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;">} } </span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"><span style="color: blue;"></</span><span style="color: maroon;">script</span><span style="color: blue;">></span><span style="color: blue;"></</span><span style="color: maroon;">head</span><span style="color: blue;">><br /><o:p></o:p></span></span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"><span style="color: blue;"><</span><span style="color: maroon;">div</span><span style="color: blue;">></span> </span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"><span style="color: blue;"><</span><span style="color: maroon;">asp</span><span style="color: blue;">:</span><span style="color: maroon;">TextBox</span> <span style="color: red;">ID</span><span style="color: blue;">="TextBox1"</span> <span style="color: red;">runat</span><span style="color: blue;">="server"></</span><span style="color: maroon;">asp</span><span style="color: blue;">:</span><span style="color: maroon;">TextBox</span><span style="color: blue;">></span> </span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"><span style="color: blue;"><</span><span style="color: maroon;">asp</span><span style="color: blue;">:</span><span style="color: maroon;">CustomValidator</span> <span style="color: red;">ID</span><span style="color: blue;">="CustomValidator1"</span> <span style="color: red;">runat</span><span style="color: blue;">="server"</span> <span style="color: red;">ControlToValidate</span><span style="color: blue;">="TextBox1"</span> <span style="color: red;">ErrorMessage</span><span style="color: blue;">="please enter even no"</span> <span style="color: red;">ClientValidationFunction</span><span style="color: blue;">="IsEven"></</span><span style="color: maroon;">asp</span><span style="color: blue;">:</span><span style="color: maroon;">CustomValidator</span><span style="color: blue;">></span> </span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"> <span style="color: blue;"><</span><span style="color: maroon;">asp</span><span style="color: blue;">:</span><span style="color: maroon;">Button</span> <span style="color: red;">ID</span><span style="color: blue;">="Button1"</span> <span style="color: red;">runat</span><span style="color: blue;">="server"</span> <span style="color: red;">Text</span><span style="color: blue;">="Button"</span> <span style="color: red;">OnClientClick</span><span style="color: blue;">="IsEven"</span> <span style="color: blue;">/></span> </span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"> <span style="color: blue;"><</span><span style="color: maroon;">br</span> <span style="color: blue;">/></span> <span style="color: blue;"><</span><span style="color: maroon;">br</span> <span style="color: blue;">/></span> </span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"> <span style="color: blue;"><</span><span style="color: maroon;">asp</span><span style="color: blue;">:</span><span style="color: maroon;">Label</span> <span style="color: red;">ID</span><span style="color: blue;">="Label1"</span> <span style="color: red;">runat</span><span style="color: blue;">="server"</span> <span style="color: red;">Text</span><span style="color: blue;">="Label"></</span><span style="color: maroon;">asp</span><span style="color: blue;">:</span><span style="color: maroon;">Label</span><span style="color: blue;">></span> </span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"><span style="color: blue;"></</span><span style="color: maroon;">div</span><span style="color: blue;">><br /><o:p></o:p></span></span><span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"><span style="line-height: 115%;">Customervalidator (Server side)</span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu1XfIN7Wdn3f09HlxXBRb4GFAnKGJn8z9RhhYDHjkNoYY0Un2J0cDGO2iLJ-EwxJFhM2R6OIcFfgYR0jMhetdIkmW0icSPK40A0smy_kgs5P95fRXD4vwpo_bIAv9r76II43rC5d5s77h/s1600/Untitled.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu1XfIN7Wdn3f09HlxXBRb4GFAnKGJn8z9RhhYDHjkNoYY0Un2J0cDGO2iLJ-EwxJFhM2R6OIcFfgYR0jMhetdIkmW0icSPK40A0smy_kgs5P95fRXD4vwpo_bIAv9r76II43rC5d5s77h/s1600/Untitled.png" height="76" width="320" /></a></div>
<h3 style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: small;"><b><span style="line-height: 115%;"><br /></span></b><span style="line-height: 115%;"><br /></span><b>C</b><span class="Apple-style-span" style="font-weight: normal;">ustom text:<br
/><asp:TextBox
runat="server" id="txtCustom"/><asp:CustomValidator
runat="server" id="cusCustom"
controltovalidate="txtCustom"
onservervalidate="cusCustom_ServerValidate" errormessage="The
text must be exactly 8 characters long!" /><br
/><br/><span style="color: blue;"> </span><span style="color: blue;"> </span><span style="color: blue;"> </span><span style="color: blue;">protected</span> <span style="color: blue;">void</span>
CustomValidator1_ServerValidate(<span style="color: blue;">object</span> source, <span style="color: #2b91af;">ServerValidateEventArgs</span> args)<br /><o:p></o:p> { <span style="color: blue;">if</span>
(args.Value.Length== 8) args.IsValid = <span style="color: blue;">true</span>; <span style="color: blue;">else</span> args.IsValid = <span style="color: blue;">false</span>; }</span></span></h3>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-40359121130572746562014-09-09T01:48:00.001-07:002014-10-22T03:30:31.719-07:00Online Examination<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: large;">Here I Will Explain How to create a simple Online Examination Form by using c# in Asp.Net</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihxzQopTyRnTHayA7C5qZeDZQURLll4DW6IxbMdXIlp0tVrpk1GlAaUJkWwDk6h55nq_PB1ZH8oBwRG3vcbYgFmFavU9dCbRRWnXZP03dqkxWZZvFyNWXNd9yjPTtvlGEdNPJlQoiCJJQK/s1600/aaaa.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihxzQopTyRnTHayA7C5qZeDZQURLll4DW6IxbMdXIlp0tVrpk1GlAaUJkWwDk6h55nq_PB1ZH8oBwRG3vcbYgFmFavU9dCbRRWnXZP03dqkxWZZvFyNWXNd9yjPTtvlGEdNPJlQoiCJJQK/s1600/aaaa.png" height="217" width="320" /></a></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="color: blue; font-family: Arial, sans-serif;"></span><br />
<a name='more'></a><span style="color: blue; font-family: Arial, sans-serif;"><br /></span><br />
<span style="color: blue; font-family: Arial, sans-serif;">protected</span><b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: blue; font-family: Arial, sans-serif;">void</span><b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">Button1_Click<b>(</b><span style="color: blue;">object</span><b> </b>sender<b>, </b><span style="color: #2b91af;">EventArgs</span><b>
</b>e<b>)<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> {<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: #2b91af; font-family: Arial, sans-serif;">HttpCookie</span><b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">obj<b> </b>=<b> </b><span style="color: blue;">new</span><b> </b><span style="color: #2b91af;">HttpCookie</span><b>(</b><span style="color: #a31515;">"Q1"</span><b>);<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: blue; font-family: Arial, sans-serif;">if</span><b><span style="font-family: Arial, sans-serif;"> (</span></b><span style="font-family: Arial, sans-serif;">RadioButton1.Checked<b>
</b>==<b> </b><span style="color: blue;">true</span><b>)<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">obj.Value<b> </b>=<b> </b><span style="color: #a31515;">"y"</span><b>;<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: blue; font-family: Arial, sans-serif;">else</span><b><span style="font-family: Arial, sans-serif;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">obj.Value<b> </b>=<b> </b><span style="color: #a31515;">"N"</span><b>;<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">Response.Cookies.Add<b>(</b>obj<b>);<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">Response.Redirect<b>(</b><span style="color: #a31515;">"page2.aspx"</span><b>);<o:p></o:p></b></span></div>
<br />
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> }<span style="font-size: 21pt;"><o:p></o:p></span></span></b></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0vHQveEB9geovdnBaOgqM18CCjmhHcGVaDNDuXJktPj-aPrAnx9PPeX2lCFQVCEZEhXWeX00frO2em06OPz888GJMZKJkZ6QNMhZekB20DE_0RCkdKHjS2qe4yYU43LkZjuEf5aYBlg0Z/s1600/sss.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0vHQveEB9geovdnBaOgqM18CCjmhHcGVaDNDuXJktPj-aPrAnx9PPeX2lCFQVCEZEhXWeX00frO2em06OPz888GJMZKJkZ6QNMhZekB20DE_0RCkdKHjS2qe4yYU43LkZjuEf5aYBlg0Z/s1600/sss.png" height="218" width="320" /></a></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="color: blue; font-family: Arial, sans-serif;">protected</span><b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: blue; font-family: Arial, sans-serif;">void</span><b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">Button1_Click<b>(</b><span style="color: blue;">object</span><b> </b>sender<b>, </b><span style="color: #2b91af;">EventArgs</span><b>
</b>e<b>)<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> {<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: #2b91af; font-family: Arial, sans-serif;">HttpCookie</span><b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">obj<b> </b>=<b> </b><span style="color: blue;">new</span><b> </b><span style="color: #2b91af;">HttpCookie</span><b>(</b><span style="color: #a31515;">"Q2"</span><b>);<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: blue; font-family: Arial, sans-serif;">if</span><b><span style="font-family: Arial, sans-serif;"> (</span></b><span style="font-family: Arial, sans-serif;">RadioButton1.Checked<b>
</b>==<b> </b><span style="color: blue;">true</span><b>)<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">obj.Value<b> </b>=<b> </b><span style="color: #a31515;">"y"</span><b>;<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: blue; font-family: Arial, sans-serif;">else</span><b><span style="font-family: Arial, sans-serif;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">obj.Value<b> </b>=<b> </b><span style="color: #a31515;">"N"</span><b>;<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">Response.Cookies.Add<b>(</b>obj<b>);<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">Response.Redirect<b>(</b><span style="color: #a31515;">"page3.aspx"</span><b>);<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
</div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> }<span style="font-size: 21pt;"><o:p></o:p></span></span></b></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7ly95mfCpRC-yEtDNjlDBxmbKOfgHhXbEKGJvC4R8apqSqKjtO7YDSl-8WhWKjfXWAZncGnEDgjI_MvpQahFB6bm8UTG8hr9KO67GvmFdLgEgLWEFwtn2GIUKS7VPhEg4Rzd_eAyHdLif/s1600/ddd.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7ly95mfCpRC-yEtDNjlDBxmbKOfgHhXbEKGJvC4R8apqSqKjtO7YDSl-8WhWKjfXWAZncGnEDgjI_MvpQahFB6bm8UTG8hr9KO67GvmFdLgEgLWEFwtn2GIUKS7VPhEg4Rzd_eAyHdLif/s1600/ddd.png" height="215" width="320" /></a></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="color: blue; font-family: Arial, sans-serif;">protected</span><b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: blue; font-family: Arial, sans-serif;">void</span><b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">Button1_Click<b>(</b><span style="color: blue;">object</span><b> </b>sender<b>, </b><span style="color: #2b91af;">EventArgs</span><b>
</b>e<b>)<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> {<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: #2b91af; font-family: Arial, sans-serif;">HttpCookie</span><b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">obj<b> </b>=<b> </b><span style="color: blue;">new</span><b> </b><span style="color: #2b91af;">HttpCookie</span><b>(</b><span style="color: #a31515;">"Q3"</span><b>);<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: blue; font-family: Arial, sans-serif;">if</span><b><span style="font-family: Arial, sans-serif;"> (</span></b><span style="font-family: Arial, sans-serif;">RadioButton1.Checked<b>
</b>==<b> </b><span style="color: blue;">true</span><b>)<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">obj.Value<b> </b>=<b> </b><span style="color: #a31515;">"y"</span><b>;<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: blue; font-family: Arial, sans-serif;">else</span><b><span style="font-family: Arial, sans-serif;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">obj.Value<b> </b>=<b> </b><span style="color: #a31515;">"N"</span><b>;<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">Response.Cookies.Add<b>(</b>obj<b>);<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">Response.Redirect<b>(</b><span style="color: #a31515;">"result.aspx"</span><b>);<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
</div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> }<span style="font-size: 21pt;"><o:p></o:p></span></span></b></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn7TPL5BG7_0wgDSTuGDz4cEkuyeNB5mO7v7HvFrnbPwWycfX5as2hxd7x5VObkBRv-MH5XHl-2njnLP3gH1H6AUaoacS-2FUBHlJNW8P5LVOkpPunKxmHOrM1L_tHPZf9ukqK9sLzEaxo/s1600/cccs.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn7TPL5BG7_0wgDSTuGDz4cEkuyeNB5mO7v7HvFrnbPwWycfX5as2hxd7x5VObkBRv-MH5XHl-2njnLP3gH1H6AUaoacS-2FUBHlJNW8P5LVOkpPunKxmHOrM1L_tHPZf9ukqK9sLzEaxo/s1600/cccs.png" height="215" width="320" /></a></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"><br /></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="color: blue; font-family: Arial, sans-serif;">protected</span><b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: blue; font-family: Arial, sans-serif;">void</span><b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">Page_Load<b>(</b><span style="color: blue;">object</span><b> </b>sender<b>, </b><span style="color: #2b91af;">EventArgs</span><b>
</b>e<b>)<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> {<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: #2b91af; font-family: Arial, sans-serif;">HttpCookie</span><b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">obj<b>;<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: blue; font-family: Arial, sans-serif;">int</span><b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">total<b> </b>=<b> </b>0<b>;<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: blue; font-family: Arial, sans-serif;">string</span><b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">s<b> </b>=<b> </b><span style="color: #a31515;">""</span><b>;<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: blue; font-family: Arial, sans-serif;">for</span><b><span style="font-family: Arial, sans-serif;"> (</span></b><span style="color: blue; font-family: Arial, sans-serif;">int</span><b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">i<b> </b>=<b> </b>0<b>;
</b>i<Request.Cookies.Count<b>; </b>i++<b>)<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> {<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">obj<b> </b>=<b> </b>Request.Cookies<b>[</b>i<b>];<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">s<b> </b>=<b> </b>s<b> </b>+<b> </b><span style="color: #a31515;">"Q"</span><b> </b>+<b> (</b>i<b> </b>+<b> </b>1<b>)
</b>+<b> </b><span style="color: #a31515;">" "</span><b> </b>+<b> </b>obj.Value+<span style="color: #a31515;">"<br>"</span><b>;<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: blue; font-family: Arial, sans-serif;">if</span><b><span style="font-family: Arial, sans-serif;"> (</span></b><span style="font-family: Arial, sans-serif;">obj.Value<b> </b>==<b>
</b><span style="color: #a31515;">"y"</span><b>)<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> {<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">total<b> </b>=<b> </b>total<b>
</b>+<b> </b>1<b>;<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> }<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: blue; font-family: Arial, sans-serif;">if</span><b><span style="font-family: Arial, sans-serif;"> (</span></b><span style="font-family: Arial, sans-serif;">total<b> </b><<b> </b>2<b>)<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> {<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">Label1.Text<b> </b>=<b>
</b><span style="color: #a31515;">"Result is"</span><b> </b>+<b> </b><span style="color: #a31515;">"<br>"</span><b> </b>+<b> </b>s<b> </b>+<b>
</b><span style="color: #a31515;">"correct answer"</span><b> </b>+<b> </b>total<b>
</b>+<b> </b><span style="color: #a31515;">"youfailed"</span><b>;<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> }<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="color: blue; font-family: Arial, sans-serif;">else</span><b><span style="font-family: Arial, sans-serif;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> {<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> </span></b><span style="font-family: Arial, sans-serif;">Label1.Text<b> </b>=<b>
</b><span style="color: #a31515;">"Result is"</span><b> </b>+<b> </b><span style="color: #a31515;">"<br>"</span><b> </b>+<b> </b>s<b> </b>+<b>
</b><span style="color: #a31515;">"correct answers are"</span><b> </b>+<b>
</b>total<b> </b>+<b> </b><span style="color: #a31515;">"youpassed"</span><b>;<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> }<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> }<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
</div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: Arial, sans-serif;"> }<span style="font-size: 21pt;"><o:p></o:p></span></span></b></div>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-39151036350169739622014-09-04T03:11:00.000-07:002014-09-22T01:38:14.839-07:00How To Bounce Left a div by Using jQuery plugin And use in Asp.Net.<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: justify;">
<br />
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">Here i will explain how to move or bounce a particular division by using jquery.</span></div>
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">Here i will use .velocity() function instead of <span style="color: #3a3a3a; line-height: 22.234375px;">$.animate() animation engine.</span></span><span style="font-family: Arial, Helvetica, sans-serif;"></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">
</span><span style="line-height: 22.234375px;"></span>
<div style="text-align: left;">
<span style="line-height: 22.234375px;"><b style="color: #3a3a3a; font-family: Arial, Helvetica, sans-serif;">Velocity</b><span style="font-family: Arial, Helvetica, sans-serif;"> is a animation engine that re-implements jQuery's $.animate() for better performance (making Velocity also faster than CSS animation libraries) while including new features to improve workflow.</span></span></div>
<span style="line-height: 22.234375px;">
</span><br />
<ul id="description" style="margin: 0.6em 0px 0px; max-width: 26.5em; padding: 0px; width: 436.71875px;">
<li style="line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: left;"><span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-weight: 600;"><a href="https://raw.githubusercontent.com/julianshapiro/velocity/master/velocity.min.js">Download Velocity</a></span> include it on your page, and replace all instances of jQuery's $.animate() with $.velocity(). You will immediately see a performance boost across all browsers and devices — especially on mobile.<a name='more'></a></span></li>
</ul>
<ul id="description" style="margin: 0.6em 0px 0px; max-width: 26.5em; padding: 0px; width: 436.71875px;">
<li style="line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: left;"><span style="font-family: Arial, Helvetica, sans-serif;">Example:</span></li>
</ul>
</div>
<div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<ul id="description" style="margin: 0.6em 0px 0px; max-width: 26.5em; padding: 0px; width: 436.71875px;">
<li style="font-family: 'Open Sans', sans-serif; line-height: 1.35em; list-style-type: none; margin-bottom: 0.9em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"><u><b>Default.aspx</b></u></li>
<li style="list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: left;"><span style="font-family: Open Sans, sans-serif;"><span style="line-height: 1.35em;">Here I Take Some Asp </span><span style="line-height: 21.59375px;">controls</span><span style="line-height: 1.35em;"> in a single div and add a button to start the animation.</span></span></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMoMzJwuvWb2SLbv1BQ68-mYmdJ174jZ8dw3GXF8-Q_s5e2HPYYFAJA1yajYPQi_BY4cYqckImLvqUmwQSpTcBTchQv2Vu8dInKIXquQatSwUuGFxJzFAufv94E7a2EC0cTvDR49QXrpv8/s1600/Untitled.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMoMzJwuvWb2SLbv1BQ68-mYmdJ174jZ8dw3GXF8-Q_s5e2HPYYFAJA1yajYPQi_BY4cYqckImLvqUmwQSpTcBTchQv2Vu8dInKIXquQatSwUuGFxJzFAufv94E7a2EC0cTvDR49QXrpv8/s1600/Untitled.png" height="125" width="400" /></a></div>
<div style="text-align: justify;">
<span style="font-family: Open Sans, sans-serif;"><span style="line-height: 21.59375px;"><b><br /></b></span></span></div>
<ul style="margin: 0.6em 0px 0px; max-width: 26.5em; padding: 0px; width: 436.71875px;">
<li style="list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><span style="line-height: 1.35em;"><!DOCTYPE html></span></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><span style="line-height: 1.35em;"><html xmlns="http://www.w3.org/1999/xhtml"></span></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><head runat="server"></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"> <title></title></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"> <link rel="stylesheet" href="Css/style2.css" media="screen" type="text/css" /></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"> <span style="line-height: 1.35em;"></head></span></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><body ></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"> <form id="form1" runat="server"></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"> <div style="background-color: #0099FF"></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"> <span style="line-height: 1.35em;"> <asp:DropDownList ID="DropDownList1" runat="server"></span></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"> </asp:DropDownList></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"> <asp:DropDownList ID="DropDownList2" runat="server"></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"> </asp:DropDownList></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"> <asp:DropDownList ID="DropDownList3" runat="server"></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"> </asp:DropDownList></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"> <asp:DropDownList ID="DropDownList4" runat="server"></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"> </asp:DropDownList></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"> <span style="line-height: 1.35em;"> <br /></span></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"> <span style="line-height: 1.35em;"> </span><span style="line-height: 1.35em;"> </div></span></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><span style="line-height: 1.35em;"><asp:Button ID="Button1" runat="server" Text="Button" Height="78px" Width="157px" /></span></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><script src='http://codepen.io/assets/libs/fullpage/jquery.js'></script></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><script src='http://julian.com/research/velocity/build/jquery.velocity.min.js'></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"></script></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><script src='http://julian.com/research/velocity/build/velocity.ui.js'></script></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><span style="line-height: 1.35em;"> <script src="js/index.js"></script></span></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"> <span style="line-height: 1.35em;"> </form></span></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"></body></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"></html></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><b style="line-height: 1.35em;"><u>Index.js</u></b></li>
<li style="font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.35em; list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><b>Here i add the jquery file to animate the div</b></li>
<li style="list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><span style="font-family: Open Sans, sans-serif;"><span style="line-height: 21.59375px;"></span></span></li>
<li style="list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><span style="font-family: Open Sans, sans-serif;">$("div").velocity("transition.bounceLeftIn");</span></li>
<li style="list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><span style="font-family: Open Sans, sans-serif;">(</span></li>
<li style="list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><span style="font-family: Open Sans, sans-serif;"> { </span></li>
<li style="list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><span style="font-family: Open Sans, sans-serif;"> scale: 0</span></li>
<li style="list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><span style="font-family: Open Sans, sans-serif;"> },</span></li>
<li style="list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><span style="font-family: Open Sans, sans-serif;"> { </span></li>
<li style="list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><span style="font-family: Open Sans, sans-serif;"> duration: 800,</span></li>
<li style="list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><span style="font-family: Open Sans, sans-serif;"> display: "none"</span></li>
<li style="list-style-type: none; margin: 0px 0px 0.9em; padding: 0px; text-align: justify;"><span style="font-family: Open Sans, sans-serif;"> });</span></li>
</ul>
<ul style="margin: 0.6em 0px 0px; max-width: 26.5em; padding: 0px; text-align: left; width: 436.71875px;">
<li style="list-style-type: none; margin: 0px 0px 0.9em; padding: 0px;"><h3 class="descriptionHeader" style="color: #424143; font-size: 1em; line-height: inherit; margin: 0em 0em 0.3em; padding: 0px; text-align: justify;">
</h3>
</li>
</ul>
</div>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-39622401474662323062014-08-30T23:46:00.001-07:002014-10-22T03:30:31.716-07:00Multiple Files Upload By Using JQuery<div dir="ltr" style="text-align: left;" trbidi="on">
<h3 style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;">How Upload Multiple Files By Help of JQuery</span></h3>
<div class="MsoNormal">
<span style="background: white; color: #2c3e50; font-family: "Helvetica","sans-serif"; font-size: 11.5pt; line-height: 115%;">Source:</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; line-height: 115%;"><o:p></o:p></span></div>
<pre style="background: whitesmoke; line-height: 15.75pt; margin-bottom: 7.9pt; word-break: break-all;"><span class="pln"><span style="border: 1pt none windowtext; font-family: Consolas; padding: 0in;">$</span></span><span class="pun"><span style="border: none windowtext 1.0pt; color: #666600; font-family: Consolas; mso-border-alt: none windowtext 0in; padding: 0in;">(</span></span><span class="str"><span style="border: none windowtext 1.0pt; color: #008800; font-family: Consolas; mso-border-alt: none windowtext 0in; padding: 0in;">"#multipleupload"</span></span><span class="pun"><span style="border: none windowtext 1.0pt; color: #666600; font-family: Consolas; mso-border-alt: none windowtext 0in; padding: 0in;">).</span></span><span class="pln"><span style="border: 1pt none windowtext; font-family: Consolas; padding: 0in;">uploadFile</span></span><span class="pun"><span style="border: none windowtext 1.0pt; color: #666600; font-family: Consolas; mso-border-alt: none windowtext 0in; padding: 0in;">({</span></span><span class="pln"><span style="border: 1pt none windowtext; font-family: Consolas; padding: 0in;"><o:p></o:p></span></span></pre>
<pre style="background: whitesmoke; line-height: 15.75pt; margin-bottom: 7.9pt; word-break: break-all;"><span class="pln"><span style="border: 1pt none windowtext; font-family: Consolas; padding: 0in;">url</span></span><span class="pun"><span style="border: none windowtext 1.0pt; color: #666600; font-family: Consolas; mso-border-alt: none windowtext 0in; padding: 0in;">:</span></span><span class="str"><span style="border: none windowtext 1.0pt; color: #008800; font-family: Consolas; mso-border-alt: none windowtext 0in; padding: 0in;">"http://hayageek.com/examples/jquery/ajax-multiple-file-upload/upload.php"</span></span><span class="pun"><span style="border: none windowtext 1.0pt; color: #666600; font-family: Consolas; mso-border-alt: none windowtext 0in; padding: 0in;">,</span></span><span class="pln"><span style="border: 1pt none windowtext; font-family: Consolas; padding: 0in;"><o:p></o:p></span></span></pre>
<pre style="background: whitesmoke; line-height: 15.75pt; margin-bottom: 7.9pt; word-break: break-all;"><span class="pln"><span style="border: 1pt none windowtext; font-family: Consolas; padding: 0in;">multiple</span></span><span class="pun"><span style="border: none windowtext 1.0pt; color: #666600; font-family: Consolas; mso-border-alt: none windowtext 0in; padding: 0in;">:</span></span><span class="kwd"><span style="border: none windowtext 1.0pt; color: #000088; font-family: Consolas; mso-border-alt: none windowtext 0in; padding: 0in;">true</span></span><span class="pun"><span style="border: none windowtext 1.0pt; color: #666600; font-family: Consolas; mso-border-alt: none windowtext 0in; padding: 0in;">,</span></span><span class="pln"><span style="border: 1pt none windowtext; font-family: Consolas; padding: 0in;"><o:p></o:p></span></span></pre>
<pre style="background: whitesmoke; line-height: 15.75pt; margin-bottom: 7.9pt; word-break: break-all;"><span class="pln"><span style="border: 1pt none windowtext; font-family: Consolas; padding: 0in;">fileName</span></span><span class="pun"><span style="border: none windowtext 1.0pt; color: #666600; font-family: Consolas; mso-border-alt: none windowtext 0in; padding: 0in;">:</span></span><span class="str"><span style="border: none windowtext 1.0pt; color: #008800; font-family: Consolas; mso-border-alt: none windowtext 0in; padding: 0in;">"myfile"</span></span><span class="pln"><span style="border: 1pt none windowtext; font-family: Consolas; padding: 0in;"><o:p></o:p></span></span></pre>
<br />
<pre style="background: whitesmoke; line-height: 15.75pt; margin-bottom: 7.9pt; word-break: break-all;"><span class="pun"><span style="border: none windowtext 1.0pt; color: #666600; font-family: Consolas; mso-border-alt: none windowtext 0in; padding: 0in;">});</span></span><span style="color: #7b8a8b; font-family: Consolas; font-size: 10.5pt;"><o:p></o:p></span></pre>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-25820684128459726872014-08-30T23:38:00.004-07:002014-09-25T04:58:54.950-07:00File Upload By JQuery<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="background: white; border-bottom: solid #EEEEEE 1.0pt; border: none; mso-border-bottom-alt: solid #EEEEEE .75pt; mso-element: para-border-div; padding: 0in 0in 0in 0in;">
<h2 style="background-position: initial initial; background-repeat: initial initial; border: none; margin: 12pt 0in 11.25pt; padding: 0in;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: large;">How to start uploads with a
button click</span><span style="color: #333333; font-family: Helvetica, sans-serif; font-size: 23pt;"><o:p></o:p></span></h2>
</div>
<div style="background: white; margin-bottom: 11.25pt; margin-left: 0in; margin-right: 0in; margin-top: 11.25pt;">
<span style="color: #333333; font-family: "Helvetica","sans-serif"; font-size: 11.5pt;"> we can start uploads files on
the click of a button <o:p></o:p></span></div>
<br />
<div style="background: #F8F8F8; border: solid #DDDDDD 1.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-element: para-border-div; padding: 5.0pt 8.0pt 5.0pt 8.0pt;">
<pre style="background-position: initial initial; background-repeat: initial initial; border: none; line-height: 14.25pt; margin: 11.25pt 0in; padding: 0in;"><span class="nx"><span style="color: #333333; font-family: Consolas;">$</span></span><span class="p"><span style="color: #333333; font-family: Consolas;">(</span></span><span class="kd"><b><span style="color: #333333; font-family: Consolas;">function</span></b></span><span style="color: #333333; font-family: Consolas;"> <span class="p">()</span> <span class="p">{</span><o:p></o:p></span></pre>
<pre style="background-position: initial initial; background-repeat: initial initial; border: none; line-height: 14.25pt; margin: 11.25pt 0in; padding: 0in;"><span style="color: #333333; font-family: Consolas;"> <span class="nx">$</span><span class="p">(</span></span><span class="s1"><span style="color: #dd1144; font-family: Consolas;">'#fileupload'</span></span><span class="p"><span style="color: #333333; font-family: Consolas;">).</span></span><span class="nx"><span style="color: #333333; font-family: Consolas;">fileupload</span></span><span class="p"><span style="color: #333333; font-family: Consolas;">({</span></span><span style="color: #333333; font-family: Consolas;"><o:p></o:p></span></pre>
<pre style="background-position: initial initial; background-repeat: initial initial; border: none; line-height: 14.25pt; margin: 11.25pt 0in; padding: 0in;"><span style="color: #333333; font-family: Consolas;"> <span class="nx">dataType</span><span class="o"><b>:</b></span> </span><span class="s1"><span style="color: #dd1144; font-family: Consolas;">'json'</span></span><span class="p"><span style="color: #333333; font-family: Consolas;">,</span></span><span style="color: #333333; font-family: Consolas;"><o:p></o:p></span></pre>
<pre style="background-position: initial initial; background-repeat: initial initial; border: none; line-height: 14.25pt; margin: 11.25pt 0in; padding: 0in;"><span style="color: #333333; font-family: Consolas;"> <span class="nx">add</span><span class="o"><b>:</b></span> <span class="kd"><b>function</b></span> <span class="p">(</span><span class="nx">e</span><span class="p">,</span> <span class="nx">data</span><span class="p">)</span> <span class="p">{</span><o:p></o:p></span></pre>
<pre style="background-position: initial initial; background-repeat: initial initial; border: none; line-height: 14.25pt; margin: 11.25pt 0in; padding: 0in;"><span style="color: #333333; font-family: Consolas;"> <span class="nx">data</span><span class="p">.</span><span class="nx">context</span> <span class="o"><b>=</b></span> <span class="nx">$</span><span class="p">(</span></span><span class="s1"><span style="color: #dd1144; font-family: Consolas;">'<button/>'</span></span><span class="p"><span style="color: #333333; font-family: Consolas;">).</span></span><span class="nx"><span style="color: #333333; font-family: Consolas;">text</span></span><span class="p"><span style="color: #333333; font-family: Consolas;">(</span></span><span class="s1"><span style="color: #dd1144; font-family: Consolas;">'Upload'</span></span><span class="p"><span style="color: #333333; font-family: Consolas;">)</span></span><span style="color: #333333; font-family: Consolas;"><o:p></o:p></span></pre>
<pre style="background-position: initial initial; background-repeat: initial initial; border: none; line-height: 14.25pt; margin: 11.25pt 0in; padding: 0in;"><span style="color: #333333; font-family: Consolas;"> <span class="p">.</span><span class="nx">appendTo</span><span class="p">(</span></span><span class="nb"><span style="color: #0086b3; font-family: Consolas;">document</span></span><span class="p"><span style="color: #333333; font-family: Consolas;">.</span></span><span class="nx"><span style="color: #333333; font-family: Consolas;">body</span></span><span class="p"><span style="color: #333333; font-family: Consolas;">)</span></span><span style="color: #333333; font-family: Consolas;"><o:p></o:p></span></pre>
<pre style="background-position: initial initial; background-repeat: initial initial; border: none; line-height: 14.25pt; margin: 11.25pt 0in; padding: 0in;"><span style="color: #333333; font-family: Consolas;"> <span class="p">.</span><span class="nx">click</span><span class="p">(</span><span class="kd"><b>function</b></span> <span class="p">()</span> <span class="p">{</span><o:p></o:p></span></pre>
<pre style="background-position: initial initial; background-repeat: initial initial; border: none; line-height: 14.25pt; margin: 11.25pt 0in; padding: 0in;"><span style="color: #333333; font-family: Consolas;"> <span class="nx">data</span><span class="p">.</span><span class="nx">context</span> <span class="o"><b>=</b></span> <span class="nx">$</span><span class="p">(</span></span><span class="s1"><span style="color: #dd1144; font-family: Consolas;">'<p/>'</span></span><span class="p"><span style="color: #333333; font-family: Consolas;">).</span></span><span class="nx"><span style="color: #333333; font-family: Consolas;">text</span></span><span class="p"><span style="color: #333333; font-family: Consolas;">(</span></span><span class="s1"><span style="color: #dd1144; font-family: Consolas;">'Uploading...'</span></span><span class="p"><span style="color: #333333; font-family: Consolas;">).</span></span><span class="nx"><span style="color: #333333; font-family: Consolas;">replaceAll</span></span><span class="p"><span style="color: #333333; font-family: Consolas;">(</span></span><span class="nx"><span style="color: #333333; font-family: Consolas;">$</span></span><span class="p"><span style="color: #333333; font-family: Consolas;">(</span></span><span class="k"><b><span style="color: #333333; font-family: Consolas;">this</span></b></span><span class="p"><span style="color: #333333; font-family: Consolas;">));</span></span><span style="color: #333333; font-family: Consolas;"><o:p></o:p></span></pre>
<pre style="background-position: initial initial; background-repeat: initial initial; border: none; line-height: 14.25pt; margin: 11.25pt 0in; padding: 0in;"><span style="color: #333333; font-family: Consolas;"> <span class="nx">data</span><span class="p">.</span><span class="nx">submit</span><span class="p">();</span><o:p></o:p></span></pre>
<pre style="background-position: initial initial; background-repeat: initial initial; border: none; line-height: 14.25pt; margin: 11.25pt 0in; padding: 0in;"><span style="color: #333333; font-family: Consolas;"> <span class="p">});</span><o:p></o:p></span></pre>
<pre style="background-position: initial initial; background-repeat: initial initial; border: none; line-height: 14.25pt; margin: 11.25pt 0in; padding: 0in;"><span style="color: #333333; font-family: Consolas;"> <span class="p">},</span><o:p></o:p></span></pre>
<pre style="background-position: initial initial; background-repeat: initial initial; border: none; line-height: 14.25pt; margin: 11.25pt 0in; padding: 0in;"><span style="color: #333333; font-family: Consolas;"> <span class="nx">done</span><span class="o"><b>:</b></span> <span class="kd"><b>function</b></span> <span class="p">(</span><span class="nx">e</span><span class="p">,</span> <span class="nx">data</span><span class="p">)</span> <span class="p">{</span><o:p></o:p></span></pre>
<pre style="background-position: initial initial; background-repeat: initial initial; border: none; line-height: 14.25pt; margin: 11.25pt 0in; padding: 0in;"><span style="color: #333333; font-family: Consolas;"> <span class="nx">data</span><span class="p">.</span><span class="nx">context</span><span class="p">.</span><span class="nx">text</span><span class="p">(</span></span><span class="s1"><span style="color: #dd1144; font-family: Consolas;">'Upload finished.'</span></span><span class="p"><span style="color: #333333; font-family: Consolas;">);</span></span><span style="color: #333333; font-family: Consolas;"><o:p></o:p></span></pre>
<pre style="background-position: initial initial; background-repeat: initial initial; border: none; line-height: 14.25pt; margin: 11.25pt 0in; padding: 0in;"><span style="color: #333333; font-family: Consolas;"> <span class="p">}</span><o:p></o:p></span></pre>
<pre style="background-position: initial initial; background-repeat: initial initial; border: none; line-height: 14.25pt; margin: 11.25pt 0in; padding: 0in;"><span style="color: #333333; font-family: Consolas;"> <span class="p">});</span><o:p></o:p></span></pre>
<pre style="background-position: initial initial; background-repeat: initial initial; border: none; line-height: 14.25pt; margin: 11.25pt 0in; padding: 0in;"><span class="p"><span style="color: #333333; font-family: Consolas;">});</span></span><span style="color: #333333; font-family: Consolas;"><o:p></o:p></span></pre>
</div>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0tag:blogger.com,1999:blog-6523619093234136948.post-64281905640611298232014-08-30T23:13:00.002-07:002014-09-25T05:23:40.775-07:003 Tire Architecture.<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal" style="background-color: white; background-position: initial initial; background-repeat: initial initial;">
<div style="text-align: left;">
<div class="MsoNormal">
<span style="line-height: 115%;"><span style="font-family: Arial, Helvetica, sans-serif;"><b>3-Tier architecture</b> is a very well know
buzz word in the world of software development whether it web based or desktop
based. In this article I am going to show how to design a web application based
on 3-tier architecture.<o:p></o:p></span></span></div>
<span class="articleparagraphtitle" style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: #157edd; line-height: 115%;">Introduction</span></b></span><span class="apple-converted-space" style="font-family: Arial, Helvetica, sans-serif;"><b><span style="color: #157edd; line-height: 115%;"> </span></b></span><br />
<div class="MsoNormal">
<span style="line-height: 115%;"><span style="font-family: Arial, Helvetica, sans-serif;">3-Tier architecture generally contains UI or Presentation Layer, Business
Access Layer (BAL) or Business Logic Layer and Data Access Layer (DAL).<span class="apple-converted-space"> </span><br />
<br />
<b>Presentation Layer (UI)</b><span class="apple-converted-space"> </span><br />
Presentation layer cotains pages like .aspx or windows form where data is
presented to the user or input is taken from the user.<span class="apple-converted-space"> </span><br />
<br />
<b>Business Access Layer (BAL) or Business Logic Layer<span class="apple-converted-space"> </span></b><br />
BAL contains business logic, validations or calculations related with the data,
if needed. I will call it Business Access Layer in my demo.<span class="apple-converted-space"> </span><br />
<br />
<b>Data Access Layer (DAL)</b><span class="apple-converted-space"> </span><br />
DAL contains methods that helps business layer to connect the data and perform
required action, might be returning data or manipulating data (insert, update,
delete etc). For this demo application, I have taken a very simple example. I
am assuming that I have to play with record of persons (FirstName, LastName,
Age) and I will refer only these data through out this article.</span><span class="apple-converted-space"><span style="font-family: Arial, Helvetica, sans-serif;"> </span><span style="font-family: Verdana, sans-serif; font-size: 10pt;"><o:p></o:p></span></span></span></div>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: large;"><span style="border-bottom-color: windowtext; border-bottom-style: none; border-bottom-width: 1pt; border-left-color: windowtext; border-left-style: none; border-left-width: 1pt; border-right-color: windowtext; border-right-style: none; border-right-width: 1pt; border-top-color: windowtext; border-top-style: none; border-top-width: 1pt; color: #111111; padding-bottom: 0in; padding-left: 0in; padding-right: 0in; padding-top: 0in;"><a href="https://www.blogger.com/blogger.g?blogID=6523619093234136948" name="Tier_and_Layer_Relationship">What is Tier
and Layer</a></span><span style="color: #111111;"> ?<b><o:p></o:p></b></span></span></div>
</div>
<div style="text-align: left;">
<div style="text-align: justify;">
<div style="text-align: left;">
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal;"><span style="color: #111111;">Here I Will explain what is Tire and Layer</span><span style="color: #111111;">. </span><span style="color: #111111;"> we need to clarify the difference between two </span><span style="color: #111111;">terms </span><span style="color: #111111;">in N-Tier architecture Tier and Layer. Tier usually means the physical deployment computer.
Usually an individual running server is one tier. Several servers may also be
counted as one tier, such as server fail-over clustering. By contrast, layer
usually means logic software component group mainly by functionality layer is
used for software development purpose. Layer software implementation has many
advantages and is a good way to achieve N-Tier architecture. Layer and tier may
or may not exactly match each other. Each layer may run in an individual tier.
However, multiple layers may also be able to run in one tier. </span></span></div>
</div>
</div>
</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<span style="color: #111111;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: large;"><b>T</b>ire:</span></span></div>
<div style="text-align: left;">
<span style="background-color: white; color: #111111; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: normal; line-height: 115%;">It indicates a physical separation of components, which may mean different
assemblies such as DLL, EXE, etc. </span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLWl6ESxkAbTNE59tZK2ugFJSLKbv0ZrW-O7Lsh9-P2U51_B-WXsvsYnvMQFmPdr_Sd39SLQXhTVT_bVbON1_IpLeNuuidWqRjYDTZVMlV1PFoH82uXWnsBeThTM-lJCGYWxxCLh1L8Aij/s1600/Untitled.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLWl6ESxkAbTNE59tZK2ugFJSLKbv0ZrW-O7Lsh9-P2U51_B-WXsvsYnvMQFmPdr_Sd39SLQXhTVT_bVbON1_IpLeNuuidWqRjYDTZVMlV1PFoH82uXWnsBeThTM-lJCGYWxxCLh1L8Aij/s1600/Untitled.png" height="110" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLWl6ESxkAbTNE59tZK2ugFJSLKbv0ZrW-O7Lsh9-P2U51_B-WXsvsYnvMQFmPdr_Sd39SLQXhTVT_bVbON1_IpLeNuuidWqRjYDTZVMlV1PFoH82uXWnsBeThTM-lJCGYWxxCLh1L8Aij/s1600/Untitled.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-weight: bold;">Layer:</span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-weight: normal;"><span class="Apple-style-span" style="font-size: small;">It </span><span style="background-color: white; color: #111111; line-height: 115%;"><span class="Apple-style-span" style="font-size: small;">indicates a physical separation of components, which may mean different
assemblies such as DLL, EXE, etc. on the same server or multiple servers</span>.</span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjx1628oZXcvwnD-xlLu0ry4RQfoPZinoJkQx_yPMGlDJCZzqH1dGbNaVhybpcFW5fts1FqLz0oqXydzOcXwJyhjvlclzV230SuaXJoYjcQzOLnamBmG-eSTexOgZldTI947ERL4phv6Olg/s1600/Untitled.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjx1628oZXcvwnD-xlLu0ry4RQfoPZinoJkQx_yPMGlDJCZzqH1dGbNaVhybpcFW5fts1FqLz0oqXydzOcXwJyhjvlclzV230SuaXJoYjcQzOLnamBmG-eSTexOgZldTI947ERL4phv6Olg/s1600/Untitled.png" height="147" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiabznxwH7qSAJQ2CtoZOQUAQSJVFKihYe3FPQ6cXzHZLYMudm0UdTgyI2fp-TjH0T6m7x5uR1UJCIBJw6hqgrO7-x3jFSN-xlfaKSP0kF69yVDx5uGiJA5LLBGFV1YdiKdTzN1geZ-OEz/s1600/Untitled.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiabznxwH7qSAJQ2CtoZOQUAQSJVFKihYe3FPQ6cXzHZLYMudm0UdTgyI2fp-TjH0T6m7x5uR1UJCIBJw6hqgrO7-x3jFSN-xlfaKSP0kF69yVDx5uGiJA5LLBGFV1YdiKdTzN1geZ-OEz/s1600/Untitled.png" height="150" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><span style="font-size: 16pt; line-height: 115%;">By using 3-Tier architecture in your project you can achive<span class="apple-converted-space"> </span><br />
</span></b><span style="line-height: 115%;"><br />
1. Seperation - the functionality is seperated from the data access and
presentation so that it is more maintainable<span class="apple-converted-space"> </span><br />
2. Independence - layers are established so that if one is modified (to some
extent) it will not affect other layers.<span class="apple-converted-space"> </span><br />
3. Reusability - As the layers are seperated, it can exist as a module that can
be reused by other application by referencing it.<span class="apple-converted-space"> </span><br />
<br />
Hope this article helped you understanding 3-Tier architecture and desiging it.</span></span></div>
</div>
Anonymoushttp://www.blogger.com/profile/00131972372538591507noreply@blogger.com0