<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-143442133645430978</id><updated>2026-10-17T16:54:38.148-07:00</updated><category term="Sqlserver"/><title type='text'>Asp .Net ,Jquery ,WebService,SQL Server</title><subtitle type='html'>Click &lt;a href=&quot;http://www.codebytopic.com&quot;&gt;&#xa;here for Angular JS&lt;/a&gt;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>55</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-1838456559377126692</id><published>2013-12-27T00:26:00.002-08:00</published><updated>2014-01-10T22:09:38.926-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sqlserver"/><title type='text'>SQL SERVER Query</title><content type='html'>&lt;div class=&quot;code_input&quot;&gt;
    select max(a) from &lt;br /&gt;
    (&lt;br /&gt;
    Select &lt;br /&gt;
    (&lt;br /&gt;
    &amp;nbsp; SELECT Max(v) &lt;br /&gt;
    &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM (VALUES (Theatre), (ClassRoom), (UShape),(Cabaret),(&lt;br /&gt;
    &lt;div dir=&quot;ltr&quot;&gt;
    &lt;wbr&gt;&lt;/wbr&gt;DinnerDance),(Reception))&lt;br /&gt;
    &amp;nbsp;&amp;nbsp; AS value(v))as a&lt;br /&gt;
    FROM PropertyMeetingRoom&lt;br /&gt;
)t&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/1838456559377126692/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2013/12/sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/1838456559377126692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/1838456559377126692'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2013/12/sql-server.html' title='SQL SERVER Query'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-8494484554114540753</id><published>2013-06-10T02:11:00.002-07:00</published><updated>2014-01-10T22:35:02.365-08:00</updated><title type='text'>How to check string is number or not in C#</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp;Some time we have required to check the value of string is Number or not if it no then offcourse&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; our&amp;nbsp;&amp;nbsp; task on these like sum, avg, max etc etc but somehow it contain string value is not Numeric then its panic . Then what is the solution&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Simply check the no if it is numeric then perform the action other wise no action performed.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Below is the simple example .&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
there are a method in C# which check the datavalue. Method name is TryParse&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
it returns always boolean value.&amp;nbsp; &lt;/div&gt;
&lt;br /&gt;
Solution :&lt;br /&gt;
&lt;div class=&quot;code_input&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue; font-size: small;&quot;&gt;string&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; strValue = &quot;ABC&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: small;&quot;&gt;double&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; Num;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: small;&quot;&gt;bool&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; isNum = &lt;span style=&quot;color: blue;&quot;&gt;double&lt;/span&gt;.TryParse(Str, &lt;span style=&quot;color: blue;&quot;&gt;out&lt;/span&gt; Num); // out parameter are used &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: small;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; (isNum)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: teal; font-size: small;&quot;&gt;Response.Write&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;(Num.ToString());&amp;nbsp; // you use here your label id or other thing &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: small;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: teal; font-size: small;&quot;&gt;Response.Write&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;(&lt;span style=&quot;color: maroon;&quot;&gt;&quot;Invalid number&quot;&lt;/span&gt;); &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; // you use here your label id or other thing&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/8494484554114540753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2013/06/how-to-check-string-is-number-or-not-in.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/8494484554114540753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/8494484554114540753'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2013/06/how-to-check-string-is-number-or-not-in.html' title='How to check string is number or not in C#'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-4682343250284383422</id><published>2013-05-31T04:49:00.000-07:00</published><updated>2014-01-10T22:32:21.448-08:00</updated><title type='text'>How to get all table name dependent on any column in SQl Server</title><content type='html'>&lt;div class=&quot;code_input&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Query for this is&lt;br /&gt;
&lt;br /&gt;
SELECT o.Name as Table_Name , c.Name as Field_Name, t.Name as Data_Type&lt;br /&gt;
, t.length as Length_Size&lt;br /&gt;
FROM syscolumns c &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INNER JOIN sysobjects o ON o.id = c.id&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEFT JOIN&amp;nbsp; systypes t on t.xtype = c.xtype&amp;nbsp; &lt;br /&gt;
WHERE o.type = &#39;U&#39;&amp;nbsp; and c.name like &#39;%&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;b&gt;country&lt;/b&gt;&lt;/span&gt;%&#39;&lt;br /&gt;
ORDER BY o.Name, c.Name&lt;br /&gt;
&lt;br /&gt;
here red color name is your required column name .&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/4682343250284383422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2013/05/how-to-get-all-table-name-dependent-on.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/4682343250284383422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/4682343250284383422'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2013/05/how-to-get-all-table-name-dependent-on.html' title='How to get all table name dependent on any column in SQl Server'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-9036002010457614446</id><published>2013-03-07T05:53:00.001-08:00</published><updated>2013-11-21T02:02:22.360-08:00</updated><title type='text'>Select Query in  SQL Server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Hi all&lt;br /&gt;
I have a Question for&amp;nbsp;&amp;nbsp; you .&lt;br /&gt;
I have one table with two columns a and b&lt;br /&gt;
like this&lt;br /&gt;
Create table&amp;nbsp; test(&lt;br /&gt;
a varchar(10),&lt;br /&gt;
b varchar(10)&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
After that i execute a query&lt;br /&gt;
&lt;br /&gt;
select&amp;nbsp; a b&amp;nbsp; from test&lt;br /&gt;
&lt;br /&gt;
Then my question is &amp;nbsp; what will be&amp;nbsp; the output of this simple query .&lt;br /&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/9036002010457614446/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2013/03/select-query-in-sql-server.html#comment-form' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/9036002010457614446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/9036002010457614446'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2013/03/select-query-in-sql-server.html' title='Select Query in  SQL Server'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-4688532347568811583</id><published>2013-01-18T04:56:00.000-08:00</published><updated>2013-11-21T04:23:11.964-08:00</updated><title type='text'>Difference between === and == in javascript</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
if(1==&quot;1&quot;)&lt;br /&gt;
{ &lt;br /&gt;
alert(&quot;hello&quot;);&lt;br /&gt;
}else&lt;br /&gt;
{&lt;br /&gt;
alert(&quot;hi&quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Some time question arises that what is the output.&lt;br /&gt;
what you think about this ?&lt;br /&gt;
of course your answer is hello .&lt;br /&gt;
But now can you guess what is the result of following code&lt;br /&gt;
&lt;br /&gt;
if(1===&quot;1&quot;)&lt;br /&gt;
{ &lt;br /&gt;
&lt;br /&gt;
alert(&quot;hello&quot;);&lt;br /&gt;
}else&lt;br /&gt;
{&lt;br /&gt;
alert(&quot;hi&quot;);&lt;br /&gt;
}&lt;br /&gt;
bit confusing .&lt;br /&gt;
answer is hi .&lt;br /&gt;
It is becuase the expreesion === to compare &lt;b&gt;datatype&lt;/b&gt; as well as value . &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/4688532347568811583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2013/01/difference-between-and-in-javascript.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/4688532347568811583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/4688532347568811583'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2013/01/difference-between-and-in-javascript.html' title='Difference between === and == in javascript'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-4009980257946230741</id><published>2012-12-17T22:29:00.003-08:00</published><updated>2012-12-17T22:32:27.632-08:00</updated><title type='text'>How to start Visual Studio from run prompt</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Hi&amp;nbsp; friends some time question arise that how to open visual studio from run command so there are the solution.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;there are some simple step to complete this task&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #741b47; font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Step -1&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;open the run prompt like this&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Start-&amp;gt;Programs-&amp;gt;Run&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;or&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;press&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;window logo + R&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;then below pop up open&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBVCho-mIw71C-WWG74izegNutXept8CpVNuVq05tKq2Q5qJZR5q-N5PRuHLhgw34ezQqSFwsIEVDmvXxx5ZuuLnondsepvu17cohxPXX7n1Bh1xlceJ3Kx7YbYQNoZ0OMRhjA01cDoOHi/s1600/run.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBVCho-mIw71C-WWG74izegNutXept8CpVNuVq05tKq2Q5qJZR5q-N5PRuHLhgw34ezQqSFwsIEVDmvXxx5ZuuLnondsepvu17cohxPXX7n1Bh1xlceJ3Kx7YbYQNoZ0OMRhjA01cDoOHi/s1600/run.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b style=&quot;color: #741b47;&quot;&gt;Step -2&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;after that type on this run prompt&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;devenv&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;or&lt;br /&gt;&lt;b&gt;devenv /nosplash&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;b style=&quot;color: #741b47;&quot;&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;after that press enter. then your visual studio open .&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;there are difference in both keyword&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;devenv&lt;/span&gt; &lt;/span&gt;&lt;/b&gt;for Opens Visual Studio&amp;nbsp; With Splash Screen.&lt;br /&gt;&amp;nbsp;&lt;b style=&quot;color: black;&quot;&gt;devenv /nosplash &lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;for&lt;/span&gt;&lt;b style=&quot;color: black;&quot;&gt; &lt;/b&gt;Opens Visual Studio&amp;nbsp; Without Splash Screen.&lt;span style=&quot;color: #741b47;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;now the question arise that what is Splash screen&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;when you type only devenv on run prompt then below screen are shown&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHsFMTB4OhEXuSTIhXhyHxcNwMwGjN1wQly5XkNyOsYW-RHqNYo4j2rrClhbLE68vlmrfAcpoRBAEnLPfnWWmarw6KtqVOhIZgMSWcDlCQCej5NAMKVBoM97Jlz10jF2mhrMBfiFq_WA9q/s1600/devenv.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;194&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHsFMTB4OhEXuSTIhXhyHxcNwMwGjN1wQly5XkNyOsYW-RHqNYo4j2rrClhbLE68vlmrfAcpoRBAEnLPfnWWmarw6KtqVOhIZgMSWcDlCQCej5NAMKVBoM97Jlz10jF2mhrMBfiFq_WA9q/s320/devenv.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: #741b47;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;if you are type &lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;color: black;&quot;&gt;devenv /nosplash&amp;nbsp; &lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;then this screen are not shown.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b style=&quot;color: black;&quot;&gt;devenv /nosplash &lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;this &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;command is faster than &lt;b&gt;devenv&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Hope this will help you .. &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;if any issue then please let me know&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Thanks&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: #660000; font-family: Arial,Helvetica,sans-serif;&quot;&gt;ROHIT KUMAR SRIVASTAVA&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/4009980257946230741/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/12/how-to-start-visual-studio-from-run.html#comment-form' title='514 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/4009980257946230741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/4009980257946230741'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/12/how-to-start-visual-studio-from-run.html' title='How to start Visual Studio from run prompt'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBVCho-mIw71C-WWG74izegNutXept8CpVNuVq05tKq2Q5qJZR5q-N5PRuHLhgw34ezQqSFwsIEVDmvXxx5ZuuLnondsepvu17cohxPXX7n1Bh1xlceJ3Kx7YbYQNoZ0OMRhjA01cDoOHi/s72-c/run.png" height="72" width="72"/><thr:total>514</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-3522821753496998356</id><published>2012-12-14T00:43:00.004-08:00</published><updated>2012-12-14T00:43:55.769-08:00</updated><title type='text'>Advantage and disadvantage of Juqery</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;color: #741b47;&quot;&gt;
&lt;b&gt;Advantage-&lt;/b&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: justify;&quot;&gt;
&lt;li&gt;Good User Experience, close to a Windows GUI&lt;/li&gt;
&lt;li&gt;Much easier to use than plain JavaScript&lt;/li&gt;
&lt;li&gt;Impressive speed &lt;/li&gt;
&lt;li&gt;Coders don’t have to worry about Browser differences&lt;/li&gt;
&lt;li&gt;Reduces Server Load as fewer round-trips&lt;/li&gt;
&lt;li&gt;Widely used, good community support&lt;/li&gt;
&lt;li&gt;Many components already developed&lt;/li&gt;
&lt;li&gt;Open Source&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;color: #741b47;&quot;&gt;
&lt;b&gt;Disadvantage-&lt;/b&gt;&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;You probably still need a Server framework for initialisation and Session management&lt;/li&gt;
&lt;li&gt;You need another app to supply your data (like a web service) written in another language (like .NET,  Java or PHP)&lt;/li&gt;
&lt;li&gt;In larger apps, slower to code than PHP or ASP.NET&lt;/li&gt;
&lt;li&gt;You need to understand CSS&lt;/li&gt;
&lt;li&gt;Can still be difficult to debug, especially if scripts interfere with each other.&lt;/li&gt;
&lt;li&gt;Source code is difficult to protect&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/3522821753496998356/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/12/advantage-and-disadvantage-of-juqery.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/3522821753496998356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/3522821753496998356'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/12/advantage-and-disadvantage-of-juqery.html' title='Advantage and disadvantage of Juqery'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-981509763236591639</id><published>2012-10-30T21:59:00.000-07:00</published><updated>2012-10-30T21:59:03.706-07:00</updated><title type='text'>Delete duplicate record in SQL SERVER</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&lt;b&gt;Question :&lt;/b&gt;- Some time the question arise that how to delete duplicate record from table ?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&lt;b&gt;Answer : &lt;/b&gt;firstly we create the table&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;CREATE TABLE tblemployee1(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [empid] int identity(1,1) NOT NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [empname] [varchar](10) NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [mgrid] [varchar](10) NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [test] [varchar](100) NULL)&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;insert some data on this&amp;nbsp; like below&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;insert into tblemployee1 values(&#39;Cherry&#39;,1,&#39;Useful&#39;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;insert into tblemployee1 values(&#39;Cherry&#39;,1,&#39;Useful&#39;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;insert into tblemployee1 values(&#39;Cherry&#39;,1,&#39;Useful&#39;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;insert into tblemployee1 values(&#39;Rohit&#39;,2,&#39;Useless&#39;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;insert into tblemployee1 values(&#39;Rohit&#39;,3,&#39;Useless&#39;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;insert into tblemployee1 values(&#39;Usertest&#39;,3,&#39;test&#39;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;insert into tblemployee1 values(&#39;Usertest&#39;,3,&#39;test&#39;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;Select * from &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;tblemployee1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;output is &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&lt;b&gt;empid&amp;nbsp;&amp;nbsp; &amp;nbsp;empname&amp;nbsp;&amp;nbsp; &amp;nbsp;mgrid&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; test&lt;/b&gt;&lt;br /&gt;1&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Cherry&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Useful&lt;br /&gt;2&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Cherry &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; 1&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Useful&lt;br /&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Cherry&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Useful&lt;br /&gt;4&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cherry&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Useful&lt;br /&gt;5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Cherry&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 1 &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; Useful&lt;br /&gt;6&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Rohit&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Useless&lt;br /&gt;7 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Rohit&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Useless&lt;br /&gt;8&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Usertest&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; test&lt;br /&gt;9 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; Usertest&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; test&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;now we waana to delete the duplicate record which is with name &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;the query is &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;;with cte as(&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;Select ROw_number() over(partition by &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&lt;b&gt;empname&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt; order by &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&lt;b&gt;empname&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;) as col ,* from &lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;tblemployee1&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;)&lt;/span&gt;&lt;br style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot; /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;delete from&amp;nbsp; cte where col&amp;gt;1&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;then the ouput is&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;b&gt;empid&amp;nbsp;&amp;nbsp;&amp;nbsp; empname&amp;nbsp;&amp;nbsp;&amp;nbsp; mgrid&amp;nbsp;&amp;nbsp;&amp;nbsp; test&lt;/b&gt;&lt;br /&gt;1&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Cherry&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Useful&lt;br /&gt;6&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Rohit&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Useless&lt;br /&gt;8 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Usertest &amp;nbsp; &amp;nbsp; &amp;nbsp; 3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; test&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;here we use the rownumber for deletion with COMMON TABULAR EXPRESSION.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;Hope this will help you&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;if any issue then please let me know&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;Thanks&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;b style=&quot;color: #990000;&quot;&gt;ROHIT KUMAR SRIVASTAVA&lt;/b&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #222222; display: inline ! important; float: none; font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/981509763236591639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/10/delete-duplicate-record-in-sql-server.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/981509763236591639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/981509763236591639'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/10/delete-duplicate-record-in-sql-server.html' title='Delete duplicate record in SQL SERVER'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-4457055333716386745</id><published>2012-10-29T03:49:00.001-07:00</published><updated>2012-10-29T03:54:33.688-07:00</updated><title type='text'>Change Color of Status Bar in SQL SERVER</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Some time when we work on multiple SQL SERVER then we are confused in which database we have to upload the data or execute the query so we are see the server name or scroll up down to check is it right server or not.&lt;br /&gt;
the best solution is if in this there are color combinatin then we are easily identfy this .&lt;br /&gt;
here is the solution in SQL SERVER 2008&lt;br /&gt;
Click on options&amp;gt;&amp;gt; then new window open &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr9cJwc5zBWiAjtDnElP9swNauTBL2VZGoZR5n0yb1gTc6IkktgtYGu_9xf-RZuvvMqkLmI3YmLk3rYrhRKxW_wwEyVOeWR99cpPY-6YFC6XEI3TyuKwv2ETiFHW5HWPhsV134-bdfuLnL/s1600/server.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;232&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr9cJwc5zBWiAjtDnElP9swNauTBL2VZGoZR5n0yb1gTc6IkktgtYGu_9xf-RZuvvMqkLmI3YmLk3rYrhRKxW_wwEyVOeWR99cpPY-6YFC6XEI3TyuKwv2ETiFHW5HWPhsV134-bdfuLnL/s400/server.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
after that click on select button then new popup open&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3-ky-gZ_BrRcBds2692bIpnS9vzm6ctlYcUefw2cpmOASRi_UpojOk9kboQIgQ6vVcK8O056hMm5ZTe_FyCtjCG09Tzx6OOUT28Psi91s8lynAdwjXS-9nAm1b5GBlmAXhtL5aaJhfZUx/s1600/serverColor.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;312&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3-ky-gZ_BrRcBds2692bIpnS9vzm6ctlYcUefw2cpmOASRi_UpojOk9kboQIgQ6vVcK8O056hMm5ZTe_FyCtjCG09Tzx6OOUT28Psi91s8lynAdwjXS-9nAm1b5GBlmAXhtL5aaJhfZUx/s400/serverColor.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
after that&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLLhwOz-UiXODEjzpUgXmCy7wIHqTfnq2xwxVzcjXsbPBSIKMtHXh2FzfdT8eiQ2DD7_6ZWKzXFry9hOH8ZKkoFkdCfsmTrzvHehQy77hpklm1ctZ6omheU-2YBiz9oK-Qe394Zu0AGdMw/s1600/server2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLLhwOz-UiXODEjzpUgXmCy7wIHqTfnq2xwxVzcjXsbPBSIKMtHXh2FzfdT8eiQ2DD7_6ZWKzXFry9hOH8ZKkoFkdCfsmTrzvHehQy77hpklm1ctZ6omheU-2YBiz9oK-Qe394Zu0AGdMw/s400/server2.png&quot; width=&quot;341&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=143442133645430978&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
after that select any color than OK .After that open the new window your task pane color is change&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsrAgfBiqmGwTyihaViWw8FwkDNOqdr0iaq053ShXIyMWPe_ia8FFX4r5682dLzOEqcBtsMollROBDVDOvT4x0BQOevsnvjZGrVr0wlvp9CC_TVYlEmLinXd5mpq-wXSnz4elgoQwyFiRT/s1600/finalResult.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;125&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsrAgfBiqmGwTyihaViWw8FwkDNOqdr0iaq053ShXIyMWPe_ia8FFX4r5682dLzOEqcBtsMollROBDVDOvT4x0BQOevsnvjZGrVr0wlvp9CC_TVYlEmLinXd5mpq-wXSnz4elgoQwyFiRT/s320/finalResult.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
You set the different color for different SQLSERVER.&lt;br /&gt;
&lt;br /&gt;
ROHIT KUMAR SRIVASTAVA&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/4457055333716386745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/10/change-color-of-status-bar-in-sql-server.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/4457055333716386745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/4457055333716386745'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/10/change-color-of-status-bar-in-sql-server.html' title='Change Color of Status Bar in SQL SERVER'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr9cJwc5zBWiAjtDnElP9swNauTBL2VZGoZR5n0yb1gTc6IkktgtYGu_9xf-RZuvvMqkLmI3YmLk3rYrhRKxW_wwEyVOeWR99cpPY-6YFC6XEI3TyuKwv2ETiFHW5HWPhsV134-bdfuLnL/s72-c/server.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-7790262819389795642</id><published>2012-10-29T03:21:00.001-07:00</published><updated>2012-10-29T03:24:25.236-07:00</updated><title type='text'>How can I quickly identify most recently modified stored procedures or table in SQL Server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
1. Select * From sys.objects where &lt;b style=&quot;color: #0b5394;&quot;&gt;type=&#39;u&#39;&lt;/b&gt; and modify_date between GETDATE()-1 and GETDATE()&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note :&amp;nbsp; &lt;/b&gt;use p for store procedure,tr for trigger and fn for function&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
2. Select * From sys.objects where &lt;b style=&quot;color: #0b5394;&quot;&gt;type=&#39;u&#39;&lt;/b&gt; order by modify_date desc&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note :&amp;nbsp; &lt;/b&gt;use p for store procedure,tr for trigger and fn for function&lt;br /&gt;
&lt;br /&gt;
you change the date accodingly in first Query&lt;br /&gt;
use type=&#39;p&#39; for storeprocedure in this Query&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ROHIT SRIVASTAVA&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/7790262819389795642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/10/how-can-i-quickly-identify-most.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/7790262819389795642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/7790262819389795642'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/10/how-can-i-quickly-identify-most.html' title='How can I quickly identify most recently modified stored procedures or table in SQL Server'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-1601687391003041848</id><published>2012-10-03T22:12:00.001-07:00</published><updated>2012-10-04T21:55:19.145-07:00</updated><title type='text'>Get the Data In List and this  list to string with LINQ in ASP.Net</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;How to get the Data In List and retrive data from this list to string with LINQ &lt;/span&gt;&lt;br style=&quot;color: #0b5394;&quot; /&gt;&lt;br style=&quot;color: #0b5394;&quot; /&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Firslty create a table from which we have to retrive data .&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
Create table category_name(&lt;br /&gt;
id tinyint IDENTITY(1,1),&lt;br /&gt;
category_name varchar(200),&lt;br /&gt;
cat_id tinyint &amp;nbsp;&amp;nbsp; &lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;and insert some value in this table .In this table we enter some category Id like 1,2,3,4,5 &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
insert into category_name&lt;br /&gt;
values(&#39;Football&#39;,1),&lt;br /&gt;
&amp;nbsp;(&#39;Cricket&#39;,1),&lt;br /&gt;
&amp;nbsp;(&#39;Rugby&#39;,1),&lt;br /&gt;
&amp;nbsp;(&#39;Hockey&#39;,1),&lt;br /&gt;
&amp;nbsp;(&#39;Tennis&#39;,1),&lt;br /&gt;
&amp;nbsp;(&#39;Polo&#39;,1),&lt;br /&gt;
&amp;nbsp;(&#39;Horse Racing&#39;,1),&lt;br /&gt;
&amp;nbsp;(&#39;Musical&#39;,2),&lt;br /&gt;
&amp;nbsp;(&#39;Ballet&#39;,2),&lt;br /&gt;
&amp;nbsp;(&#39;Classical music&#39;,2),&lt;br /&gt;
&amp;nbsp;(&#39;Opera&#39;,2),&lt;br /&gt;
&amp;nbsp;(&#39;Traditional art&#39;,4),&lt;br /&gt;
&amp;nbsp;(&#39;Modern art&#39;,4),&lt;br /&gt;
&amp;nbsp;(&#39;Historical&#39;,4),&lt;br /&gt;
&amp;nbsp;(&#39;Military&#39;,4),&lt;br /&gt;
&amp;nbsp;(&#39;Religious&#39;,4),&lt;br /&gt;
(&#39;wine&#39;,5),&lt;br /&gt;
(&#39;whiskey&#39;,5),&lt;br /&gt;
(&#39;liquor&#39;,5),&lt;br /&gt;
(&#39;Others&#39;,5),&lt;br /&gt;
(&#39;Kosher&#39;,3),&lt;br /&gt;
(&#39;Halal&#39;,3),&lt;br /&gt;
(&#39;No red meat&#39;,3),&lt;br /&gt;
(&#39;No fish&#39;,3),&lt;br /&gt;
(&#39;No shell fish&#39;,3),&lt;br /&gt;
(&#39;Dairy free&#39;,3)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;After createion and insertion in table Now we come to ASp.net code . &lt;/span&gt;&lt;br style=&quot;color: #0b5394;&quot; /&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Make a class (name DTCategory ) in App_code folder for Set the property like below &lt;/span&gt;&lt;br style=&quot;color: #0b5394;&quot; /&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;*You are free to add any name according you. I USe the DTCategory and call this everywhere where its requirement*&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
public class DTCategory&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public string CategoryName&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; { get; set; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public Int16 ID&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; { get; set; }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;we make above because we have to pass this in our list for getting more than one value .&lt;/span&gt;&lt;br style=&quot;color: #0b5394;&quot; /&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;After this add another file in your App_code folder and put method for get all category name as well as ID from database .Lets this file name is &lt;/span&gt;&lt;br style=&quot;color: #0b5394;&quot; /&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;DALGetName. &lt;/span&gt;&lt;br style=&quot;color: #0b5394;&quot; /&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Do&#39;nt forget to add common namespace like System.Collection &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br style=&quot;color: #0b5394;&quot; /&gt;
&lt;span style=&quot;color: #0b5394;&quot;&gt;put this code into DALGetName&lt;/span&gt;&lt;br /&gt;
public List&amp;lt;DTCategory&amp;gt; GetAllCategoryName()&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; List&amp;lt;DTCategory&amp;gt; lst = new List&amp;lt;DTCategory&amp;gt;();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SqlCommand cmd = new SqlCommand();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cmd.Connection = con;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cmd.CommandType = CommandType.StoredProcedure;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cmd.CommandText = &quot;proc_get_all_category_name&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; con.Open();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SqlDataReader dr = cmd.ExecuteReader();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (dr.Read())&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DTCategory dto = new DTCategory();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dto.CategoryName= Convert.ToString(dr[&quot;catergory_name&quot;]);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dto.ID = Convert.ToInt16(dr[&quot;id&quot;]);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lst.Add(dto);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch (Exception ex)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw ex;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; finally&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; con.Close();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return lst;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
=============================&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Now your Appcode work is Finish . now lets come in own aspx page where we want to retrive this with LINQ.&lt;/span&gt;&lt;br style=&quot;color: #0b5394;&quot; /&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;In above i get all the categoryname as well as Id in List . But our requirment is get the data in ID wise and bind it into DropDown List are any string . So we use the LINQ to get data &lt;/span&gt;&lt;br style=&quot;color: #0b5394;&quot; /&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;with our requirement .&lt;/span&gt;&lt;br style=&quot;color: #0b5394;&quot; /&gt;&lt;br style=&quot;color: #0b5394;&quot; /&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Firstly we have to declare this is in above the page load&lt;/span&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;. Dont forgot to add namespace System.Text&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;public string _allsports = &quot;&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public string _allarts = &quot;&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public string _allcultural = &quot;&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public string _allgastronomy = &quot;&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public string _alldietry = &quot;&quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;protected void GetAllCategoryName()&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #region /*This region is used for get the data dynamically */&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DALGetName objdalcat = new DALGetName(); // Call this method into your .cs page &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; List&amp;lt;DTCategory&amp;gt; lstCategory = new List&amp;lt;DTCategory&amp;gt;();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lstCategory = objdalcat.GetAllCategoryName();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Bind Sport&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var QuerySports = from x in lstCategory&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where x.Id== 1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select x;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StringBuilder sbSports = new StringBuilder();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (DTOContactCategoryName i in QuerySports)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sbSports.Append(&quot;&amp;lt;option value=&quot; + i.ID + &quot;&amp;gt;&quot; + i.CategoryName + &quot;&amp;lt;/option&amp;gt;&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _allsports = sbSports.ToString();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Bind Arts&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var QueryArts = from x in lstCategory&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where x.Id== 2&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select x;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StringBuilder sbArt = new StringBuilder();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (DTOContactCategoryName i in QueryArts)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sbArt.Append(&quot;&amp;lt;option value=&quot; + i.ID + &quot; &amp;gt;&quot; + i.CategoryName + &quot;&amp;lt;/option&amp;gt;&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _allarts = sbArt.ToString();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Bind Cultural&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var QueryCultural = from x in lstCategory&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where x.Id== 4&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select x;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StringBuilder sbCultural = new StringBuilder();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (DTOContactCategoryName i in QueryCultural)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sbCultural.Append(&quot;&amp;lt;option value=&quot; + i.ID + &quot; &amp;gt;&quot; + i.CategoryName + &quot;&amp;lt;/option&amp;gt;&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _allcultural = sbCultural.ToString();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Bind Gastronomy&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var QueryGastronomy = from x in lstCategory&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where x.Id== 5&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select x;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StringBuilder sbGastronomy = new StringBuilder();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (DTOContactCategoryName i in QueryGastronomy)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sbGastronomy.Append(&quot;&amp;lt;option value=&quot; + i.ID + &quot;&amp;gt;&quot; + i.CategoryName + &quot;&amp;lt;/option&amp;gt;&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _allgastronomy = sbGastronomy.ToString();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Bind Other one Category which ID is 3&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var QueryDietary = from x in lstCategory&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where x.Id== 3&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select x;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StringBuilder sbDietary = new StringBuilder();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (DTOContactCategoryName i in QueryDietary)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sbDietary.Append(&quot;&amp;lt;option value=&quot; + i.ID + &quot;&amp;gt;&quot; + i.CategoryName + &quot;&amp;lt;/option&amp;gt;&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _alldietry = sbDietary.ToString();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #endregion&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;call this method on pageload method&lt;/span&gt;&lt;br style=&quot;color: #0b5394;&quot; /&gt;&lt;br style=&quot;color: #0b5394;&quot; /&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;====================in .aspx page we have some dropdown list and we bind the data which is &lt;/span&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Bind into this .cs Page &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;select&amp;nbsp;&amp;nbsp; class=&quot;ddlOptions&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;%=_allsports %&amp;gt;&lt;br /&gt;
&amp;lt;/select&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;select&amp;nbsp;&amp;nbsp; class=&quot;ddlOptions&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;%=_allcultural %&amp;gt;&lt;br /&gt;
&amp;lt;/select&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;select&amp;nbsp;&amp;nbsp; class=&quot;ddlOptions&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;%=_allarts %&amp;gt;&lt;br /&gt;
&amp;lt;/select&amp;gt;&lt;br /&gt;
&amp;lt;select&amp;nbsp;&amp;nbsp; class=&quot;ddlOptions&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;%=_allgastronomy %&amp;gt;&lt;br /&gt;
&amp;lt;/select&amp;gt;&lt;br /&gt;
&amp;lt;select&amp;nbsp;&amp;nbsp; class=&quot;ddlOptions&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;%=_alldietry&amp;nbsp; %&amp;gt;&lt;br /&gt;
&amp;lt;/select&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #660000;&quot;&gt;Hope&amp;nbsp; this will help you . If any issue then let me know&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;color: #660000;&quot;&gt;
&lt;b&gt;Thanks&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;color: #660000;&quot;&gt;ROHIT SRIVASTAVA&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/1601687391003041848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/10/how-to-get-data-in-list-and-retrive.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/1601687391003041848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/1601687391003041848'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/10/how-to-get-data-in-list-and-retrive.html' title='Get the Data In List and this  list to string with LINQ in ASP.Net'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-3832271535220388807</id><published>2012-09-27T03:50:00.001-07:00</published><updated>2012-09-27T03:50:26.456-07:00</updated><title type='text'>Silly mistake by me in SQL SERVER </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Today I had tried to solved this bug . I have to confess that this take some extra&amp;nbsp; time by me .&lt;br /&gt;
&lt;br /&gt;The problem is i create a table name color and insert the field into them and execute this query&lt;br /&gt;
&lt;br /&gt;select * from color&lt;br /&gt;Black&lt;br /&gt;Blue&lt;br /&gt;Green&lt;br /&gt;Red&lt;br /&gt;&lt;br /&gt;After inserting some data i run this query for checking any value is available in it or not &lt;br /&gt;&lt;br /&gt;SELECT COUNT(1) color&lt;br /&gt;&lt;br /&gt;It seems good becuase i write this query very rapidally and do&amp;nbsp; not think about this create&amp;nbsp; a bug?&lt;br /&gt;&lt;br /&gt;when i run this it always return 1 . i&amp;nbsp; am afraid WTF in this . &lt;br /&gt;i spend some time on this but not able to get the error. really i think that is SQL Server corrupted or anything else . &lt;br /&gt;after frustrating i go to took a cup of tea .&lt;br /&gt;&lt;br /&gt;and when i came i suddenly saw the error there is mistake of from . i am not using from in my query .&lt;br /&gt;SELECT COUNT(1)&amp;nbsp; from color&lt;br /&gt;&lt;br /&gt;this is silly but happened with me .&lt;br /&gt;Hope this will help you .&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;color: #073763;&quot;&gt;ROHIT KUMAR SRIVASTAVA&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/3832271535220388807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/09/silly-mistake-by-me-in-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/3832271535220388807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/3832271535220388807'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/09/silly-mistake-by-me-in-sql-server.html' title='Silly mistake by me in SQL SERVER '/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-8744695228691334205</id><published>2012-09-20T02:00:00.001-07:00</published><updated>2012-09-20T02:00:06.463-07:00</updated><title type='text'>Query for getting All Primary key and other constraint in SQL SERVER</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Select * from&amp;nbsp; INFORMATION_SCHEMA.TABLE_CONSTRAINTS pk&amp;nbsp; &lt;br /&gt;&amp;nbsp; &lt;br /&gt;WHERE pk.CONSTRAINT_TYPE =&#39;PRIMARY KEY&#39;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Hope this will help you .&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #660000;&quot;&gt;ROHIT SRIVASTAVA&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/8744695228691334205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/09/query-for-getting-all-primary-key-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/8744695228691334205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/8744695228691334205'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/09/query-for-getting-all-primary-key-and.html' title='Query for getting All Primary key and other constraint in SQL SERVER'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-6397703041781625204</id><published>2012-08-30T23:28:00.000-07:00</published><updated>2012-08-30T23:28:12.609-07:00</updated><title type='text'>How to handle checkbox check uncheck event with Jquery </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;post-text&quot;&gt;
&lt;pre class=&quot;default prettyprint&quot;&gt;&lt;code&gt;&lt;span class=&quot;pln&quot;&gt;Firstly you have to load all jquery file which is required  &lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre class=&quot;default prettyprint&quot;&gt;&lt;code&gt;&lt;span class=&quot;pln&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre class=&quot;default prettyprint&quot;&gt;&lt;code&gt;&lt;span class=&quot;pln&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&#39;#myform :checkbox&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;click&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;code&gt;&lt;span class=&quot;pln&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;)&lt;/span&gt;&lt;/code&gt;&lt;code&gt;&lt;span class=&quot;pln&quot;&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;is&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot;&gt;&#39;:checked&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre class=&quot;default prettyprint&quot;&gt;&lt;code&gt;&lt;span class=&quot;pun&quot;&gt;&amp;nbsp;          &lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;com&quot;&gt;//Do your work //&lt;/span&gt;&lt;/code&gt;&lt;code&gt;&lt;span class=&quot;com&quot;&gt;here check box checked code &lt;/span&gt;&lt;/code&gt;&lt;code&gt;&lt;span class=&quot;com&quot;&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;else&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;com&quot;&gt;// Do your work // here check box unchecked code &lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;});&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/6397703041781625204/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/how-to-handle-checkbox-check-uncheck.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/6397703041781625204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/6397703041781625204'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/how-to-handle-checkbox-check-uncheck.html' title='How to handle checkbox check uncheck event with Jquery '/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-1654242940931520538</id><published>2012-08-29T01:54:00.002-07:00</published><updated>2012-08-29T01:54:59.947-07:00</updated><title type='text'>How to Call JavaScript function After a time interval with Jquery</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
use the function&amp;nbsp; setInterval() like below.&lt;br /&gt;
&amp;nbsp;setInterval(function () {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YourJavaScriptFunction();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, 300000);&lt;br /&gt;
&lt;br /&gt;
Hope this will help you&lt;br /&gt;
&lt;b style=&quot;color: #660000;&quot;&gt;ROHIT KUMAR SRIVASTAVA&lt;/b&gt; &lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/1654242940931520538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/how-to-call-javascript-function-after.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/1654242940931520538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/1654242940931520538'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/how-to-call-javascript-function-after.html' title='How to Call JavaScript function After a time interval with Jquery'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-527587543335743424</id><published>2012-08-28T23:56:00.002-07:00</published><updated>2012-08-28T23:57:10.164-07:00</updated><title type='text'>What is parsename function in SQL SERVER </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Q: What is the &lt;b style=&quot;color: #990000;&quot;&gt;parsename&lt;/b&gt;&lt;span style=&quot;color: #990000;&quot;&gt; &lt;/span&gt;function in sqlserver and what is the use of this ?&lt;br /&gt;
A:The PARSENAME string function returns the specified part of an object 
             name.&lt;br /&gt;
&amp;nbsp;The PARSENAME() function can be useful for parsing small strings.&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Detail comming soon------------ &lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/527587543335743424/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/what-is-parsename-function-in-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/527587543335743424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/527587543335743424'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/what-is-parsename-function-in-sql-server.html' title='What is parsename function in SQL SERVER '/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-5784272763819402591</id><published>2012-08-27T22:09:00.000-07:00</published><updated>2012-08-27T22:13:37.611-07:00</updated><title type='text'>Difference Between DataSet.Tables.Count()  And DataTable.Rows.Count()</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
We are aware about the DataSet and DataTable . Some time the question arise that what is difference between&amp;nbsp; DataSet.Tables.Count()&amp;nbsp; And DataTable.Rows.Count().&lt;br /&gt;
&lt;br /&gt;
The solution is given below .&lt;br /&gt;
&lt;br /&gt;
DataSet.Tables.Count()&lt;br /&gt;
-It Gives the number of tables available within a dataset&lt;br /&gt;
&lt;br /&gt;
DataTable.Rows.Count() -&lt;br /&gt;
Gives the number of rows available within a datatable.it is basically used for counting total number of rows in a table.&lt;br /&gt;
&lt;br /&gt;
Hope this will help you .&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;b style=&quot;color: #4c1130;&quot;&gt;ROHIT KUMAR SRIVASTAVA&lt;/b&gt; &lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/5784272763819402591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/difference-between-datasettablescount.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/5784272763819402591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/5784272763819402591'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/difference-between-datasettablescount.html' title='Difference Between DataSet.Tables.Count()  And DataTable.Rows.Count()'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-3858413069927825085</id><published>2012-08-27T21:44:00.005-07:00</published><updated>2012-08-27T22:13:27.225-07:00</updated><title type='text'>How to Create Identity Incremented By 2 or any no in SQL SERVER</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp;Some time we Required when we create a table then auto increment id is increment by even no any specific no .&lt;br /&gt;
&lt;br /&gt;
so the solution is here .&lt;br /&gt;
We create a table and i want its auto increment id is like 0 , 2 ,4 etc etc&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Create table &lt;/b&gt;&lt;br /&gt;
create table test 
(
id int&lt;b style=&quot;color: #20124d;&quot;&gt; &lt;span style=&quot;color: #990000;&quot;&gt;identity(0,2)&lt;/span&gt;&lt;/b&gt;,
name varchar(10)
)&lt;br /&gt;
&lt;br /&gt;
here in Red color if we increase with no 3 then its like 1,3,6 etc etc &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Select * from test&lt;br /&gt;
output&amp;nbsp; is&lt;br /&gt;
id &amp;nbsp; name&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Insert into test values(&#39;ROHIT&#39;)&lt;br /&gt;
Insert into test values(&#39;Riya&#39;)&lt;br /&gt;
Insert into test values(&#39;Immy&#39;) &lt;br /&gt;
&lt;br /&gt;
Select * from test&lt;br /&gt;
output is&lt;br /&gt;
id &amp;nbsp; name&lt;br /&gt;
0&amp;nbsp;&amp;nbsp;&amp;nbsp; ROHIT&lt;br /&gt;
2&amp;nbsp;&amp;nbsp;&amp;nbsp; Riya&lt;br /&gt;
4&amp;nbsp;&amp;nbsp;&amp;nbsp; Immy&lt;br /&gt;
&lt;br /&gt;
Hope this will help you .&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;b style=&quot;color: #4c1130;&quot;&gt;ROHIT KUMAR SRIVASTAVA&lt;/b&gt; &lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/3858413069927825085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/how-to-create-identity-incremented-by-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/3858413069927825085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/3858413069927825085'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/how-to-create-identity-incremented-by-2.html' title='How to Create Identity Incremented By 2 or any no in SQL SERVER'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-315483793191343989</id><published>2012-08-22T04:05:00.001-07:00</published><updated>2012-08-22T04:05:11.527-07:00</updated><title type='text'>Difference between 2 tier and 3 tier architecture</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Some time Question arised that what&amp;nbsp; is basic difference between 2 tier and 3 tier &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Two Tier Architecture&lt;/b&gt;: It is nothing but client server Architecture, 
where client will hit request directly to server and client will get 
response directly from server.&lt;br /&gt; &lt;br /&gt; &lt;b&gt;Three tier Architecture&lt;/b&gt;: It is 
nothing but Web Based application,here in between client and server 
middle ware will be there, if client hits a request it will go to the 
middle ware and middle ware will send to server and vise-versa.&lt;br /&gt;
&lt;br /&gt;
Hope this will help you .&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;b style=&quot;color: #4c1130;&quot;&gt;ROHIT KUMAR SRIVASTAVA&lt;/b&gt; &lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/315483793191343989/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/difference-between-2-tier-and-3-tier.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/315483793191343989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/315483793191343989'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/difference-between-2-tier-and-3-tier.html' title='Difference between 2 tier and 3 tier architecture'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-7811446873350247292</id><published>2012-08-16T21:57:00.001-07:00</published><updated>2012-08-16T21:57:32.181-07:00</updated><title type='text'>How to get only month name with SQL Server </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
declare @start DATE = &#39;2012-04-01&#39;&lt;br /&gt;declare @end DATE = &#39;2012-08-03&#39;&lt;br /&gt;&lt;br /&gt;;with months (date)&lt;br /&gt;AS&lt;br /&gt;(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT @start&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UNION ALL&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT DATEADD(month,1,date)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from months&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where DATEADD(month,1,date)&amp;lt;=@end&lt;br /&gt;)&lt;br /&gt;select Datename(month,date) from months&lt;br /&gt;
&lt;br /&gt;
Hope this will help you .&lt;br /&gt;
&lt;b style=&quot;color: #4c1130;&quot;&gt;ROHIT KUMAR SRIVASTAVA&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/7811446873350247292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/how-to-get-only-month-name-with-sql.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/7811446873350247292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/7811446873350247292'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/how-to-get-only-month-name-with-sql.html' title='How to get only month name with SQL Server '/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-4810090632651438898</id><published>2012-08-16T03:25:00.001-07:00</published><updated>2013-05-13T06:26:22.858-07:00</updated><title type='text'>Difference Between Get And Post method in ASP.Net</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;So many new programmer are confused about post and get method for send the data. In this article i discuss about this .&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b style=&quot;color: #4c1130;&quot;&gt;The first question arise that what is the get and post method &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;so many developer confused he/she said that get is used for get the data from server and post&amp;nbsp; is used for post the data in server this is totally wrong(in starting i am also said this ).&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Both Get and Post Method are form submission method.it is used for send the data from client side to server side.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #4c1130; font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;The&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt; Second Question where it is&amp;nbsp; &lt;/b&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #4c1130; font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;The method is inside the form tag like below&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #4c1130; font-family: Verdana,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;syntax is like below&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #4c1130; font-family: Verdana,sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Verdana,sans-serif; line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;form&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;method&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;get||post&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: black; font-family: Verdana,sans-serif; line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;you use single method name get or post&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Verdana,sans-serif; line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: #4c1130; font-family: Verdana,sans-serif; line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Third Question is ByDefault which method is used&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana,sans-serif; font-size: small;&quot;&gt;Ans is By default Get method are used&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana,sans-serif; font-size: small;&quot;&gt;Now we discuss these method individually&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana,sans-serif; font-size: small;&quot;&gt;What is the difference between these two method&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1pt solid windowtext; color: #783f04; padding: 0in 5.4pt; width: 239.4pt;&quot; valign=&quot;top&quot; width=&quot;319&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;GET&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;-moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-style: solid solid solid none; border-width: 1pt 1pt 1pt medium; color: #783f04; padding: 0in 5.4pt; width: 239.4pt;&quot; valign=&quot;top&quot; width=&quot;319&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;POST&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;-moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; color: #783f04; padding: 0in 5.4pt; width: 239.4pt;&quot; valign=&quot;top&quot; width=&quot;319&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Data will be arranged in HTTP header by appending to the URL as query
  string&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; color: #783f04; padding: 0in 5.4pt; width: 239.4pt;&quot; valign=&quot;top&quot; width=&quot;319&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Data will be arranged in HTTP message body.&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;-moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; color: #783f04; padding: 0in 5.4pt; width: 239.4pt;&quot; valign=&quot;top&quot; width=&quot;319&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Data is in query string so user can view the data&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; color: #783f04; padding: 0in 5.4pt; width: 239.4pt;&quot; valign=&quot;top&quot; width=&quot;319&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Data is not shown to user&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;-moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; color: #783f04; padding: 0in 5.4pt; width: 239.4pt;&quot; valign=&quot;top&quot; width=&quot;319&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Less secured compared to POST method because data is in query string so
  it will be saved in browser history and web server logs&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; color: #783f04; padding: 0in 5.4pt; width: 239.4pt;&quot; valign=&quot;top&quot; width=&quot;319&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;safer than GET method because data is not saved in history or web
  server logs.&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;-moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; color: #783f04; padding: 0in 5.4pt; width: 239.4pt;&quot; valign=&quot;top&quot; width=&quot;319&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;As data is saved in URL so its saves only 2048 bytes data&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; color: #783f04; padding: 0in 5.4pt; width: 239.4pt;&quot; valign=&quot;top&quot; width=&quot;319&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;We can used any amount of data and any format &lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;-moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; color: #783f04; padding: 0in 5.4pt; width: 239.4pt;&quot; valign=&quot;top&quot; width=&quot;319&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Can be bookmarked&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; color: #783f04; padding: 0in 5.4pt; width: 239.4pt;&quot; valign=&quot;top&quot; width=&quot;319&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Can’t bookmarked&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;-moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; color: #783f04; padding: 0in 5.4pt; width: 239.4pt;&quot; valign=&quot;top&quot; width=&quot;319&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Hacking will be easy&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; color: #783f04; padding: 0in 5.4pt; width: 239.4pt;&quot; valign=&quot;top&quot; width=&quot;319&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Hacking is difficult&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;-moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; color: #783f04; padding: 0in 5.4pt; width: 239.4pt;&quot; valign=&quot;top&quot; width=&quot;319&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Only ASCII character data type allowed &lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; color: #783f04; padding: 0in 5.4pt; width: 239.4pt;&quot; valign=&quot;top&quot; width=&quot;319&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;No restrictions. Allows binary data also&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;-moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; color: #783f04; padding: 0in 5.4pt; width: 239.4pt;&quot; valign=&quot;top&quot; width=&quot;319&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Caching is possible&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; color: #783f04; padding: 0in 5.4pt; width: 239.4pt;&quot; valign=&quot;top&quot; width=&quot;319&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;No caching&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;color: #4c1130;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #4c1130;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;When Use Post Method&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;
If the form data is large&amp;nbsp; then best is use&amp;nbsp; POST method
because GET method cannot&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; handle long&amp;nbsp; Url.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; Form data contains Non-ASCII characters use POST
because GET doesn’t support it.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;u&gt;Example: Usage of Get method In
ASP.NET:&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;In the below example we will see how GET method passed data from abc.html
(client) to login.aspx page (server).&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: medium none; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 6.65in;&quot; valign=&quot;top&quot; width=&quot;638&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;abc.html&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;-moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 6.65in;&quot; valign=&quot;top&quot; width=&quot;638&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;form&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;method&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;get&quot;&lt;/span&gt;
  &lt;span style=&quot;color: red;&quot;&gt;action&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;login.aspx&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; User Name: &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;txtuserName&quot;&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;username&quot;&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;btnSubmit&quot;&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;submit&quot;&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;Submit data using GET&quot;&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;form&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;-moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 6.65in;&quot; valign=&quot;top&quot; width=&quot;638&quot;&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;login.aspx&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;-moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 6.65in;&quot; valign=&quot;top&quot; width=&quot;638&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;form&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;form1&quot;&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;server&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Welcome &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;b&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background: none repeat scroll 0% 0% yellow;&quot;&gt;&amp;lt;%&lt;/span&gt;
  Response.Write(Request.QueryString[&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;username&quot;&lt;/span&gt;].ToString());
  &lt;span style=&quot;background: none repeat scroll 0% 0% yellow;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;b&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;form&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;-moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 6.65in;&quot; valign=&quot;top&quot; width=&quot;638&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;-moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 6.65in;&quot; valign=&quot;top&quot; width=&quot;638&quot;&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b style=&quot;color: purple;&quot;&gt;&lt;u&gt;Post Method:&lt;/u&gt;&lt;/b&gt; &lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;-moz-font-feature-settings: normal; -moz-font-language-override: normal; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;&quot;&gt;&lt;/span&gt;We can access form data in ASP.NET using Request.Form[&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;key1&quot;&lt;/span&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;color: purple; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;b&gt;&lt;u&gt;Example: Usage of Post method In ASP.NET:&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: medium none; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 6.65in;&quot; valign=&quot;top&quot; width=&quot;638&quot;&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;abc.html&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;-moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 6.65in;&quot; valign=&quot;top&quot; width=&quot;638&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;form&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;method&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;post&quot;&lt;/span&gt;
  &lt;span style=&quot;color: red;&quot;&gt;action&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;login.aspx&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; User Name: &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;txtuserName&quot;&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;username&quot;&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;btnSubmit&quot;&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;submit&quot;&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;Submit data using POST&quot;&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;form&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;-moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 6.65in;&quot; valign=&quot;top&quot; width=&quot;638&quot;&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;login.aspx&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;-moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; border-color: -moz-use-text-color windowtext windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 6.65in;&quot; valign=&quot;top&quot; width=&quot;638&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;form&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;form1&quot;&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;runat&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;server&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Welcome &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;b&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background: none repeat scroll 0% 0% yellow;&quot;&gt;&amp;lt;%&lt;/span&gt;
  Response.Write(Request.Form[&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;username&quot;&lt;/span&gt;].ToString());
  &lt;span style=&quot;background: none repeat scroll 0% 0% yellow;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;b&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;form&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;-moz-border-bottom-colors: none; -moz-border-image: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; border-color: -moz-use-text-color windowtext windowtext; border-right: 1pt solid windowtext; border-style: none solid solid; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 6.65in;&quot; valign=&quot;top&quot; width=&quot;638&quot;&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Output:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Login.html&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;line-height: normal; margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/4810090632651438898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/difference-between-get-and-post-method.html#comment-form' title='18 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/4810090632651438898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/4810090632651438898'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/difference-between-get-and-post-method.html' title='Difference Between Get And Post method in ASP.Net'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>18</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-4940087217459554958</id><published>2012-08-14T00:12:00.001-07:00</published><updated>2012-08-14T00:14:27.446-07:00</updated><title type='text'>how to get all table or store procedure  name with query in SQL Server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Tested In SQLServer 2008&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Below query is used for getting all table name from Your Database in SQL server&lt;br /&gt;
&lt;br /&gt;
use &lt;b&gt;YourDataBaseName&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Select * from sys.objects where type=&#39;u&#39;&lt;br /&gt;
&lt;br /&gt;
Below query is used for getting all Store procedure name from Your Database in SQL server&lt;br /&gt;
&lt;br /&gt;
use &lt;b&gt;YourDataBaseName&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Select * from sys.objects where type=&#39;p&#39;&lt;br /&gt;
Below query is used for getting all trigger name from Your Database in SQL server&lt;br /&gt;
&lt;br /&gt;
use &lt;b&gt;YourDataBaseName&lt;/b&gt;&lt;br /&gt;
Select * from sys.objects where type=&#39;tr&#39;&lt;br /&gt;
&lt;br /&gt;
this query is used for getting table field name as well as datatype and many more &lt;br /&gt;
SELECT *&lt;br /&gt;
FROM INFORMATION_SCHEMA.columns&lt;br /&gt;
WHERE TABLE_NAME = &#39;&lt;b&gt;urtablename&lt;/b&gt;&#39; &lt;br /&gt;
&lt;br /&gt;
in bold section put the relevent name&lt;br /&gt;
&lt;br /&gt;
Hope this will help you .&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #20124d;&quot;&gt;ROHIT KUMAR SRIVASTAVA&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/4940087217459554958/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/how-to-get-all-table-or-store-procedure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/4940087217459554958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/4940087217459554958'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/how-to-get-all-table-or-store-procedure.html' title='how to get all table or store procedure  name with query in SQL Server'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-3671644120840691043</id><published>2012-08-13T23:41:00.003-07:00</published><updated>2012-08-13T23:47:33.374-07:00</updated><title type='text'>How to call JavaScript function on Code Behind or .Cs Page</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
function Randomn()&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var&amp;nbsp; RN=Math.floor(Math.random()*99999);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (String(RN).length &amp;lt;5) {&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RN=&#39;0&#39;+RN;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.getElementById(&#39;&amp;lt;%=txtshowtime1.ClientID%&amp;gt;&#39;).value=RN;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return false;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;whee txtshowtime1 is textbox id in .aspx Page&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Call this function on page load&lt;br /&gt;
Afetr the page Post Back if u uselike below&lt;br /&gt;
&amp;nbsp; if (!Page.IsPostBack)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; populateMovieName();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; populateMultiplexName();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; btnSubmit.Attributes.Add(&quot;onclick&quot;, &quot;Randomn()&quot;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
hope this will help you.&lt;br /&gt;
&lt;div style=&quot;color: #4c1130;&quot;&gt;
ROHIT KUMAR SRIVASTAVA &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/3671644120840691043/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/how-to-call-javascript-function-on-code.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/3671644120840691043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/3671644120840691043'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/how-to-call-javascript-function-on-code.html' title='How to call JavaScript function on Code Behind or .Cs Page'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-1251256647694678917</id><published>2012-08-13T22:46:00.003-07:00</published><updated>2012-08-13T22:46:44.231-07:00</updated><title type='text'>Copy one data from another table in SQL Server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
select * into newTable from OldTable&lt;br /&gt;

where newtable is ur new table name&lt;br /&gt;

and old table signify ur old table name from &lt;br /&gt;

ex.&lt;br /&gt;

Select * into tbluser_login from tblAdmin_login&lt;br /&gt;
&lt;br /&gt;
Hope this will help you&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;b&gt;ROHIT SRIVASTAVA &lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/1251256647694678917/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/copy-one-data-from-another-table-in-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/1251256647694678917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/1251256647694678917'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/copy-one-data-from-another-table-in-sql.html' title='Copy one data from another table in SQL Server'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-143442133645430978.post-565203715626862055</id><published>2012-08-13T22:39:00.003-07:00</published><updated>2012-08-13T22:40:16.598-07:00</updated><title type='text'>How to get Image Size from fileupload on client side with  Jquery</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Some time we require the condition that if image size greator than 2 MB then it show message that file size not allowed more than 2MB . You do it in server side but this is time taken . Now below are method where we check the size of upload file on Client side .&lt;br /&gt;
--------------------------------------------------------------------------------------&lt;br /&gt;
here i use the JQuery . Please do not forgot to add jquery file&lt;br /&gt;
lets the fileupload control name is&lt;br /&gt;
&lt;b&gt;&amp;lt;input type=&quot;file&quot; name =&quot;fileuploadcatg&quot; id=&quot;fileuploadcatg&quot;/&amp;gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;and a label for display label size&lt;b&gt; &lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;lt;label id=&quot;lblSize&quot;&amp;gt;&amp;lt;/label&amp;gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
if ($(&quot;#fileuploadcatg&quot;).val() != &quot;&quot;) {&lt;br /&gt;
//below line is getting the size of file in MB.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var fSize = ($(&quot;input[name=&#39;fileuploadcatg&#39;]&quot;)[0].files[0].size / 1024);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var actualSize = fSize;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (fSize / 1024 &amp;gt; 1) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (((fSize / 1024) / 1024) &amp;gt; 1) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fSize = (Math.round(((iSize / 1024) / 1024) * 100) / 100);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(&quot;#lblSize&quot;).html(fSize + &quot;Gb&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fSize = (Math.round((fSize / 1024) * 100) / 100)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(&quot;#lblSize&quot;).html(fSize + &quot;Mb&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fSize = (Math.round(fSize * 100) / 100)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(&quot;#lblSize&quot;).html(fSize + &quot;kb&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (parseInt(actualSize) &amp;gt; 4000) {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(&quot;Image size should not be more than 4 MB&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return false;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // do what you want &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
hope this will help you .&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;Feed&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rohit-aspnet.blogspot.com/feeds/565203715626862055/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/how-to-get-image-size-from-fileupload.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/565203715626862055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/143442133645430978/posts/default/565203715626862055'/><link rel='alternate' type='text/html' href='http://rohit-aspnet.blogspot.com/2012/08/how-to-get-image-size-from-fileupload.html' title='How to get Image Size from fileupload on client side with  Jquery'/><author><name>Rohit Srivastava</name><uri>http://www.blogger.com/profile/09762820010661308747</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglIUbXZCMKXzShFlHnBgr2HawKsDoL_-kM6h0qbtcLo54VPwLwSaC7ZTp8MaBnjm62E9l9NlF7QNoQ0LIYiVXPfqBPQnU2-HfxCP3ieFsKLdtXyPrXUOnfQd_1TIAVZg/s220/rohit-aspnet.jpg'/></author><thr:total>1</thr:total></entry></feed>