<?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-25662760</id><updated>2024-09-11T21:39:08.274-07:00</updated><category term="JQuery"/><category term="asp.net"/><category term="asp.net 2.0"/><category term="sql server"/><category term="Linq"/><category term="select multiple columns"/><category term="$http"/><category term="70-515"/><category term="ASP.Net 4.0"/><category term="Ahah"/><category term="Ajax"/><category term="Anonymous Methods"/><category term="Asp.net 3.5"/><category term="Browser files"/><category term="CLR"/><category term="CSM"/><category term="Caching Customiziation"/><category term="Case sensitive comparision"/><category term="Compliation life cycle"/><category term="Compliation techniques"/><category term="Data contract and Data member"/><category term="Data contract serializer"/><category term="Deign Patterns in asp.net 2.0"/><category term="Errors"/><category term="Expression Builders"/><category term="Identity column"/><category term="Image slider"/><category term="MCPD"/><category term="New in asp.net 3.5"/><category term="UDF"/><category term="VS2010"/><category term="abstract classes"/><category term="angular js"/><category term="angularjs"/><category term="asp.net2.0"/><category term="calling db using Ajax"/><category term="cascading radiobutton"/><category term="consume rest api"/><category term="data"/><category term="data reader"/><category term="data set"/><category term="db restore"/><category term="design patterns in asp.net"/><category term="drop downlist"/><category term="dropdown list"/><category term="dynamic query parameter"/><category term="excel"/><category term="factory design"/><category term="http handler"/><category term="interface"/><category term="mvc2"/><category term="read"/><category term="stored procedure"/><category term="text box"/><category term="xml serializer"/><title type='text'>Dot Net Developer Notes</title><subtitle type='html'>i am writing my experiences in  developing and material i read in the web  to clear my doubts.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://suryan72.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>68</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-25662760.post-5080481917563635128</id><published>2022-05-21T08:00:00.003-07:00</published><updated>2022-05-21T08:00:47.736-07:00</updated><title type='text'>Notice</title><summary type="text">&amp;nbsp;&quot;This site uses cookies from Google to deliver its services and analyze traffic. Your IP address and user-agent are shared with Google along with performance and security metrics to ensure quality of service, generate usage statistics, and to detect and address abuse.&quot;</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/5080481917563635128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/5080481917563635128'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2022/05/notice.html' title='Notice'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-484902298337976235</id><published>2015-11-01T13:39:00.000-08:00</published><updated>2015-11-01T13:39:25.509-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Image slider"/><category scheme="http://www.blogger.com/atom/ns#" term="JQuery"/><title type='text'>Simple image slider using JQuery</title><summary type="text">
following is the jquery code for image slider





&amp;nbsp; &amp;nbsp;function showImage() {

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var shopImages = sessionStorage.getItem(&#39;shopImages&#39;); &amp;nbsp; &amp;nbsp;// comma separated image paths &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; shopImage = shopImages.split(&#39;,&#39;); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;

&amp;nbsp; &amp;nbsp; &amp;nbsp; </summary><link rel='replies' type='application/atom+xml' href='http://suryan72.blogspot.com/feeds/484902298337976235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25662760/484902298337976235?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/484902298337976235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/484902298337976235'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2015/11/simple-image-slider-using-jquery.html' title='Simple image slider using JQuery'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-6409586299030878385</id><published>2015-03-05T14:11:00.001-08:00</published><updated>2015-03-05T14:14:38.512-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="$http"/><category scheme="http://www.blogger.com/atom/ns#" term="angularjs"/><category scheme="http://www.blogger.com/atom/ns#" term="dropdown list"/><category scheme="http://www.blogger.com/atom/ns#" term="text box"/><title type='text'>Update text box with drop down list selected value in angular js</title><summary type="text">

Includes

https://ajax.googleapis.com/ajax/libs/angularjs/1.3.11/angular.min.js&quot;


Angular Script

var app = angular.module(&#39;windowExample&#39;, []);
1) we used $http service to call rest api
2) please note we will update only when the request to api is successful

app.controller(&#39;ExampleController&#39;,function ($scope, $window,$http) {
$http.get(&quot;http://restcountries.eu/rest/v1/all&quot;).success(function</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/6409586299030878385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/6409586299030878385'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2015/03/update-text-box-with-drop-down-list.html' title='Update text box with drop down list selected value in angular js'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFhoLxI-I05twjj0FUQ70Y37LUXNwr__oR3T998AovIY2cSE2ZQuXeSgwl8T3HvPAY6o7CAf8WXh_juw7ZRkNsgL8PKtj83QDUo25ZR6U21sq90B908kDF0dYH_9_jA1UPfY8hOg/s72-c/Screen+Shot+2015-03-06+at+4.05.28+AM.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-5439755993926782796</id><published>2015-03-05T13:51:00.001-08:00</published><updated>2015-03-05T14:11:39.314-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="angular js"/><category scheme="http://www.blogger.com/atom/ns#" term="consume rest api"/><category scheme="http://www.blogger.com/atom/ns#" term="dynamic query parameter"/><title type='text'>Dot Net Developer Notes: Consume rest api from angularJS</title><summary type="text">
Dot Net Developer Notes: Consume rest api from angularJS




Includes






https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js&quot;

&quot;https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.14/angular-resource.js&quot;



Angular js Script



1) Here ngResource module is included to get $resource service



var app=angular.module(&#39;mymodule&#39;,[&#39;ngResource&#39;]);



2) We created service </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/5439755993926782796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/5439755993926782796'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2015/03/dot-net-developer-notes-consume-rest.html' title='Dot Net Developer Notes: Consume rest api from angularJS'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjn0eJHJCaMqEHSU8ZElKkvODsMTxQmdHPPh2fSPjKfIDuTo39KqjXBbPsyKzIffYXli8Ah-rif8fxiy5W8UiGdKxjqAYJz5Es41fN4sGOn-bPSRy8S0nVdHZQJR_KlaKHsuxuACw/s72-c/Screen+Shot+2015-03-06+at+3.41.54+AM.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-899611881364389108</id><published>2012-06-13T01:34:00.003-07:00</published><updated>2012-06-13T01:34:57.493-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="db restore"/><category scheme="http://www.blogger.com/atom/ns#" term="Errors"/><category scheme="http://www.blogger.com/atom/ns#" term="sql server"/><title type='text'></title><summary type="text">
While restoring a db in production server . I got a following issue

i tried to restored using wizard it failed
Error 3154: The backup set holds a backup of a database other than the existing database.


first i tried following sql command

RESTORE DATABASE AdventureWorks
FROM DISK = &#39;C:\BackupAdventureworks.bak&#39;
WITH REPLACE

It raised following error

Exclusive access could not be obtained </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/899611881364389108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/899611881364389108'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2012/06/while-restoring-db-in-production-server.html' title=''/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-4896129286347740198</id><published>2012-06-08T03:54:00.001-07:00</published><updated>2012-06-08T03:55:53.806-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Case sensitive comparision"/><category scheme="http://www.blogger.com/atom/ns#" term="sql server"/><title type='text'></title><summary type="text">Case sensitive comparison in Sql server

to compare case sensitive fields in sql server u need to cast the fields to varbinary
then compare

for example

Scenario

select * from tbluser
username=&#39;test&#39;

select * from tbluser
username=&#39;Test&#39;

both of above queries will give same results


fix

select * from tbluser

cast (username as varbinary(lengthof username field)= 
cast(&#39;test&#39; as varbinary(</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/4896129286347740198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/4896129286347740198'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2012/06/case-sensitive-comparison-in-sql-server.html' title=''/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-8803215047628735183</id><published>2012-06-01T22:21:00.003-07:00</published><updated>2012-06-05T23:40:17.321-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax"/><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="cascading radiobutton"/><category scheme="http://www.blogger.com/atom/ns#" term="drop downlist"/><category scheme="http://www.blogger.com/atom/ns#" term="JQuery"/><title type='text'></title><summary type="text">Yesterday i got a requirement as follows

As in the screen shot depending
 upon the selection in the radio
 button list I need to fill drop down,
 similar to cascading drop down lists 

I used Jquery ajax to call database.
 Following steps are used in
 developing functionality

Step 1

Add using System.Web.Services; in the name space region 

Add attribute [WebMethod] above the method to fill </summary><link rel='replies' type='application/atom+xml' href='http://suryan72.blogspot.com/feeds/8803215047628735183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25662760/8803215047628735183?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/8803215047628735183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/8803215047628735183'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2012/06/yesterday-i-got-requirement-as-follows.html' title=''/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs8UtjQ_f7nT8XlzrBA3AH9ut8ZXZF8Y-6KHnXZzQEf1FoIJIFw52mL2RZrzyimDTGh7c9yKrdCX3wv35zB_avLGHykFKkLpFhC-9sFZBDCgFZ93hfIKvdcbkWjJjBp1Vvz-X_GA/s72-c/req.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-8023868135651437481</id><published>2012-05-29T09:11:00.003-07:00</published><updated>2012-05-31T01:32:37.831-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="70-515"/><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="mvc2"/><title type='text'></title><summary type="text">
&amp;nbsp;I found a e book for 70-515 Found at ebookbrowse.com



</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/8023868135651437481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/8023868135651437481'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2012/05/found-e-book-for-70-515-mcts-self-paced.html' title=''/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-1281526543512017080</id><published>2012-05-20T23:23:00.003-07:00</published><updated>2012-06-02T02:11:34.048-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSM"/><category scheme="http://www.blogger.com/atom/ns#" term="MCPD"/><title type='text'></title><summary type="text">
Hi Guys,

I cleared CSM. Now Certified Scrum Master. Its fun to work with agile methodologies.
Earlier i passed MCPD in 2008


&amp;nbsp;




</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/1281526543512017080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/1281526543512017080'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2012/05/hi-guys-i-cleared-csm.html' title=''/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid7gwXY9OMh6brhdH5noSjU6zm47Vxp4jcASjcwFkvCWROjyh9FoeiHi3O8B-jXd_At0_1EVTPa999o8eqSxlzm5KKQEGSIg9lX8HbeP2Pe33UGDIJMtZVinCw-9PxIxol7WwN3Q/s72-c/MCPD(rgb)_506.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-4022552271919973854</id><published>2012-04-18T22:58:00.002-07:00</published><updated>2012-04-18T22:58:41.335-07:00</updated><title type='text'>New features in Sql server 2012</title><summary type="text">
&amp;nbsp;Sequences 
Sequences are introduced in sql server 2012 which are similar to sequences in oracle.
We can associate sequences to a column in the table. Then a question came into my mind we have already identity in sq server. Why we need another object to have auto increment column?
Sequences have following advantages over Identity

There are not related to particular table.
The are not </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/4022552271919973854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/4022552271919973854'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2012/04/new-features-in-sql-server-2012.html' title='New features in Sql server 2012'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-5739997388388159255</id><published>2009-12-31T21:46:00.000-08:00</published><updated>2009-12-31T21:51:45.194-08:00</updated><title type='text'>Good article about running totals and need to store previous row values</title><summary type="text">On other day i am supposed to work on balance sheet calculations . I am literally dumb in such accounting things. I struggled get the ending balance, opening balance and carry forward values. I sterched my hand to get help from jeff moden( sql server central.com) He gave such a good idea which absoultely master  piece.Here is the link of it. Read it http://www.sqlservercentral.com/articles/T-SQL/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/5739997388388159255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/5739997388388159255'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2009/12/good-article-about-running-totals-and.html' title='Good article about running totals and need to store previous row values'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-5242450386406311218</id><published>2009-07-24T01:58:00.000-07:00</published><updated>2009-07-24T01:59:31.227-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Data contract and Data member"/><title type='text'>Few things about WCF</title><summary type="text">Data Contract and Data Member attributes appear in the System.Runtime.Serialization namespace, because they control the general WCF serialization of the object rather than just its xml-serialized version. The DataContract attribute is applied at the class level and it controls the serialized name of the object as well as the namespace. The DataMember attribute is applied to the specific </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/5242450386406311218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/5242450386406311218'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2009/07/few-things-about-wcf.html' title='Few things about WCF'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-2695662614077725977</id><published>2009-07-24T01:51:00.000-07:00</published><updated>2009-07-24T01:58:01.421-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Data contract serializer"/><category scheme="http://www.blogger.com/atom/ns#" term="xml serializer"/><title type='text'>XML serialization and data contract serailization</title><summary type="text">First of all Thanks for this nice article  by danrigs. I am adding this to my blog as my noteshttp://www.danrigsby.com/blog/index.php/2008/03/07/xmlserializer-vs-datacontractserializer-serialization-in-wcf/XmlSerializer  Advantages:1. Opt-out rather than opt-in properties to serialize. This mean you don’t have to specify each and every property to serialize, only those you don’t wan to serialize2</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/2695662614077725977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/2695662614077725977'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2009/07/xml-serialization-and-data-contract.html' title='XML serialization and data contract serailization'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-4167919161216733529</id><published>2009-05-19T22:51:00.000-07:00</published><updated>2009-05-19T22:55:40.534-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.Net 4.0"/><category scheme="http://www.blogger.com/atom/ns#" term="Caching Customiziation"/><category scheme="http://www.blogger.com/atom/ns#" term="VS2010"/><title type='text'>Whats new in Caching mechanism in VS2010</title><summary type="text">I read a great post reagrading caching mechanism in VS2010 today. Here is brief synopsis if you want to know more please follow this linkhttp://www.asp.net/learn/whitepapers/aspnet40/In traditional way cached content will be stored in memory, which hampers performance of heavily trafficked serversIn ASP.Net 4.0 WE can configure output cache providers. Out put cache providers use any storage </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/4167919161216733529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/4167919161216733529'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2009/05/whats-new-in-caching-mechanism-in.html' title='Whats new in Caching mechanism in VS2010'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-4360084436414284055</id><published>2009-04-09T00:24:00.000-07:00</published><updated>2009-04-09T00:26:04.193-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="factory design"/><category scheme="http://www.blogger.com/atom/ns#" term="http handler"/><title type='text'>Factory Design pattern - Asp.net</title><summary type="text">Factory Design Pattern is already being used in Asp.net.It is useful when all related classes are grouped and we can decide which class needs to be instantiated at run time.The Factory Design pattern is used when a class cannot anticipate the type of object it must create or when you want to delegate the responsibility of creations of object to another class so that you need not worry about the </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/4360084436414284055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/4360084436414284055'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2009/04/factory-design-pattern-aspnet.html' title='Factory Design pattern - Asp.net'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-5865754382357713694</id><published>2009-03-19T22:55:00.000-07:00</published><updated>2009-03-19T23:10:57.909-07:00</updated><title type='text'>tool tip div and pop up div using java script</title><summary type="text">In one of my module i came across the situation that i have to code for toop tip div and pop up divlet me explain what is toop tip . I have hyperlink in gridview (View Message), when user hover on it i have to show content of it.When user clicks on hyper link i need to show the div.see above screen shots java script for the tool tip java script for popup divBinding java script with control in .cs</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/5865754382357713694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/5865754382357713694'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2009/03/tool-tip-div-and-pop-up-div-using-java.html' title='tool tip div and pop up div using java script'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijnyL6Xz8y0gvEsigTfA1qjos7MaG_pb98y5gadL-0v73jM3x1INo3s_S6hX73b74E7lFDlCQsKtOOETT6RpF2kX6hEG7pJLyJtJc9N3fLgpOGrHYWSlEb_CNHZKcPYvyZ6k9Lag/s72-c/PopUpDiv.JPG" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-3941263062698560786</id><published>2009-03-19T03:49:00.000-07:00</published><updated>2009-03-19T03:52:51.641-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="data set"/><category scheme="http://www.blogger.com/atom/ns#" term="Linq"/><category scheme="http://www.blogger.com/atom/ns#" term="select multiple columns"/><title type='text'>Linq- dataset - select - many columns</title><summary type="text">I came across a situation using data set i have to select mutiple columns using LinqHere is my codecn.Open();SqlCommand cmd = new SqlCommand(&quot;Spname&quot;, cn);cmd.CommandType = CommandType.StoredProcedure;cmd.Parameters.AddWithValue(&quot;ParameterName&quot;, value);cmd.Parameters.AddWithValue(&quot;parametername&quot;, value);SqlDataAdapter da = new SqlDataAdapter(cmd);DataSet ds = new DataSet();da.Fill(ds);</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/3941263062698560786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/3941263062698560786'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2009/03/linq-dataset-select-many-columns.html' title='Linq- dataset - select - many columns'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-1319015099725929445</id><published>2009-03-19T02:28:00.000-07:00</published><updated>2009-03-19T02:35:59.343-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="data reader"/><category scheme="http://www.blogger.com/atom/ns#" term="Linq"/><category scheme="http://www.blogger.com/atom/ns#" term="select multiple columns"/><title type='text'>Linq - Data reader - selecting more than one value</title><summary type="text">I came across a situation to bind gridview with selecting data from datareader using linqI used following code.public void ShowAthletes(){cn.Open();SqlCommand cmd = new SqlCommand(&quot;SpName&quot;, cn);cmd.CommandType = CommandType.StoredProcedure;cmd.Parameters.AddWithValue(&quot;SubscriptionId&quot;, Parameter1);cmd.Parameters.AddWithValue(&quot;EMail&quot;, &quot;parametername&quot;);SqlDataReader dr=cmd.ExecuteReader();--------</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/1319015099725929445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/1319015099725929445'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2009/03/linq-data-reader-selecting-more-than.html' title='Linq - Data reader - selecting more than one value'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-7987125278403300074</id><published>2008-11-19T19:26:00.000-08:00</published><updated>2008-11-19T19:27:42.569-08:00</updated><title type='text'>Further on String type discussion</title><summary type="text">from the article in msdnhttp://msdn.microsoft.com/en-us/library/aa691153.aspxThe string type is a sealed class type that inherits directly from object. Instances of the string class represent Unicode character strings.Values of the string type can be written as string literals (Section 2.4.4).The keyword string is simply an alias for the predefined class System.String.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/7987125278403300074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/7987125278403300074'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2008/11/further-on-string-type-discussion.html' title='Further on String type discussion'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-1261741990820069961</id><published>2008-11-19T19:14:00.000-08:00</published><updated>2008-11-19T19:23:20.796-08:00</updated><title type='text'>String vs string</title><summary type="text">Recently i had a discussion  with my collegue regarding when to use .tostring() and convert.tostring(), in the discussion we are talked about string is whether value type or reference type.After having research on the web i found that string is reference type and i found differences between String and string. Conclusions i drawn from my research on given belowSources i refered arehttp://</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/1261741990820069961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/1261741990820069961'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2008/11/string-vs-string.html' title='String vs string'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-2369179682288597959</id><published>2008-08-15T23:06:00.000-07:00</published><updated>2008-08-15T23:07:55.493-07:00</updated><title type='text'>Date time vs small datetime in sql server 2005</title><summary type="text">DateTimeDATETIME column (or in a variable) are stored as two four-byteintegers. The first integer represents the date, and the secondinteger represents the time.We calculate the date integer against the base date January 1,1900. The integer represents the number of days before or afterthat date. As a result, the DATETIME data type supports onlydates that are represented by the integers supported </summary><link rel='enclosure' type='text/html' href='http://searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1323061,00.html' length='0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/2369179682288597959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/2369179682288597959'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2008/08/date-time-vs-small-datetime-in-sql.html' title='Date time vs small datetime in sql server 2005'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-550936800192055559</id><published>2008-07-18T03:39:00.000-07:00</published><updated>2008-11-13T21:07:52.944-08:00</updated><title type='text'>Working with Xml formats in sql server 2005</title><summary type="text">XML Auto Query:SELECT * FROM dbo.Receipes_MasterFOR XML AUTO, TYPEResults: Results will be as shown figure right side Inferences: 1)For each Id column one element will be returned2) Each element will have table name as element name and columns attributes to that element3) It will have multiple root elementsXML Path Query :SELECT Receipe_Id as &quot;RecipeId&quot;,Title,Description,Ingredients,Instructions,</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/550936800192055559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/550936800192055559'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2008/07/working-with-xml-formats-in-sql-server.html' title='Working with Xml formats in sql server 2005'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyN19JxcdgR1OZckH6pNs9nncpFO6xjS38bN4RDetdVjNiTApqnsArD5u6MSAw47TkH2sozcDf9McYDQTGYZTxJztin6_Wz8ywPb4et0nO7_a1bn32-XMdnNdtbr7P5s6-tnmymw/s72-c/XML+Path.JPG" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-4134093825899342963</id><published>2008-07-17T03:33:00.000-07:00</published><updated>2012-05-29T06:06:40.359-07:00</updated><title type='text'>List of language culture supported by dot net 2.0</title><summary type="text"></summary><link rel='replies' type='application/atom+xml' href='http://suryan72.blogspot.com/feeds/4134093825899342963/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25662760/4134093825899342963?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/4134093825899342963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/4134093825899342963'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2008/07/list-of-language-culture-supported-by.html' title='List of language culture supported by dot net 2.0'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-314217642081836193</id><published>2008-07-17T03:26:00.000-07:00</published><updated>2008-07-17T03:27:42.728-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="Compliation techniques"/><title type='text'>Compliation techniques in asp.net 2.0</title><summary type="text">Automatic CompilationASP.NET automatically compiles your application code and any dependent resources the first time a user requests a resource from the Web site. In general, ASP.NET creates an assembly for each application directory (such as App_Code) and one for the main directory. (If files in a directory are in different programming languages, then separate assemblies will be created for each</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/314217642081836193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/314217642081836193'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2008/07/compliation-techniques-in-aspnet-20.html' title='Compliation techniques in asp.net 2.0'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-25662760.post-5805436878016366959</id><published>2008-07-17T00:28:00.000-07:00</published><updated>2008-11-13T21:07:53.142-08:00</updated><title type='text'>Creating Browser files</title><summary type="text">Thank you Declan Bright for your nice post in code project.comhttp://www.codeproject.com/KB/aspnet/BlackberryASPNET.aspxIn order create browser specific application we need create browser files first and register that browser files in the .net frameworkfolder using aspnet_regbrowsers.exe tool.Step 1: Creation of browser file with following properties and save it in the directory \WINDOWS\</summary><link rel='enclosure' type='' href='http://www.codeproject.com/KB/aspnet/BlackberryASPNET.aspx' length='0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/5805436878016366959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25662760/posts/default/5805436878016366959'/><link rel='alternate' type='text/html' href='http://suryan72.blogspot.com/2008/07/creating-browser-files.html' title='Creating Browser files'/><author><name>Surya</name><uri>http://www.blogger.com/profile/09045812139558657257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNfZpK6WEU8uJZrb-HqV2MkOKOkSoLoICSenOI14XERKm-7qKAi9rUaiG17VzQgMVx2Njga8jWvF61QQwi-9tLx0VUqmqjtZU-HcK0vbZszJP2tN0qLEs-ilUso3hyZV-FfM5bjw/s72-c/Browserfile.JPG" height="72" width="72"/></entry></feed>