<?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: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-737479520854884306</id><updated>2012-01-16T20:31:48.067+05:30</updated><category term='excryption'/><category term='decimals'/><category term='Repeater'/><category term='Browser back button'/><category term='Tables'/><category term='soapheader'/><category term='nullable type'/><category term='Rounding decimals'/><category term='wcf Encoders'/><category term='Performance in ASP.net'/><category term='hosting'/><category term='Table Variables'/><category term='soapbody'/><category term='wcf v/s web service'/><category term='Datagrigd'/><category term='EventSetters in Style'/><category term='Time in sqlserver'/><category term='Export gridview to pdf'/><category term='Forms authentication'/><category term='template columns'/><category term='identity columns'/><category term='self join'/><category term='linq to xml'/><category term='appsettings'/><category term='background colour'/><category term='query optimization'/><category term='Ajax accordian'/><category term='FTP'/><category term='selfjoin'/><category term='virtual'/><category term='coalesce'/><category term='int.tryparse'/><category term='selected area printing in asp.net'/><category term='Events'/><category term='Insert'/><category term='Application object'/><category term='function overriding'/><category term='Rss feeds'/><category term='static v/s singleton'/><category term='ignoreExtensionDataObject'/><category term='Asp.net Basics'/><category term='events and Delegates'/><category term='webmethod'/><category term='Identity insert'/><category term='POP up expander control'/><category term='where clause'/><category term='checkbox'/><category term='foreign key'/><category term='print in asp.net'/><category term='iis'/><category term='Resume'/><category term='security in wcf'/><category term='group by'/><category term='Javascript'/><category term='webservices'/><category term='advantages'/><category term='Sqlserver optimization'/><category term='CLR functions'/><category term='Gridview Sort'/><category term='ROW_NUMBER in sql'/><category term='page name'/><category term='impersonation'/><category term='soapenvelope'/><category term='Datalist'/><category term='pdf'/><category term='bindings'/><category term='Sqlserver'/><category term='webservice'/><category term='xml datatype'/><category term='Array'/><category term='select into'/><category term='query sysntax'/><category term='alert'/><category term='pageload'/><category term='Sessions'/><category term='out'/><category term='Sleep'/><category term='Response.End'/><category term='unique identifier'/><category term='transport security'/><category term='Value Converters in WPF'/><category term='IDataErrorInfo in WPF'/><category term='Multithreading'/><category term='Shapes in WPF'/><category term='INSTEAD OF and AFTER Triggers'/><category term='Static resources'/><category term='introduction to web service'/><category term='sha1'/><category term='Excel'/><category term='RegisterClientScriptBlock'/><category term='Datareader'/><category term='Thread.start'/><category term='CLR'/><category term='disadvantages'/><category term='net'/><category term='gridview paging using slider extender'/><category term='Textbox enter clicked'/><category term='google api'/><category term='Disabling back button'/><category term='MessageBox'/><category term='triggers in views'/><category term='page unload'/><category term='preinit'/><category term='oops'/><category term='datepart'/><category term='QueueUserWorkItem'/><category term='Transactions in wcf'/><category term='Hashvalue'/><category term='validation controls'/><category term='Threads'/><category term='Temporary tables'/><category term='Strings'/><category term='Sitemap'/><category term='Thread Pool'/><category term='own Website search'/><category term='calling server side code'/><category term='Version'/><category term='ManualResetEvent'/><category term='icsharpcode'/><category term='Gridview'/><category term='select query'/><category term='description'/><category term='child window'/><category term='Javascript disabled'/><category term='Framework'/><category term='Two Way Binding'/><category term='Reflection in c#'/><category term='salt'/><category term='UrlReferrer'/><category term='polymorphism'/><category term='getdate'/><category term='introduction to jquery'/><category term='Datetime in c#'/><category term='addname'/><category term='text encoding'/><category term='ListView'/><category term='set identity_insert on'/><category term='dateadd'/><category term='init'/><category term='stored procedures'/><category term='random password'/><category term='SQL Server 2008'/><category term='watermark'/><category term='Accordian control'/><category term='cookies'/><category term='Decorator Pattern'/><category term='Lock'/><category term='Scroll'/><category term='ref'/><category term='output parameters'/><category term='Asp.net text editor'/><category term='xslt'/><category term='Triggers'/><category term='datediff'/><category term='destructors'/><category term='constructors'/><category term='web services'/><category term='delegates'/><category term='Enablesession'/><category term='convert.toint'/><category term='Gridview Delete'/><category term='slider extender'/><category term='RequestStop'/><category term='jquery'/><category term='Singleton pattern'/><category term='ListBox in wpf'/><category term='ado.net'/><category term='Cookies in WPF'/><category term='window.print'/><category term='Database'/><category term='index'/><category term='Authentication'/><category term='Cached queries'/><category term='Inproc'/><category term='dateadd in sqlserver'/><category term='random id'/><category term='method syntax'/><category term='caching'/><category term='c# asp.net'/><category term='asp.net page life cycle'/><category term='browser closing'/><category term='WPF'/><category term='unzip'/><category term='referece types'/><category term='gmail'/><category term='Soap headers'/><category term='TransformSource'/><category term='DocumentSource'/><category term='bascis'/><category term='Single cast delegate'/><category term='binary encoding'/><category term='Display rss feeds using xml in asp.net'/><category term='linq count'/><category term='Tooltips in WPF'/><category term='session in web services'/><category term='Errors'/><category term='Stateserver'/><category term='WaitHandle.WaitAll'/><category term='order by'/><category term='functions'/><category term='Suspend'/><category term='Thread synchronization'/><category term='Styles in WPF'/><category term='user defines functions'/><category term='Table valued parameters'/><category term='foreground and background threads'/><category term='button click'/><category term='sum'/><category term='aggregate functions'/><category term='setinterval'/><category term='c#'/><category term='Datetime Difference'/><category term='storedprocedures'/><category term='Attributes in c#'/><category term='connection string'/><category term='cursors'/><category term='cast'/><category term='password hash'/><category term='tips'/><category term='sql query'/><category term='Extension Methods'/><category term='Session object'/><category term='removename'/><category term='HashBytes'/><category term='Observer pattern'/><category term='non clustered'/><category term='.net'/><category term='acid transactions'/><category term='MD5'/><category term='sounds on errors'/><category term='nth lowest salry'/><category term='TransactionFlow'/><category term='selfhosting'/><category term='web.config'/><category term='gridview paging'/><category term='clearTimeout'/><category term='LINQ'/><category term='Custom Attributes'/><category term='Popup window'/><category term='Gridview Insert'/><category term='Validation Rules in WPF'/><category term='Top'/><category term='inputoutput parameters'/><category term='XML'/><category term='PagedDataSource Class'/><category term='Enable'/><category term='Geridview Cancel'/><category term='Static'/><category term='server side alerts'/><category term='Object Initializers'/><category term='limitations'/><category term='Message Security'/><category term='Unboxing'/><category term='outproc'/><category term='Garbage collection'/><category term='User-Defined Functions'/><category term='savedviewstate'/><category term='progresss bar'/><category term='MD4'/><category term='WsDualHttpBinding'/><category term='Marshalling'/><category term='Datetime'/><category term='isAlive'/><category term='ACID properties'/><category term='asp.net search using google api'/><category term='nth highest salary'/><category term='Gridview Edit'/><category term='Dynamic SQL Statements'/><category term='Int.parse'/><category term='button event on textbox click'/><category term='Abstract factory pattern'/><category term='outlook email'/><category term='fileupload'/><category term='C# 3.0 Features'/><category term='Asp.net search website'/><category term='Paging'/><category term='Monitor'/><category term='Response.Redirect'/><category term='Authorization'/><category term='http'/><category term='Refactoring code'/><category term='Regular expressions'/><category term='refresh parent window'/><category term='having'/><category term='dml modifications in cursors'/><category term='access network resources'/><category term='httpgetenabled'/><category term='decryption'/><category term='MD2'/><category term='Referential Integrity'/><category term='Boxing'/><category term='dynamic resources'/><category term='joins and views'/><category term='cachedeuration'/><category term='linq group by'/><category term='RegisterStartupScript'/><category term='Error handling in javascript'/><category term='Asp.net'/><category term='Clustered'/><category term='Export gridview to excel'/><category term='NextResult'/><category term='Binding in WPF'/><category term='download pdf in asp.net'/><category term='svcutil'/><category term='wcf'/><category term='Expander control'/><category term='in operator'/><category term='Normalization'/><category term='MTOM'/><category term='primary key'/><category term='soap'/><category term='Browser javascript disabled'/><category term='Mexendpoint'/><category term='parent window'/><category term='override'/><category term='once'/><category term='DesignPattern'/><category term='views'/><category term='ROW_NUMBER()'/><category term='Windows Services'/><category term='machine.config'/><category term='Onmouseover'/><category term='Text  editor'/><category term='DataTriggers in WPF'/><category term='Joined Tables'/><category term='export pdf in asp.net'/><category term='Remoting'/><category term='nullable'/><category term='close parent window'/><category term='multi cast delegate'/><category term='Sql Datetime'/><category term='dataContarctSeralizer'/><category term='DockPanel'/><category term='Page.Validate'/><category term='SHA'/><category term='asp.net validation controlsPage.IsValid'/><category term='Two tables'/><category term='value types'/><category term='showing images for validation messages'/><category term='Updating Source in WPF Data Binding'/><category term='linq distinct'/><category term='Html'/><category term='Rownumber'/><category term='LINQ to objects'/><category term='zip'/><title type='text'>Quick DotNet Solutions</title><subtitle type='html'>Provides solutions and information on ASP.NET,VB.NET,C#,JavaScript,XML,XSLT,Web Services,SQLServer,MS Asscess etc.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default?start-index=101&amp;max-results=100'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>192</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-1173128901666390320</id><published>2012-01-04T18:50:00.000+05:30</published><updated>2012-01-04T18:50:11.130+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Dynamic SQL Statements'/><title type='text'></title><summary type='text'>Dynamic SQL statements

A dynamic SQL statement is constructed at execution time, for which different conditions generate different SQL statements. It can be useful to construct these statements dynamically when you need to decide at run time what fields to bring back from SELECT statements; the different criteria for your queries; and perhaps different tables to query based on different </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/1173128901666390320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2012/01/dynamic-sql-statements-dynamic-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1173128901666390320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1173128901666390320'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2012/01/dynamic-sql-statements-dynamic-sql.html' title=''/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-800273445291152117</id><published>2012-01-04T18:35:00.000+05:30</published><updated>2012-01-04T18:35:07.737+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Table valued parameters'/><title type='text'></title><summary type='text'>Passing table valued parameters in SQL Server 2008

How to pass table parameters

I need to set up my SalesHistory table, which holds my product sales. The following script will create the table in the database of your choice:

IF OBJECT_ID('SalesHistory')&gt;0    
  DROP TABLE SalesHistory;
  GO
  CREATE TABLE [dbo].[SalesHistory]
  (          
        [SaleID] [int] IDENTITY(1,1) NOT NULL PRIMARY </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/800273445291152117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2012/01/passing-table-valued-parameters-in-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/800273445291152117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/800273445291152117'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2012/01/passing-table-valued-parameters-in-sql.html' title=''/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-7208058812663743488</id><published>2011-12-05T18:50:00.001+05:30</published><updated>2011-12-05T18:50:23.936+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='Updating Source in WPF Data Binding'/><title type='text'>Updating Source in WPF Data Binding</title><summary type='text'>In WPF data binding, when source property is updated from target property is called as updating source property and is defined using UpdateSourceTrigger property of Binding object. This property is used to define how you want to update source. There are two binding modes are available TwoWay and OneWayToSource which causes update to source property on change of target property.

You can specify </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/7208058812663743488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/12/updating-source-in-wpf-data-binding.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7208058812663743488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7208058812663743488'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/12/updating-source-in-wpf-data-binding.html' title='Updating Source in WPF Data Binding'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-8038176390912249536</id><published>2011-12-05T18:46:00.001+05:30</published><updated>2011-12-05T18:47:32.692+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='Value Converters in WPF'/><title type='text'>Value Converters in WPF</title><summary type='text'>Start Posting Your Contents Here

Value converters are used in Data binding. When source object type and target object type are different at that time value converts are used to manipulate data between source and target. Converter class must implement IValueConverter interface. The IValueConverter interface consists of two methods Convert and ConvertBack. Convert Method gets called when source </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/8038176390912249536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/12/value-converters-in-wpf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/8038176390912249536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/8038176390912249536'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/12/value-converters-in-wpf.html' title='Value Converters in WPF'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-SKI2sd5MUI8/TtzEAyGWeYI/AAAAAAAAB8U/UPflicaT618/s72-c/ValueConverterImage1.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-4804122502442484576</id><published>2011-12-05T18:15:00.001+05:30</published><updated>2011-12-05T18:18:00.035+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Styles in WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='EventSetters in Style'/><title type='text'>EventSetters in Style</title><summary type='text'>Event can also be attached inside style. Style provides EventSetter inside you can add EventName and attach appropriate handler for that event.

&lt;Window.Resources&gt;
&lt;Style x:Key="MyButtonEvent" TargetType="Button"&gt;
    &lt;EventSetter Event="MouseEnter" Handler="Button_MouseEnter" /&gt;
    &lt;EventSetter Event="MouseLeave" Handler="Button_MouseLeave" /&gt;
&lt;/Style&gt;
&lt;/Window.Resources&gt;
&lt;StackPanel&gt;
    &lt;</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/4804122502442484576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/12/eventsetters-in-style.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4804122502442484576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4804122502442484576'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/12/eventsetters-in-style.html' title='EventSetters in Style'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-6ngkqgV-Jps/Tty9QSO9wtI/AAAAAAAAB8I/aprQzPfaMSM/s72-c/EventSetters.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-3095230160232207293</id><published>2011-12-05T18:06:00.001+05:30</published><updated>2011-12-05T18:09:39.524+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='IDataErrorInfo in WPF'/><title type='text'>Validate Data using IDataErrorInfo in WPF</title><summary type='text'>WPF Data binding supports for business layer data validation using IDataErrorInfo interface. IDataErrorInfo interface was exists earlier in Windows forms application. Microsoft added support for binding to report error using IDataErrorInfo interface in WPF 3.5 version. IDataErrorInfo interface has two properties one is string Error and another is string indexer. String indexer accepts property </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/3095230160232207293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/12/validate-data-using-idataerrorinfo-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3095230160232207293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3095230160232207293'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/12/validate-data-using-idataerrorinfo-in.html' title='Validate Data using IDataErrorInfo in WPF'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-ZxfMhE2UXTg/Tty7ZZzqL8I/AAAAAAAAB78/KzqufySg_xo/s72-c/Validation_WPF_IDataErrorInfo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-6990822957649370839</id><published>2011-12-05T18:00:00.001+05:30</published><updated>2011-12-05T18:02:05.379+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='Validation Rules in WPF'/><title type='text'>Validation Rules in WPF</title><summary type='text'>WPF data binding model provides ability to validate user input. You can associate Validation Rule with your Binding as well with MultiBinding.  Binding engine automatically checks whether any ValidationRule associated or not if yes then every time value passes to the source it will applies validation. Validation applies only when target value updates source value (i.e. with TwoWay or </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/6990822957649370839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/12/validation-rules-in-wpf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6990822957649370839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6990822957649370839'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/12/validation-rules-in-wpf.html' title='Validation Rules in WPF'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-bQnkJpgVaIY/Tty5sE1DRtI/AAAAAAAAB7w/RCFAfO6TTH4/s72-c/Validation_WPF.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-6629166767087531996</id><published>2011-12-05T16:57:00.001+05:30</published><updated>2011-12-05T17:02:53.053+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='DataTriggers in WPF'/><title type='text'>DataTriggers in WPF</title><summary type='text'>This post shows how you can implement data triggers in WPF.

The code is self explanatory. The window consists of textboxes which turn red in foreground color if a value of a memeber  of a itemsource to which the data is bounded is set to false.

The data is bound using XML data provider.

Put the follo0wing ina XML file.

&lt;members&gt;
 &lt;member&gt;
  &lt;isactive&gt;true&lt;/isactive&gt;
  &lt;groupcolor&gt;#FFCC3333&lt;/</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/6629166767087531996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/12/datatriggers-in-wpf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6629166767087531996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6629166767087531996'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/12/datatriggers-in-wpf.html' title='DataTriggers in WPF'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/--0Tu1YiNj44/TtyrxO5vpZI/AAAAAAAAB7k/9awN0aKLSJ8/s72-c/DataTriggers_WPF.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-7472761886735483867</id><published>2011-12-02T19:23:00.001+05:30</published><updated>2011-12-02T19:25:43.573+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='Expander control'/><category scheme='http://www.blogger.com/atom/ns#' term='POP up expander control'/><title type='text'>Epander control in WPF - Exmaple</title><summary type='text'>Just copy paste the code. it is self explanatory.

XAML

&lt;Window x:Class="Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Expender WPF Sample" Height="300" Width="400"
    &gt;
&lt;Grid&gt;
    &lt;Grid.ColumnDefinitions&gt;
        &lt;ColumnDefinition /&gt;
        &lt;ColumnDefinition /&gt;
    &lt;/Grid.ColumnDefinitions&gt;
</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/7472761886735483867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/12/epander-control-in-wpf-exmaple.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7472761886735483867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7472761886735483867'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/12/epander-control-in-wpf-exmaple.html' title='Epander control in WPF - Exmaple'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-N1n8Uqnz_kg/TtjYxP0np_I/AAAAAAAAB7Y/p_VbeerSGwU/s72-c/ExpanderTypes.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-8852779589200772902</id><published>2011-12-02T19:05:00.001+05:30</published><updated>2011-12-02T19:17:48.996+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='Expander control'/><title type='text'>Expander control in WPF</title><summary type='text'>An Expander control provides a way to provide content in an expandable area that resembles a window and includes a header. 

The Content and Header of an Expander can also contain complex content, such as RadioButton and Image objects. 


Setting the Direction of the Expanding Content Area
You can set the content area of an Expander control to expand in one of four directions (Down, Up, Left, or </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/8852779589200772902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/12/expander-control-in-wpf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/8852779589200772902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/8852779589200772902'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/12/expander-control-in-wpf.html' title='Expander control in WPF'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-HwEUHM-P6JY/TtjW79gA7yI/AAAAAAAAB7M/S4_EqrAPSlo/s72-c/Expander.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-5388867612265318038</id><published>2011-12-02T18:53:00.001+05:30</published><updated>2011-12-02T18:56:25.269+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='DockPanel'/><title type='text'>DockPanel in WPF</title><summary type='text'>Introduction


The dock panel is a layout panel, that provides an easy docking of elements to the left, right, top, bottom or center of the panel. The dock side of an element is defined by the attached property DockPanel.Dock. To dock an element to the center of the panel, it must be the last child of the panel and the LastChildFill property must be set to true.
&lt;Page xmlns="http://</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/5388867612265318038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/12/dockpanel-in-wpf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/5388867612265318038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/5388867612265318038'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/12/dockpanel-in-wpf.html' title='DockPanel in WPF'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-b5VDDaIqLAI/TtjR0Kj-OcI/AAAAAAAAB7A/63z1yATW4M8/s72-c/DockPanel.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-6519370048425694651</id><published>2011-11-29T11:47:00.001+05:30</published><updated>2011-11-29T11:54:19.117+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='Static resources'/><category scheme='http://www.blogger.com/atom/ns#' term='dynamic resources'/><title type='text'>Static vs Dynamic resources in WPF</title><summary type='text'>A resource can be referenced as either static or dynamic resource.

The major difference between static and dynamic resources is “static resource will evaluate the resource only once while dynamic resource will be evaluated every time the resource needed”.

Dynamic resource has more performance overhead than static resources because it look up for resources every time it requested or needed.

</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/6519370048425694651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/11/static-vs-dynamic-resources-in-wpf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6519370048425694651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6519370048425694651'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/11/static-vs-dynamic-resources-in-wpf.html' title='Static vs Dynamic resources in WPF'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-IHBGcjM2fBY/TtR5iYWB6KI/AAAAAAAAB60/jmzOMykAngM/s72-c/Static%2Band%2BDynamic%2Bresrouces.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-2279403345908122906</id><published>2011-07-29T10:13:00.001+05:30</published><updated>2011-07-29T10:15:22.876+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cached queries'/><category scheme='http://www.blogger.com/atom/ns#' term='Sqlserver'/><title type='text'>Sql Server : Top 10 cached queries.</title><summary type='text'>In this article, we will see how to view the most cached statements on the server.The view sys.dm_exec_cached_plans and function dm_exec_sql_text can be used for this purpose.Let us execute the following querysql-server-dmv-cacheselect top 10    db_name(sql_text.dbid) as db_name,    cache_plan.objtype,    sql_text.text ,    cache_plan.usecountsfrom    sys.dm_exec_cached_plans as cache_plan    </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/2279403345908122906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/07/sql-server-top-10-cached-queries.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2279403345908122906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2279403345908122906'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/07/sql-server-top-10-cached-queries.html' title='Sql Server : Top 10 cached queries.'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-7RSPTkc5RRQ/TjI6oK-wR1I/AAAAAAAAA_w/cmq7n-HG14U/s72-c/Temp.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-2421063021163572805</id><published>2011-07-28T20:05:00.001+05:30</published><updated>2011-07-28T20:08:45.227+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='Cookies in WPF'/><title type='text'>Managing cookies in WPF</title><summary type='text'>A cookie is an arbitrary piece of data that can be stored by an application on the client machine during application sessions (session cookies) or across application sessions (persistent cookies). You can create both types of cookies by calling SetCookie.Cookie data typically takes the form of a name/value pair in the following format:Name=ValueYou pass a string of this format to SetCookie, along</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/2421063021163572805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/07/managing-cookies-in-wpf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2421063021163572805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2421063021163572805'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/07/managing-cookies-in-wpf.html' title='Managing cookies in WPF'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-4440867039021115615</id><published>2011-07-28T19:47:00.012+05:30</published><updated>2011-07-28T19:56:24.817+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='Shapes in WPF'/><title type='text'>Drawing Shapes in WPF</title><summary type='text'>Drawing Shapes in WPF This article is an introduction to graphics programming in XAML and WPF. In this article, I discuss various graphics objects including lines, rectangles, ellipses, and paths and how to draw them using XAML and WPF.Drawing a LineThe Line tag of XAML draws a line. The X1,Y1 and X2,Y2 attributes represent the starting and ending point of the line and Stroke represents the color</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/4440867039021115615/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/07/drawing-shapes-in-wpf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4440867039021115615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4440867039021115615'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/07/drawing-shapes-in-wpf.html' title='Drawing Shapes in WPF'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-27k0CTY-ZUc/TjFvrqjAlcI/AAAAAAAAA-g/YJgFemLECfA/s72-c/Temp.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-6564806866957192312</id><published>2011-07-28T19:25:00.002+05:30</published><updated>2011-07-28T19:28:52.256+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='ListBox in wpf'/><title type='text'>Transferring data between ListBoxes in WPF.</title><summary type='text'>This article shows us how data can be transferred from one listbox to another in WPF.For the demo purpose the listbox is binded to a arraylist, in reality it may obtain data from the database, a collection of objects ot  from XML file.The code is self explanatory,XAML&lt;Window x:Class="WPFControlsSample.TwoListBoxes"    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"    xmlns:x="</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/6564806866957192312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/07/transferring-data-between-listboxes-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6564806866957192312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6564806866957192312'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/07/transferring-data-between-listboxes-in.html' title='Transferring data between ListBoxes in WPF.'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-695728007512072598</id><published>2011-07-28T18:49:00.004+05:30</published><updated>2011-07-28T19:08:12.110+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='Tooltips in WPF'/><title type='text'>Creating Fancy Tooltips in WPF</title><summary type='text'>Each control in WPF has a Tooltip property that can be accessed through XAML or code behind. The Tooltip property can host any kind of controls such as a rectangle, text block, or a panel. In other words, we can display another window with any number of controls as a tooltip of a control.The following code creates a simple tooltip for a button control.       &lt;Button Width="100" Height="30"&gt;Click </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/695728007512072598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/07/creating-fancy-tooltips-in-wpf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/695728007512072598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/695728007512072598'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/07/creating-fancy-tooltips-in-wpf.html' title='Creating Fancy Tooltips in WPF'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-NerZfuF5GxY/TjFjpEbmTDI/AAAAAAAAA-Q/dnLNE42kbAM/s72-c/Temp.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-8918704084598553181</id><published>2011-07-26T22:06:00.003+05:30</published><updated>2011-07-26T22:10:18.936+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Binding in WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='Two Way Binding'/><title type='text'>Two way Binding in WPF</title><summary type='text'>In this article we shall understand two way binding in WPF applications.Abstract :In this article I will show you about two way binding in WPF application. Its very easy to do in WPF in comparison of windows Application programming.Two way binding is used when we want to update some controls property when some other related controls property change and when source property change the actual </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/8918704084598553181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/07/two-way-binding-in-wpf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/8918704084598553181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/8918704084598553181'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/07/two-way-binding-in-wpf.html' title='Two way Binding in WPF'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-ZJkPV8tLNXg/Ti7tlavrwXI/AAAAAAAAA-I/Sd6gzv1hBiw/s72-c/Temp.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-4070854160154206718</id><published>2011-07-26T19:53:00.003+05:30</published><updated>2011-07-26T20:03:17.173+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Styles in WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><title type='text'>Styles in WPF</title><summary type='text'>The following sample shows how styles can be applied at page level in WPF. The style details are encapsulated under &lt;Window.Resources&gt; tags. Each style that you create must have a unique name associated with it. This is done by the key property.Setting the Key property to unique names created unique style elements. The creation of style is very similar to the  way it is done in web </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/4070854160154206718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/07/styles-in-wpf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4070854160154206718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4070854160154206718'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/07/styles-in-wpf.html' title='Styles in WPF'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-5477630776398916632</id><published>2011-07-26T18:07:00.004+05:30</published><updated>2011-07-26T18:38:47.348+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='MessageBox'/><title type='text'>WPF Message box</title><summary type='text'>The sample demonstrates  the use of message box in WPF. it also shows the various options available for the WPF message box parameters like "caption", "image to be shown", "MessageBoxText".The code/example is self explanatory .Just copy paste the code in the XAML and it's code behind file.XAML Code&lt;Window x:Class="MessageBoxSample.MainWindow"        xmlns="http://schemas.microsoft.com/winfx/2006/</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/5477630776398916632/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/07/wpf-message-box.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/5477630776398916632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/5477630776398916632'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/07/wpf-message-box.html' title='WPF Message box'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-8974601412325139951</id><published>2011-07-25T14:29:00.002+05:30</published><updated>2011-07-25T14:35:50.832+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><category scheme='http://www.blogger.com/atom/ns#' term='ListView'/><category scheme='http://www.blogger.com/atom/ns#' term='Gridview Sort'/><title type='text'>WPF - Sort a GridView Column When a Header Is Clicked</title><summary type='text'>In this post we shall learn how to Sort a GridView Column When a Header Is ClickedThe Listview contains its view as a Gridview. The Giridview is bound to a Arraylist which is a collection of dates.The Gridview data is sorted when a header column of Giridview is clicked.Note: The declaration that says that "Sort the Gridview data when a header column is clicked is defined in Listview".XAML content</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/8974601412325139951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/07/wpf-sort-gridview-column-when-header-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/8974601412325139951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/8974601412325139951'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/07/wpf-sort-gridview-column-when-header-is.html' title='WPF - Sort a GridView Column When a Header Is Clicked'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-1115253008677876935</id><published>2011-06-03T21:09:00.000+05:30</published><updated>2011-06-03T21:11:19.276+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='index'/><category scheme='http://www.blogger.com/atom/ns#' term='cursors'/><category scheme='http://www.blogger.com/atom/ns#' term='views'/><category scheme='http://www.blogger.com/atom/ns#' term='user defines functions'/><category scheme='http://www.blogger.com/atom/ns#' term='Triggers'/><title type='text'>SQL Concepts with examples</title><summary type='text'>VIEWS--------CREATE VIEW [Current Product List] ASSELECT ProductID,ProductNameFROM ProductsWHERE Discontinued=NoINDEX------CREATE INDEX IDX_CUSTOMER_LOCATIONon CUSTOMER (City, Country)CURSORS---------Declare @name varchar(32)declare cursorname cursor read_only forselect name from Ashwinopen cursornamefetch NEXT from cursorname into @namewhile(@@Fetch_status=0)beginprint @namefetch next from </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/1115253008677876935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/06/sql-concepts-with-examples.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1115253008677876935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1115253008677876935'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/06/sql-concepts-with-examples.html' title='SQL Concepts with examples'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-4680792311077915228</id><published>2011-06-03T19:56:00.001+05:30</published><updated>2011-06-03T19:57:20.545+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='C# 3.0 Features'/><category scheme='http://www.blogger.com/atom/ns#' term='Object Initializers'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>C# 3.0 Features: Object Initializers</title><summary type='text'>C# 3.0 is just around the corner so I thought I'd start writing about a few of the features that it exposes and provide quick and concise examples of how they can be used.  Many of the new features rely on the compiler to generate code that you would have had to write in the past. This can result in significantly less code compared to C# 2.0 syntax in many cases.  Here's a list of some of the key</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/4680792311077915228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/06/c-30-features-object-initializers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4680792311077915228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4680792311077915228'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/06/c-30-features-object-initializers.html' title='C# 3.0 Features: Object Initializers'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-2720419379400426445</id><published>2011-05-25T12:58:00.001+05:30</published><updated>2011-05-25T13:06:08.685+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Extension Methods'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Extension Methods in C#</title><summary type='text'>.NET 3.5 is out which means all of the great features available in C# 3.0 are available to use now.  Here's a quick list of the main language enhancements available in C# 3.0:# Object Initializers# Automatic Properties# Extension Methods# Anonymous Types# Lambda Expressions# LINQ# Collection InitializersExtension methods allow existing classes to be extended without relying on inheritance or </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/2720419379400426445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/extension-methods-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2720419379400426445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2720419379400426445'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/extension-methods-in-c.html' title='Extension Methods in C#'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-4018756683376401992</id><published>2011-05-16T17:14:00.001+05:30</published><updated>2011-05-16T17:15:38.850+05:30</updated><title type='text'>Difference bwtween truncate and delete in SQL</title><summary type='text'></summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/4018756683376401992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/difference-bwtween-truncate-and-delete.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4018756683376401992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4018756683376401992'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/difference-bwtween-truncate-and-delete.html' title='Difference bwtween truncate and delete in SQL'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-nR7cMIsTHrM/TdEOVdayZFI/AAAAAAAAAQ4/hyN1oBj6MJQ/s72-c/truncate%2B%2Bdelete.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-1423696002119876098</id><published>2011-05-14T20:27:00.001+05:30</published><updated>2011-05-14T20:29:23.552+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='webservice'/><category scheme='http://www.blogger.com/atom/ns#' term='wcf v/s web service'/><category scheme='http://www.blogger.com/atom/ns#' term='wcf'/><title type='text'>Advantages of wcf service over web services.</title><summary type='text'>As several people asking me the WCF benefits over web services, I outlined the points here1.WCF supports more of WS-* standards than web services2.As I mentioned in the article WCF supports multiple bindings HTTP,TCP,MSMQ,WS-HTTP etc where as web service supports only HTTP.3.WCF can maintain transactions like COM+4.It has JSON integration5.It can be hosted on IIS,WAS, Self hosting and windows </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/1423696002119876098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/advantages-of-wcf-service-over-web.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1423696002119876098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1423696002119876098'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/advantages-of-wcf-service-over-web.html' title='Advantages of wcf service over web services.'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-6189401236590456020</id><published>2011-05-14T19:27:00.001+05:30</published><updated>2011-05-14T19:29:13.889+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ROW_NUMBER in sql'/><category scheme='http://www.blogger.com/atom/ns#' term='Sqlserver'/><category scheme='http://www.blogger.com/atom/ns#' term='ROW_NUMBER()'/><title type='text'>Transact-SQL :- ROW_NUMBER()</title><summary type='text'>Transact-SQL :- ROW_NUMBER() While creating query we may need a column which will hold the sequential number like 1, 2, 3… Also we may need to show that sequential number according to a particular partition. In that situation we can use the ‘ROW_NUMBER’ keyword. Below syntax can be followed :-     1.  To get sequential number irrespective of any partition.  ROW_NUMBER ( )  OVER (&lt;order_by_clause&gt;</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/6189401236590456020/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/transact-sql-rownumber.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6189401236590456020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6189401236590456020'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/transact-sql-rownumber.html' title='Transact-SQL :- ROW_NUMBER()'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-5085205469133626236</id><published>2011-05-12T02:22:00.000+05:30</published><updated>2011-05-14T02:08:58.320+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Private assembly'/><category scheme='http://www.blogger.com/atom/ns#' term='Shared assembly'/><category scheme='http://www.blogger.com/atom/ns#' term='Global Assembly cache'/><category scheme='http://www.blogger.com/atom/ns#' term='GAC'/><title type='text'>Assemblies in ASP.net</title><summary type='text'>What is an assembly?    * An Assembly is a  logical unit of code    * Assembly physically exist as DLLs or EXEs    * One assembly can contain one or more files    * The constituent files can include any file types like image files, text files etc. along with DLLs or EXEs    * When you compile your source code by default the exe/dll generated is actually an assembly    * Unless your code is </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/5085205469133626236/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/assemblies-in-aspnet.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/5085205469133626236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/5085205469133626236'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/assemblies-in-aspnet.html' title='Assemblies in ASP.net'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-3111559905217739288</id><published>2011-05-12T02:11:00.000+05:30</published><updated>2011-05-14T02:09:00.280+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Server.Transfer'/><category scheme='http://www.blogger.com/atom/ns#' term='Response.Redirect'/><title type='text'>Difference between Response.Redirect and Server.transfer</title><summary type='text'>You can transfer current users page request to another page with two methods:    * Server.Transfer (HttpServerUtility.Transfer Method)    * Response.Redirect (HttpResponse.Redirect Method)Its not always clear how these two approaches differ so let us try to clarify things a little:Response.Redirect sends HTTP code 302 down to the users browser along with the new URL location of the wanted </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/3111559905217739288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/difference-between-responseredirect-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3111559905217739288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3111559905217739288'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/difference-between-responseredirect-and.html' title='Difference between Response.Redirect and Server.transfer'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-6120598352159691177</id><published>2011-05-08T18:52:00.000+05:30</published><updated>2011-05-08T18:53:03.871+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='Reflection in c#'/><title type='text'>Reflection in c# - Detailed examples</title><summary type='text'>The Reflection API allows a C# program to inspect and manipulate itself. It can be used to effectively find all the types in an assembly and/or dynamically invoke methods in an assembly. It can at times even be used to emit Intermediate Language code on the fly so that the generated code can be executed directly.Reflection is also used to obtain information about a class and its members. </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/6120598352159691177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/reflection-in-c-detailed-examples.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6120598352159691177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6120598352159691177'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/reflection-in-c-detailed-examples.html' title='Reflection in c# - Detailed examples'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-7656153847520926048</id><published>2011-05-08T18:45:00.000+05:30</published><updated>2011-05-08T18:46:24.391+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='Reflection in c#'/><title type='text'>Reflection Examples [C#]</title><summary type='text'>This example shows how to dynamically load assembly, how to create object instance, how to invoke method or how to get and set property value.Create instance from assembly that is in your project ReferencesThe following examples create instances of DateTime class from the System assembly.[C#]// create instance of class DateTimeDateTime dateTime = (DateTime)Activator.CreateInstance(typeof(DateTime</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/7656153847520926048/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/reflection-examples-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7656153847520926048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7656153847520926048'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/reflection-examples-c.html' title='Reflection Examples [C#]'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-6523348747748186877</id><published>2011-05-08T18:41:00.001+05:30</published><updated>2011-05-08T18:44:50.892+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='Reflection in c#'/><title type='text'>Reflection in c# - part I</title><summary type='text'>Wikipedia says that "In computer science, reflection is the process by which a computer program can observe and modify its own structure and behaviour". This is exactly how Reflection in C# works, and while you may not realize it at this point, being able to examine and change information about your application during runtime, offers huge potential. Reflection, which is both a general term, as </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/6523348747748186877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/reflection-in-c-part-i.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6523348747748186877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6523348747748186877'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/reflection-in-c-part-i.html' title='Reflection in c# - part I'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-1666349564351437295</id><published>2011-05-08T17:53:00.002+05:30</published><updated>2011-05-08T17:56:14.484+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Custom Attributes'/><category scheme='http://www.blogger.com/atom/ns#' term='Attributes in c#'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Defining a custom Attribute in C#</title><summary type='text'>namespace CustomAttributes{// create custom attribute to be assigned to class members[AttributeUsage(AttributeTargets.Class |AttributeTargets.Constructor |AttributeTargets.Field |AttributeTargets.Method |AttributeTargets.Property,AllowMultiple = true)]public class BugFixAttribute : System.Attribute{// attribute constructor for positional parameterspublic BugFixAttribute(int bugID,string </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/1666349564351437295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/defining-custom-attribute-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1666349564351437295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1666349564351437295'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/defining-custom-attribute-in-c.html' title='Defining a custom Attribute in C#'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-7495718274523692215</id><published>2011-05-08T16:12:00.001+05:30</published><updated>2011-05-08T16:14:22.021+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Static'/><category scheme='http://www.blogger.com/atom/ns#' term='Singleton pattern'/><category scheme='http://www.blogger.com/atom/ns#' term='static v/s singleton'/><title type='text'>Difference between a singleton and static in C#</title><summary type='text'>Advantages of singletonsSingletons preserve the conventional class approach, and don't require that you use the static keyword everywhere. They may be more demanding to implement at first, but will greatly simplify the architecture of your program. Unlike static classes, we can use singletons as parameters or objects.Using singleton as parameter [C#]//// We want to call a function with this </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/7495718274523692215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/difference-between-singleton-and-static.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7495718274523692215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7495718274523692215'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/difference-between-singleton-and-static.html' title='Difference between a singleton and static in C#'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-8744434068252462173</id><published>2011-05-08T16:03:00.001+05:30</published><updated>2011-05-08T16:12:00.884+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Singleton pattern'/><category scheme='http://www.blogger.com/atom/ns#' term='DesignPattern'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Implementing the Singleton Pattern in C#</title><summary type='text'>Implementing the Singleton Pattern in C#The singleton pattern is one of the best-known patterns in software engineering. Essentially, a singleton is a class which only allows a single instance of itself to be created, and usually gives simple access to that instance. Most commonly, singletons don't allow any parameters to be specified when creating the instance - as otherwise a second request for</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/8744434068252462173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/implementing-singleton-pattern-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/8744434068252462173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/8744434068252462173'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/implementing-singleton-pattern-in-c.html' title='Implementing the Singleton Pattern in C#'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-2221229008715229375</id><published>2011-05-07T13:59:00.000+05:30</published><updated>2011-05-07T14:16:56.048+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Response.End'/><category scheme='http://www.blogger.com/atom/ns#' term='Response.Redirect'/><title type='text'>Using Response.Redirect and Response.End in Try...Catch block</title><summary type='text'>In ASP.NET if you are using Response.End - Used for terminating page execution or Response.Redirect - used for redirecting page to some other page, and you are including these statements in TRY... CATCH block here is what you need to remember.Problem: When Response.Redirect or Response.End is written in TRY block, code in catch block is executed.Reason:ASP.NET executes these 2 methods on Response</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/2221229008715229375/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/using-responseredirect-and-responseend.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2221229008715229375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2221229008715229375'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/using-responseredirect-and-responseend.html' title='Using Response.Redirect and Response.End in Try...Catch block'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-2539931755720706539</id><published>2011-05-07T13:46:00.002+05:30</published><updated>2011-05-07T13:48:58.425+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Performance in ASP.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Improve Perfomance in ASP.net</title><summary type='text'>While developing any web site, one should keep some points in mind.1) Set debug=false under compilation as follows:    &lt;compilation default Language="c#" debug="false"&gt;2) Use Server.Transfer instead of Response.Redirect.3) Always check Page.IsValid when using Validator Controls4) Use Foreach loop instead of For loop for String Iteration.5) Use Client-Side Validation. (but not all the time you </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/2539931755720706539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/improve-perfomance-in-aspnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2539931755720706539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2539931755720706539'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/improve-perfomance-in-aspnet.html' title='Improve Perfomance in ASP.net'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-2861012512516180452</id><published>2011-05-07T13:40:00.002+05:30</published><updated>2011-05-07T13:46:20.810+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net page life cycle'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Page Life Cycle in ASP.NET</title><summary type='text'>When a page request is sent to the Web server, the page is run through a series of events during its creation and disposal. In this article, I will discuss in detail the ASP.NET page life cycle Events (1) PreInit The entry point of the page life cycle is the pre-initialization phase called “PreInit”. This is the only event where programmatic access to master pages and themes is allowed. You can </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/2861012512516180452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/page-life-cycle-in-aspnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2861012512516180452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2861012512516180452'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/page-life-cycle-in-aspnet.html' title='Page Life Cycle in ASP.NET'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-7004119508251544905</id><published>2011-05-07T13:19:00.001+05:30</published><updated>2011-05-07T13:20:33.812+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='DesignPattern'/><category scheme='http://www.blogger.com/atom/ns#' term='Observer pattern'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Design Patterns - Observer pattern</title><summary type='text'>In this post we are going to take a look at the Observer pattern.What Is The Observer Pattern?The Observer pattern is a way for an object to notify all of it’s dependants when something changes based on a one to many relationship.The SituationContinuing to use our city dog registration software senario, one of the project’s requirements is that the dog’s owner’s be notified whenever a dog is </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/7004119508251544905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/design-patterns-observer-pattern.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7004119508251544905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7004119508251544905'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/design-patterns-observer-pattern.html' title='Design Patterns - Observer pattern'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-8786834093346836925</id><published>2011-05-07T12:16:00.001+05:30</published><updated>2011-05-07T12:18:56.900+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Abstract factory pattern'/><category scheme='http://www.blogger.com/atom/ns#' term='DesignPattern'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Design Patterns - Abstract factory pattern</title><summary type='text'>What Is An Abstract FactoryAn abstract factory contains a set of methods that create families of objects. For example you might have a DogFactory class that has various methods for creating different kinds of dogs like CreatePoodle, CreateBeagle, CreateGoldenRetriever, and CreateChocolateLab.Abstract Class Versus InterfaceBefore we get too deep into this pattern it is important to note that an </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/8786834093346836925/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/design-patterns-abstract-factory.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/8786834093346836925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/8786834093346836925'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/design-patterns-abstract-factory.html' title='Design Patterns - Abstract factory pattern'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-7642826680680473975</id><published>2011-05-06T19:05:00.001+05:30</published><updated>2011-05-06T19:29:03.940+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='DesignPattern'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='Decorator Pattern'/><title type='text'>Design Pattern- Decorator Pattern</title><summary type='text'>DefinitionThe definition of the Decorator Pattern, according to Wikipedia, is:“The decorator pattern can be used to make it possible to extend (decorate) the functionality of a class at runtime. This works by adding a new decorator class that wrapsthe original class. This wrapping is typically achieved by passing theoriginal object as a parameter to the constructor of the decorator whenit is </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/7642826680680473975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/design-pattern-decorator-pattern.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7642826680680473975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7642826680680473975'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/design-pattern-decorator-pattern.html' title='Design Pattern- Decorator Pattern'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-7988626162853643963</id><published>2011-05-06T18:53:00.001+05:30</published><updated>2011-05-06T19:05:05.253+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='DesignPattern'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Design Pattern - Definition</title><summary type='text'>What Is A Design Pattern?A design pattern is, simply, a solution to a recurring problem in software development. Design patterns outline communication and interaction between objects in common programming situations.</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/7988626162853643963/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/design-pattern-definition.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7988626162853643963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7988626162853643963'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/design-pattern-definition.html' title='Design Pattern - Definition'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-2758086343216074665</id><published>2011-05-06T18:48:00.001+05:30</published><updated>2011-05-06T18:49:47.840+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Remoting'/><category scheme='http://www.blogger.com/atom/ns#' term='Marshalling'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Difference between Marshal by value and  Marshal by reference.</title><summary type='text'>Marshal-by-value objects are copied by the remoting system and passed in their entirety to the caller's application domain. Once copied to the caller's application domain (by the marshaling process), all method calls and property accesses are executed entirely within that domain. The entire object exists in the caller's domain, so there is no need to marshal accesses across domain boundaries. </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/2758086343216074665/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/difference-between-marshal-by-value-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2758086343216074665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2758086343216074665'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/difference-between-marshal-by-value-and.html' title='Difference between Marshal by value and  Marshal by reference.'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-7875789298174837770</id><published>2011-05-06T16:38:00.001+05:30</published><updated>2011-05-06T16:41:13.446+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Remoting'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Remoting in C# -Example</title><summary type='text'>Remoting is a framework built into Common Language Runtime (CLR) in order to provide developers classes to build distributed applications and wide range of network services. Remoting provides various features such as Object Passing, Proxy Objects, Activation, Stateless and Stateful Object, Lease Based LifeTime and Hosting of Objects in IIS. I’m not going into detail of these features because it </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/7875789298174837770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/remoting-in-c-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7875789298174837770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7875789298174837770'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/remoting-in-c-example.html' title='Remoting in C# -Example'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-6314187152963812368</id><published>2011-05-06T16:34:00.002+05:30</published><updated>2011-05-06T16:38:27.335+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Remoting'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Remoting in C#</title><summary type='text'>While you are developing distributed application by csharp, you might need to have communication between objects that run in different processes..NET remoting enables client applications to use objects in other processes on the same computer or on any other computer available on its network.(MSDN)Each remoting application consist of three part:    --&gt;A remotable object.    --&gt;A host application </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/6314187152963812368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/remoting-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6314187152963812368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6314187152963812368'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/remoting-in-c.html' title='Remoting in C#'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-4533968936768836808</id><published>2011-05-05T17:08:00.000+05:30</published><updated>2011-05-05T17:09:22.390+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='machine.config'/><category scheme='http://www.blogger.com/atom/ns#' term='Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Location of machine.config file for .net framework</title><summary type='text'>The configuration files for applications are versioned using the CLR version, and not the framework library versions.  .NET 3.5 uses the same CLR version as .NET 2.0 – and so share the same root web.config file.  That is why putting the configuration settings there would cause conflicts.And here’s the locations for the machine.config for the different .NET Frameworks:For .NET Framework v1.1:C:\</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/4533968936768836808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/location-of-machineconfig-file-for-net.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4533968936768836808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4533968936768836808'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/05/location-of-machineconfig-file-for-net.html' title='Location of machine.config file for .net framework'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-506926742290309829</id><published>2011-04-19T17:16:00.002+05:30</published><updated>2011-04-19T17:24:11.115+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='access network resources'/><category scheme='http://www.blogger.com/atom/ns#' term='impersonation'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Impersonate user to access network resources</title><summary type='text'>This class can be used to perform impersonation of a user over the network and can be used to  access resources that are shared. copy paste the following class in a file,public class NetworkSecurity    {        const string USER_NAME = "Imperson_FileShare_Username";        const string PASSWORD = "Imperson_FileShare_Password";        const string LOGON_TYPE = "Imperson_logon_Type";        const </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/506926742290309829/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/04/impersonate-user-to-access-network.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/506926742290309829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/506926742290309829'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/04/impersonate-user-to-access-network.html' title='Impersonate user to access network resources'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-3684549813572991353</id><published>2011-04-10T21:41:00.003+05:30</published><updated>2011-04-10T21:49:21.219+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='foreground and background threads'/><category scheme='http://www.blogger.com/atom/ns#' term='Threads'/><title type='text'>Foreground or Background Thread</title><summary type='text'>Types of ThreadsBasically, there are two types of threads which fall into:    * Foreground Thread    * Background Thread# Foreground threads have the ability to prevent the current application from terminating. The CLR will not shut down an application (which is to say, unload the hosting AppDomain) until all foreground threads have ended.# Background threads (sometimes called daemon threads) are</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/3684549813572991353/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/04/foreground-or-background-thread.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3684549813572991353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3684549813572991353'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/04/foreground-or-background-thread.html' title='Foreground or Background Thread'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-MCfBYMQOh5M/TaHYTFSFZOI/AAAAAAAAAO8/ovteuYgDOKE/s72-c/Threads.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-7780996347291369056</id><published>2011-04-10T20:57:00.000+05:30</published><updated>2011-04-10T20:58:58.784+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Garbage collection'/><category scheme='http://www.blogger.com/atom/ns#' term='constructors'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='destructors'/><title type='text'>Garbage collector in C#</title><summary type='text'>The .NET garbage collector is known as generational garbage collector. The objects allocated are categorized into three generations. Most recently allocated objects are placed in generation 0.Objects in generation 0, that survive a garbage collection pass are moved to generation 1.generation 2 contains long-lived objects, that survive after the two collection passes.A garbage collection pass for </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/7780996347291369056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/04/garbage-collector-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7780996347291369056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7780996347291369056'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/04/garbage-collector-in-c.html' title='Garbage collector in C#'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-790491381612913568</id><published>2011-02-07T22:14:00.003+05:30</published><updated>2011-02-07T22:20:43.330+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Services'/><category scheme='http://www.blogger.com/atom/ns#' term='wcf'/><category scheme='http://www.blogger.com/atom/ns#' term='hosting'/><category scheme='http://www.blogger.com/atom/ns#' term='iis'/><title type='text'>WCF Hosting methods</title><summary type='text'>Below is the table showcasing different ways in which WCF services can be hosted. It also explains which hosting to be used based on our requirements.</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/790491381612913568/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/02/wcf-hosting-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/790491381612913568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/790491381612913568'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/02/wcf-hosting-methods.html' title='WCF Hosting methods'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_E-qgQ-mJCBI/TVAiy--DIvI/AAAAAAAAAJg/ISjhoAsR4Ls/s72-c/HOSTING_WCF.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-4026512397755820726</id><published>2011-02-01T16:26:00.001+05:30</published><updated>2011-02-01T16:28:18.872+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='int.tryparse'/><category scheme='http://www.blogger.com/atom/ns#' term='convert.toint'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='Int.parse'/><title type='text'>Difference Between Int32.Parse(), Convert.ToInt32(), and Int32.TryParse()</title><summary type='text'>IntroductionInt32.parse(string)Int32.Parse (string s) method converts the string representation of a number to its 32-bit signed integer equivalent. When s is a null reference, it will throw ArgumentNullException. If s is other than integer value, it will throw FormatException. When s represents a number less than MinValue or greater than MaxValue, it will throw OverflowException. For example:</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/4026512397755820726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/02/difference-between-int32parse.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4026512397755820726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4026512397755820726'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/02/difference-between-int32parse.html' title='Difference Between Int32.Parse(), Convert.ToInt32(), and Int32.TryParse()'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-3791005445865890</id><published>2011-01-05T00:49:00.004+05:30</published><updated>2011-01-05T01:02:36.693+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='FTP'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Building a Simple FTP Application Using C# 2.0</title><summary type='text'>IntroductionAn addition to the Microsoft .NET Framework 2.0 to 1.x is the support for FTP. All these days we had to rely on 3rd party libraries which suited most of our needs, but for sure, there is an extra pleasure using the .net framework library classes. The code included is not designed to be a full-fledged reusable library, but rather an easy to use and reusable pieces of code which is </summary><link rel='enclosure' type='' href='http://aspalliance.com/1187_Building_a_Simple_FTP_Application_Using_C_20.all' length='0'/><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/3791005445865890/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/01/building-simple-ftp-application-using-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3791005445865890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3791005445865890'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/01/building-simple-ftp-application-using-c.html' title='Building a Simple FTP Application Using C# 2.0'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-6517769274779882</id><published>2011-01-05T00:18:00.001+05:30</published><updated>2011-01-05T00:21:04.976+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='cookies'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Cookies - background color selector</title><summary type='text'>Cookies are small pieces of text, stored on the client's computer to be used only by the website setting the cookies. This allows webapplications to save information for the user, and then re-use it on each page if needed. Here is an example where we save a users choice of background color: &lt;%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %&gt;&lt;!DOCTYPE </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/6517769274779882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/01/cookies-background-color-selector.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6517769274779882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6517769274779882'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/01/cookies-background-color-selector.html' title='Cookies - background color selector'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-1688017644774026318</id><published>2011-01-04T23:44:00.002+05:30</published><updated>2011-01-04T23:50:33.418+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Page.Validate'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net validation controlsPage.IsValid'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Page.IsValid and Page.Validate methods</title><summary type='text'>ASP.net ships with a couple of validator controls that allow you to determine whether the value of the input controls they are validating is valid.Here is a simple example of a TextBox control with a RequiredFieldValidator attached and a Button control.&lt;asp:TextBox ID="TextBox1" runat="server" ValidationGroup="MyValidationGroup"&gt;&lt;/asp:TextBox&gt;&lt;asp:RequiredFieldValidator ID="</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/1688017644774026318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/01/pageisvalid-and-pagevalidate-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1688017644774026318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1688017644774026318'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2011/01/pageisvalid-and-pagevalidate-methods.html' title='Page.IsValid and Page.Validate methods'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-6436895192570193901</id><published>2010-10-17T18:38:00.001+05:30</published><updated>2010-10-17T18:39:39.899+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Threads'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Thread.Join</title><summary type='text'>What is Thread.Join() in threading ?There are two versions of Thread.Join :-. Thread.join().. Thread.join(Integer) this returns a Boolean value.The Thread.Join method is useful for determining if a thread has completed before starting another task. The Join method waits a specified amount of time for a thread to end. If the thread ends before the time-out, Join returns true; otherwise it returns </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/6436895192570193901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/10/threadjoin.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6436895192570193901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6436895192570193901'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/10/threadjoin.html' title='Thread.Join'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-5043341574667374656</id><published>2010-10-11T14:34:00.002+05:30</published><updated>2010-10-11T14:37:36.198+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Gridview'/><title type='text'>Add a Row Number to the GridView</title><summary type='text'>Here’s a simple way to add a Row Number to the GridView. Just add the following tags to your  section of your GridViewColumns&gt;                            &lt;asp:TemplateField HeaderText="RowNumber"&gt;            &lt;ItemTemplate&gt;                 &lt;%# Container.DataItemIndex + 1 %&gt;            &lt;/ItemTemplate&gt;     &lt;/asp:TemplateField&gt;     ...&lt;/Columns&gt;and you will get the following output</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/5043341574667374656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/10/add-row-number-to-gridview.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/5043341574667374656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/5043341574667374656'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/10/add-row-number-to-gridview.html' title='Add a Row Number to the GridView'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_E-qgQ-mJCBI/TLLTpJFK3xI/AAAAAAAAAIM/UBeQvwu1BN4/s72-c/Gridview_Col_autorownumber.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-3369945480378292372</id><published>2010-10-11T14:14:00.003+05:30</published><updated>2010-10-11T14:22:13.222+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Retrieve DIV value in ASP.NET using jQuery</title><summary type='text'>In this example, we will see how to retrieve and display the value of a div in an alert box, on the button click event. &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;head runat="server"&gt;    &lt;title&gt;Retrieve Value of DIV in ASP.NET&lt;/title&gt;    &lt;script type="text/javascript"    src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js"&gt;&lt;/script&gt;&lt;script type="text/javascript"&gt;$(function() {</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/3369945480378292372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/10/retrieve-div-value-in-aspnet-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3369945480378292372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3369945480378292372'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/10/retrieve-div-value-in-aspnet-using.html' title='Retrieve DIV value in ASP.NET using jQuery'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-2998625206181224289</id><published>2010-09-06T12:51:00.000+05:30</published><updated>2010-09-06T12:53:45.392+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='RegisterStartupScript'/><category scheme='http://www.blogger.com/atom/ns#' term='RegisterClientScriptBlock'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>RegisterClientScriptBlock and RegisterStartupScript</title><summary type='text'>&lt;span style="font-weight:bold;"&gt;RegisterClientScriptBlock and RegisterStartupScript&lt;/span&gt;I will try to explain the difference between RegisterClientScriptBlock and RegisterStartupScript . I have experienced the difference while I was doing some stuffs yesterday. Here is what I was doing. I had a hidden field called txtHiddenField, an update button and some tabs in my page. I also have a </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/2998625206181224289/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/09/registerclientscriptblock-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2998625206181224289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2998625206181224289'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/09/registerclientscriptblock-and.html' title='RegisterClientScriptBlock and RegisterStartupScript'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-8119029987073329234</id><published>2010-08-10T22:11:00.003+05:30</published><updated>2010-08-10T22:22:05.880+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Transactions in wcf'/><category scheme='http://www.blogger.com/atom/ns#' term='TransactionFlow'/><category scheme='http://www.blogger.com/atom/ns#' term='wcf'/><title type='text'>Implementing transactions in WCF part - II</title><summary type='text'>Flowing Transactions Across OperationsIn part - I we saw how transactions can be implemented if the scope of the call is within the same service. However if a call requires that a transaction is completed only if calls to two different services succeeds requires a little extra config and code changes which are explained below.When working with distributed systems, transactions sometimes must span</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/8119029987073329234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/08/implementing-transactions-in-part-ii.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/8119029987073329234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/8119029987073329234'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/08/implementing-transactions-in-part-ii.html' title='Implementing transactions in WCF part - II'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-2440327964522368620</id><published>2010-08-10T21:50:00.004+05:30</published><updated>2010-08-10T22:03:34.785+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Transactions in wcf'/><category scheme='http://www.blogger.com/atom/ns#' term='acid transactions'/><category scheme='http://www.blogger.com/atom/ns#' term='ACID properties'/><category scheme='http://www.blogger.com/atom/ns#' term='wcf'/><title type='text'>Implementing transactions in WCF - Part I</title><summary type='text'>Transactional Operations Within a ServiceTransactional service operations succeed or fail as a unit. They are initiatedby one party, which assumes that the result will be consistent, whether theoperation succeeds or fails.Figure below depicts pseudo code of this behavior.The client opens a connection to the service and calls its transfer method. Transfer executes a debit, a credit, and then marks</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/2440327964522368620/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/08/implementing-transactions-in-wcf-part-i.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2440327964522368620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2440327964522368620'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/08/implementing-transactions-in-wcf-part-i.html' title='Implementing transactions in WCF - Part I'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_E-qgQ-mJCBI/TGF88PZHC3I/AAAAAAAAAHc/ibnHBvC05iI/s72-c/Transactions_WCF.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-7722747990667931894</id><published>2010-08-06T15:35:00.002+05:30</published><updated>2010-08-06T16:09:28.898+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='MTOM'/><category scheme='http://www.blogger.com/atom/ns#' term='text encoding'/><category scheme='http://www.blogger.com/atom/ns#' term='wcf Encoders'/><category scheme='http://www.blogger.com/atom/ns#' term='binary encoding'/><category scheme='http://www.blogger.com/atom/ns#' term='wcf'/><title type='text'>Choosing a Message Encoder</title><summary type='text'>This topic discusses criteria for choosing among the message encoders that are included in Windows Communication Foundation (WCF): binary, text, and Message Transmission Optimization Mechanism (MTOM).In WCF, you specify how to transfer data across a network between endpoints by means of a binding, which is made up of a sequence of binding elements. A message encoder is represented by a message </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/7722747990667931894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/08/choosing-message-encoder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7722747990667931894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7722747990667931894'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/08/choosing-message-encoder.html' title='Choosing a Message Encoder'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_E-qgQ-mJCBI/TFvmBdhG5cI/AAAAAAAAAHU/gD7Zn8ovc9o/s72-c/Encoders.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-1356789149676971844</id><published>2010-08-06T14:40:00.001+05:30</published><updated>2010-08-06T14:45:51.493+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Message Security'/><category scheme='http://www.blogger.com/atom/ns#' term='security in wcf'/><category scheme='http://www.blogger.com/atom/ns#' term='wcf'/><category scheme='http://www.blogger.com/atom/ns#' term='transport security'/><title type='text'>Comparision between message and transport security.</title><summary type='text'>Pros and Cons of Transport-Level SecurityTransport security has the following advantages:    * Does not require that the communicating parties understand XML-level security concepts. This can improve the interoperability, for example, when HTTPS is used to secure the communication.    * Generally improved performance.    * Hardware accelerators are available.    * Streaming is possible.Transport </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/1356789149676971844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/08/comparision-between-message-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1356789149676971844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1356789149676971844'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/08/comparision-between-message-and.html' title='Comparision between message and transport security.'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-6679734163242827529</id><published>2010-08-06T14:30:00.002+05:30</published><updated>2010-08-06T14:33:31.380+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Message Security'/><category scheme='http://www.blogger.com/atom/ns#' term='wcf'/><title type='text'>Message Security in WCF</title><summary type='text'>Windows Communication Foundation (WCF) has two major modes for providing security (Transport and Message) and a third mode (TransportWithMessageCredential) that combines the two. This topic discusses message security and the reasons to use it. What Is Message Security?Message security uses the WS-Security specification to secure messages. The specification describes enhancements to SOAP messaging</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/6679734163242827529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/08/message-security-in-wcf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6679734163242827529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6679734163242827529'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/08/message-security-in-wcf.html' title='Message Security in WCF'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-4699530159111767227</id><published>2010-08-06T11:28:00.003+05:30</published><updated>2010-08-06T11:32:41.232+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='acid transactions'/><category scheme='http://www.blogger.com/atom/ns#' term='ACID properties'/><category scheme='http://www.blogger.com/atom/ns#' term='wcf'/><title type='text'>ACID properties</title><summary type='text'>The ACID Properties are explained below,Atomic: All updates within the transaction are successful, or they’re all rolled back. No partial updates are allowed. For instance, in a bank transfer, if the debit succeeds but the credit fails, the debit is rolled back so money isn’t created or lost.Consistent : After the operation, all data is valid according to the business rules. For instance, in a </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/4699530159111767227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/08/acid-properties.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4699530159111767227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4699530159111767227'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/08/acid-properties.html' title='ACID properties'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-3776170691258739320</id><published>2010-08-05T13:25:00.001+05:30</published><updated>2010-08-05T13:29:09.795+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='wcf'/><category scheme='http://www.blogger.com/atom/ns#' term='ignoreExtensionDataObject'/><category scheme='http://www.blogger.com/atom/ns#' term='dataContarctSeralizer'/><title type='text'>Use of ignoreExtensionDataObject in WCF</title><summary type='text'>In wcf we can chnage the existing datacontarcts and yet maintain compatability with old clients with the help of extensiondata object genereatedin the proxy.Below is an example that describes it and also explains the use of  dataContarctSeralizer ignoreExtensionDataObject,In wcf we can change the existing data contratcs as per new needs . The chnages can be classified as breaking chnages and </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/3776170691258739320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/08/use-of-ignoreextensiondataobject-in-wcf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3776170691258739320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3776170691258739320'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/08/use-of-ignoreextensiondataobject-in-wcf.html' title='Use of ignoreExtensionDataObject in WCF'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-7948277002129839937</id><published>2010-08-04T17:04:00.003+05:30</published><updated>2010-08-04T17:12:28.907+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='WsDualHttpBinding'/><category scheme='http://www.blogger.com/atom/ns#' term='wcf'/><title type='text'>WsDualHttpBinding in WCF</title><summary type='text'>Below is the complete code both the server and the client.Server codeusing System;using System.ServiceModel;namespace Microsoft.ServiceModel.Samples{    // Define a duplex service contract.    // A duplex contract consists of two interfaces.    // The primary interface is used to send messages from client to service.    // The callback interface is used to send messages from service back to </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/7948277002129839937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/08/wsdualhttpbinding-in-wcf.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7948277002129839937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7948277002129839937'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/08/wsdualhttpbinding-in-wcf.html' title='WsDualHttpBinding in WCF'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-3776916263282807600</id><published>2010-08-03T16:18:00.002+05:30</published><updated>2010-08-03T16:24:00.255+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='httpgetenabled'/><category scheme='http://www.blogger.com/atom/ns#' term='svcutil'/><category scheme='http://www.blogger.com/atom/ns#' term='Mexendpoint'/><category scheme='http://www.blogger.com/atom/ns#' term='wcf'/><title type='text'>Adding a mex endpint and httgGetEnabled in wcf service</title><summary type='text'>The Metadata Exchange Endpoint (MEX) is a special endpoint in WCF that exposes metadata used to describe a service.  In previous releases of WCF, the MEX was implicitly added to all services.  However, due to security reasons, it is no longer exposed by default as of RC1.  Without the MEX, you will not be able to use svcutil.exe to automatically generate a proxy class.  Fortunately, it is a </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/3776916263282807600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/08/adding-mex-endpint-and-httggetenabled.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3776916263282807600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3776916263282807600'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/08/adding-mex-endpint-and-httggetenabled.html' title='Adding a mex endpint and httgGetEnabled in wcf service'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-4271915814846416505</id><published>2010-07-29T12:11:00.002+05:30</published><updated>2010-07-29T12:15:33.730+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='unzip'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='zip'/><category scheme='http://www.blogger.com/atom/ns#' term='icsharpcode'/><title type='text'>Zip and Unzip files using IcsharpCode</title><summary type='text'>Add a referece to the DLL Ichsarpcode.SharpZipLib in either your project where  you want to use it else add it in GAC.Code to compress/Zip  private static void CompressZip(string sPath)        {            ZipOutputStream zipOut = new ZipOutputStream(File.Create(@"C:\ZippedContents\test.zip"));            foreach (string fName in Directory.GetFiles(sPath))            {                         </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/4271915814846416505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/07/zip-and-unzip-files-using-icsharpcode.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4271915814846416505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4271915814846416505'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/07/zip-and-unzip-files-using-icsharpcode.html' title='Zip and Unzip files using IcsharpCode'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-4046664280907394905</id><published>2010-07-20T22:02:00.003+05:30</published><updated>2010-07-20T22:06:43.955+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='selfhosting'/><category scheme='http://www.blogger.com/atom/ns#' term='wcf'/><category scheme='http://www.blogger.com/atom/ns#' term='hosting'/><category scheme='http://www.blogger.com/atom/ns#' term='iis'/><title type='text'>Advantages of hosting WCF Services in IIS as compared to self-hosting?</title><summary type='text'>what are the advantages of hosting WCF Services in IIS as compared to self-hosting?Automatic activationIIS provides automatic activation that means the service is not necessary to be running in advance. When any message is received by the service it then launches and fulfills the request. But in case of self hosting the service should always be running. Process recyclingIf IIS finds that a </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/4046664280907394905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/07/advantages-of-hosting-wcf-services-in.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4046664280907394905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4046664280907394905'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/07/advantages-of-hosting-wcf-services-in.html' title='Advantages of hosting WCF Services in IIS as compared to self-hosting?'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_E-qgQ-mJCBI/TEXQVOpv__I/AAAAAAAAAHM/YhX1b1Nhx6Y/s72-c/IISRecycle.PNG' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-970596758598481293</id><published>2010-06-28T11:44:00.003+05:30</published><updated>2010-06-28T11:48:32.738+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='wcf'/><category scheme='http://www.blogger.com/atom/ns#' term='bindings'/><title type='text'>Choosing the right WCF binding</title><summary type='text'>A WCF binding is the endpoint component that defines how the client needs to communicate with the service. It groups settings such as underlying transport protocol, security requirements, and message encoding.WCF provides nine built-in bindings: 1.BasicHttpBinding: Basic web service communication. Exposes WCF services as legacy ASMX web services. Used for interoperability. No security by default</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/970596758598481293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/06/choosing-right-wcf-binding.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/970596758598481293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/970596758598481293'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/06/choosing-right-wcf-binding.html' title='Choosing the right WCF binding'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_E-qgQ-mJCBI/TCg-XaaZvDI/AAAAAAAAAGo/DGQcPeimtyU/s72-c/WCFBindings.jpg' height='72' width='72'/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-7041416374901488739</id><published>2010-05-05T11:39:00.003+05:30</published><updated>2010-05-05T11:43:09.555+05:30</updated><title type='text'>XML Serialization Code</title><summary type='text'>The following code serializes a object and stores it in c drive(C:). Note: if you are using IIS 5 then set permission to write to that file or folder by adding computername\ASAPNET as one of the user for that file or folder . IF using IIS 6 then add "NETWORK SERVICE" as a user to the file or folder.Code// Create a new XmlSerializer instance with the type of the test class                    </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/7041416374901488739/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/05/xml-serialization-code.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7041416374901488739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/7041416374901488739'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/05/xml-serialization-code.html' title='XML Serialization Code'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-8765353342640584172</id><published>2010-04-11T11:25:00.002+05:30</published><updated>2010-04-11T11:28:56.942+05:30</updated><title type='text'>Understanding Garbage Collection in C#</title><summary type='text'>IntroductionAll the garbage collection  mechanisms have one thing in common, that is they take the  responsibility of tracking memory usage.Understanding  Garbage CollectionThe .NET garbage collector is optimized for  the following assumptions1. Objects that were recently allocated  are most likely to be freed.2. Objects that have lived the longest  are least likely to be become free.3. Objects </summary><link rel='related' href='http://www.dotnetspider.com/resources/1149-Understanding-Garbage-Collection-C.aspx' title='Understanding Garbage Collection in C#'/><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/8765353342640584172/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/04/understanding-garbage-collection-in-c.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/8765353342640584172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/8765353342640584172'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2010/04/understanding-garbage-collection-in-c.html' title='Understanding Garbage Collection in C#'/><author><name>Mahesh</name><uri>http://www.blogger.com/profile/08335715247556772524</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/_O5RQ4P7X6RA/SdH5HcMrqnI/AAAAAAAAAM8/CBgg8SmBlN4/S220/CIMG0062.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-3628618953629960811</id><published>2009-09-04T18:40:00.000+05:30</published><updated>2009-09-04T18:41:28.326+05:30</updated><title type='text'>When to use Interfaces and abstract class</title><summary type='text'>*  If you anticipate creating multiple versions of your component, create an abstract class. Abstract classes provide a simple and easy way to version your components. By updating the base class, all inheriting classes are automatically updated with the change. Interfaces, on the other hand, cannot be changed once created. If a new version of an interface is required, you must create a whole new </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/3628618953629960811/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/09/when-to-use-interfaces-and-abstract.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3628618953629960811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3628618953629960811'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/09/when-to-use-interfaces-and-abstract.html' title='When to use Interfaces and abstract class'/><author><name>Damodar</name><uri>http://www.blogger.com/profile/09912498880898840205</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-1236694594889336786</id><published>2009-08-03T14:12:00.004+05:30</published><updated>2009-08-03T14:24:39.285+05:30</updated><title type='text'>Keeping Session Alive On a Critical Page</title><summary type='text'>Sometimes you want your web page to 'stay alive'. That is, if a user is filling out a complicated form, you do not want the session to time out before they are finished. The user could get very angry and rightfully so: You might even get yelled at!It's not simply a matter of increasing the session timeout to a very large value. If you do that, the sessions would be left active in the server </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/1236694594889336786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/08/keeping-session-alive-on-critical-page.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1236694594889336786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1236694594889336786'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/08/keeping-session-alive-on-critical-page.html' title='Keeping Session Alive On a Critical Page'/><author><name>Damodar</name><uri>http://www.blogger.com/profile/09912498880898840205</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-9178378020980048936</id><published>2009-07-06T16:55:00.002+05:30</published><updated>2009-07-06T17:03:24.600+05:30</updated><title type='text'>Lambda Expressions</title><summary type='text'>A lambda expression is an anonymous function that can contain expressions and statements, and can be used to create delegates or expression tree types.All lambda expressions use the lambda operator =&gt;, which is read as "goes to". The left side of the lambda operator specifies the input parameters (if any) and the right side holds the expression or statement block. The lambda expression x =&gt; x * x</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/9178378020980048936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/07/lambda-expressions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/9178378020980048936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/9178378020980048936'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/07/lambda-expressions.html' title='Lambda Expressions'/><author><name>Damodar</name><uri>http://www.blogger.com/profile/09912498880898840205</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-4782292012164287253</id><published>2009-06-30T14:49:00.002+05:30</published><updated>2009-06-30T14:53:13.532+05:30</updated><title type='text'>Javascript function to find client time</title><summary type='text'>The Date object is useful when you want to display a date or use a timestamp in some sort of calculation. In Java, you can either make a Date object by supplying the date of your choice, or you can let JavaScript create a Date object based on your visitor's system clock. It is usually best to let JavaScript simply use the system clock.When creating a Date object based on the computer's (not web </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/4782292012164287253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/06/javascript-function-to-find-client-time.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4782292012164287253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4782292012164287253'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/06/javascript-function-to-find-client-time.html' title='Javascript function to find client time'/><author><name>Damodar</name><uri>http://www.blogger.com/profile/09912498880898840205</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-1069617446671837607</id><published>2009-06-25T22:05:00.001+05:30</published><updated>2009-06-25T22:07:07.797+05:30</updated><title type='text'>Difference between Ref and Out Parameter</title><summary type='text'>Ref and out parameter passing modes are used to allow a method to alter variables passed in by the caller. The difference between ref and out is subtle but important. Each parameter passing mode is designed to apply to a slightly different programming scenario. The important difference between out and ref parameters is the definite assignment rules used by each.The caller of a method which takes </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/1069617446671837607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/06/difference-between-ref-and-out.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1069617446671837607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1069617446671837607'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/06/difference-between-ref-and-out.html' title='Difference between Ref and Out Parameter'/><author><name>Damodar</name><uri>http://www.blogger.com/profile/09912498880898840205</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-2984949621244827628</id><published>2009-06-04T20:32:00.003+05:30</published><updated>2009-06-04T20:51:44.968+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='coalesce'/><category scheme='http://www.blogger.com/atom/ns#' term='Sqlserver'/><title type='text'>Use of  Coalesce function in SQL Server</title><summary type='text'>The basic syntax of the coalesce function is a s  follows...select ( exp1, exp2,,,expn)as someresult from tableThe function selects the first not null value of the expressions specified.say you have a table called employee and his salary based on his job type can be inserted in either of the 3 columns stored ina  table in sqlserver . Say the columns are col1, col2, col3....so st select his/her </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/2984949621244827628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/06/use-of-coalesce-function-in-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2984949621244827628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2984949621244827628'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/06/use-of-coalesce-function-in-sql-server.html' title='Use of  Coalesce function in SQL Server'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_E-qgQ-mJCBI/Sifl8Kq9yPI/AAAAAAAAAD4/4-OyYjzchLQ/s72-c/coalesce.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-3019707078443168154</id><published>2009-06-03T14:53:00.003+05:30</published><updated>2009-06-03T14:59:01.023+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='template columns'/><category scheme='http://www.blogger.com/atom/ns#' term='checkbox'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Gridview'/><title type='text'>Check and uncheck All checkboxes in gridview including header checkbox</title><summary type='text'>This is a common requirement in every project  that is if a header checkbox is selected in the gridview its child checkboxes also should get selected and if any child checkbox is unchecked the header checkbox should get unchecked automatically.Note:    * Just Copy Paste the code as it is in respective pages.    * The code is self Explainable.    * Run the page and  work on the check boxes.ASPX </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/3019707078443168154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/06/check-and-uncheck-all-checkboxes-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3019707078443168154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3019707078443168154'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/06/check-and-uncheck-all-checkboxes-in.html' title='Check and uncheck All checkboxes in gridview including header checkbox'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-6987784195189857662</id><published>2009-06-03T10:25:00.001+05:30</published><updated>2009-06-03T10:27:24.858+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='MD2'/><category scheme='http://www.blogger.com/atom/ns#' term='sha1'/><category scheme='http://www.blogger.com/atom/ns#' term='MD4'/><category scheme='http://www.blogger.com/atom/ns#' term='MD5'/><category scheme='http://www.blogger.com/atom/ns#' term='SHA'/><category scheme='http://www.blogger.com/atom/ns#' term='Hashvalue'/><category scheme='http://www.blogger.com/atom/ns#' term='Sqlserver'/><category scheme='http://www.blogger.com/atom/ns#' term='HashBytes'/><title type='text'>Generate a HASH value using SQL Server 2005/2008</title><summary type='text'>Do you want to pass a string and generate a HASH value from it using SQL Server? Here’s a very simple way of doing so using HashBytes. Let us see this with an example:DECLARE @SomeValue nvarchar(50);SELECT @SomeValue = 'SQLServerCurry';SELECT HashBytes('SHA1', @SomeValue);GOgenerates an output0x51FD96B1BD5CE0003370551D5498BA3C0E64BE4CUsing HashBytes, you can use algorithms like MD2, MD4, MD5, SHA</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/6987784195189857662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/06/generate-hash-value-using-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6987784195189857662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6987784195189857662'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/06/generate-hash-value-using-sql-server.html' title='Generate a HASH value using SQL Server 2005/2008'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-1128119403597588854</id><published>2009-05-29T21:22:00.002+05:30</published><updated>2009-05-29T21:24:22.446+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='c# asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Refactoring code'/><title type='text'>Refactoring code in c#</title><summary type='text'>Reflectoring into SqlConnection shows it closes open connections in Dispose().  So, here's the before and after code.  I think it shows good examples on why the using statement exists, and when to avoid (hide) superfluous try/catches. BEFORE private void RunScriptOnDB(string filename,string DB){    SqlConnection sqlcon = new SqlConnection();    sqlcon.ConnectionString ="Persist Security Info=</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/1128119403597588854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/refactoring-code-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1128119403597588854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1128119403597588854'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/refactoring-code-in-c.html' title='Refactoring code in c#'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-6579644818898941120</id><published>2009-05-28T15:50:00.000+05:30</published><updated>2009-05-28T15:51:01.155+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='linq distinct'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='LINQ'/><title type='text'>Using Distinct in LINQ</title><summary type='text'>The code is self explanatory.....List ages = new List { 21, 46, 46, 55, 17, 21, 55, 55 };IEnumerable distinctAges = ages.Distinct();Console.WriteLine("Distinct ages:");foreach (int age in distinctAges){    Console.WriteLine(age);}/* This code produces the following output: Distinct ages: 21 46 55 17*/</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/6579644818898941120/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/using-distinct-in-linq.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6579644818898941120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6579644818898941120'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/using-distinct-in-linq.html' title='Using Distinct in LINQ'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-1587986318506164617</id><published>2009-05-28T15:48:00.000+05:30</published><updated>2009-05-28T15:49:41.499+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='linq count'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='LINQ'/><title type='text'>Using Count in LINQ</title><summary type='text'>The code is self explanatory....string[] fruits = { "apple", "banana", "mango", "orange", "passionfruit", "grape" };try{    int numberOfFruits = fruits.Count();    Console.WriteLine(        "There are {0} fruits in the collection.",        numberOfFruits);}catch (OverflowException){    Console.WriteLine("The count is too large to store as an Int32.");    Console.WriteLine("Try using the LongCount</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/1587986318506164617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/using-count-in-linq.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1587986318506164617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1587986318506164617'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/using-count-in-linq.html' title='Using Count in LINQ'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-1778785516505086363</id><published>2009-05-28T15:45:00.002+05:30</published><updated>2009-05-28T15:47:26.390+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='cast'/><category scheme='http://www.blogger.com/atom/ns#' term='LINQ'/><title type='text'>Using Cast in LINQ</title><summary type='text'>Here is an example showing how to use cast function in LINQ using method syntaxSystem.Collections.ArrayList fruits = new System.Collections.ArrayList();fruits.Add("apple");fruits.Add("mango");IEnumerable&lt;string&gt; query =    fruits.Cast&lt;string&gt;().Select(fruit =&gt; fruit);foreach (string fruit in query){    Console.WriteLine(fruit);}// This code produces the following output://// apple// mango</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/1778785516505086363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/using-cast-in-linq.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1778785516505086363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1778785516505086363'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/using-cast-in-linq.html' title='Using Cast in LINQ'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-2028419883749509952</id><published>2009-05-28T15:40:00.003+05:30</published><updated>2009-05-28T15:43:45.427+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='query sysntax'/><category scheme='http://www.blogger.com/atom/ns#' term='linq group by'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='method syntax'/><category scheme='http://www.blogger.com/atom/ns#' term='LINQ'/><title type='text'>Using query expression  and  method based syntax in LINQ</title><summary type='text'>The following example shows both the query expression syntax to work with LINQ as well as method based.The source is an string which is split into an array and queried using group by clause.The code is self explanatory.....string sentence = "the quick brown fox jumps over the lazy dog";// Split the string into individual words to create a collection.string[] words = sentence.Split(' ');// Using </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/2028419883749509952/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/using-query-expression-and-method-based.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2028419883749509952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/2028419883749509952'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/using-query-expression-and-method-based.html' title='Using query expression  and  method based syntax in LINQ'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-4571618203065190972</id><published>2009-05-28T13:06:00.002+05:30</published><updated>2009-05-28T13:08:32.007+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='linq to xml'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='LINQ'/><title type='text'>Transforming in-Memory Objects into XML using LINQ</title><summary type='text'>LINQ queries make it easy to transform data between in-memory data structures, SQL databases, ADO.NET Datasets and XML streams or documents. The following example transforms objects in an in-memory data structure into XML elements.class XMLTransform{    static void Main()    {                    // Create the data source by using a collection initializer.        List&lt;Student&gt; students = new List&lt;</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/4571618203065190972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/transforming-in-memory-objects-into-xml.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4571618203065190972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4571618203065190972'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/transforming-in-memory-objects-into-xml.html' title='Transforming in-Memory Objects into XML using LINQ'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-4657274625410449496</id><published>2009-05-28T13:00:00.002+05:30</published><updated>2009-05-28T13:05:19.285+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='LINQ'/><title type='text'>Data Transformations using LINQ</title><summary type='text'>Joining Multiple Inputs into One Output Sequence You can use a LINQ query to create an output sequence that contains elements from more than one input sequence. The following example shows how to combine two in-memory data structures, but the same principles can be applied to combine data from XML or SQL or DataSet sources. Assume the following two class types:C#Copy Codeclass Student{    public </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/4657274625410449496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/data-transformations-using-linq.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4657274625410449496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4657274625410449496'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/data-transformations-using-linq.html' title='Data Transformations using LINQ'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-3449154554226580613</id><published>2009-05-28T09:53:00.003+05:30</published><updated>2009-05-28T10:06:35.136+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='Sqlserver'/><category scheme='http://www.blogger.com/atom/ns#' term='xml datatype'/><title type='text'>Creating and Inserting XML data in SQL Server 2005/2008</title><summary type='text'>With the XML data type introduced in SQL Server 2005/2008, storing XML data is quite simple as you no longer need to now store XML in the database as Binary formats.Let's quickly see how to create a table with the XML data type and store an XML document in that table.DECLARE @TT TABLE(ID int,Name varchar(30),Address XML) INSERT @TTSELECT 1, 'Jason', CAST('&lt;Address Street1="342A NW AXE STREET" PIN</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/3449154554226580613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/creating-and-inserting-xml-data-in-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3449154554226580613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/3449154554226580613'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/creating-and-inserting-xml-data-in-sql.html' title='Creating and Inserting XML data in SQL Server 2005/2008'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_E-qgQ-mJCBI/Sh4UYhIlRRI/AAAAAAAAADw/YXgJzx1qpT8/s72-c/xml+data+from+sql.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-353178316191906615</id><published>2009-05-27T20:57:00.002+05:30</published><updated>2009-05-27T21:02:41.360+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='LINQ to objects'/><category scheme='http://www.blogger.com/atom/ns#' term='LINQ'/><title type='text'>Introduction to LINQ</title><summary type='text'>The following is an console application that explains the basics of writing queries in LINQ.Add a new console application to your solution and copy paste the code in a class and run the project. Each section describes different clauses we can use while writing queries. Also it shows the following   1.Use query syntax.   2.Use method syntax.   3.Use a combination of query syntax and method syntax.</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/353178316191906615/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/introduction-to-linq.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/353178316191906615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/353178316191906615'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/introduction-to-linq.html' title='Introduction to LINQ'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-1752280607381758827</id><published>2009-05-26T16:36:00.002+05:30</published><updated>2009-05-27T21:03:40.847+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pageload'/><category scheme='http://www.blogger.com/atom/ns#' term='page unload'/><category scheme='http://www.blogger.com/atom/ns#' term='preinit'/><category scheme='http://www.blogger.com/atom/ns#' term='savedviewstate'/><category scheme='http://www.blogger.com/atom/ns#' term='init'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net page life cycle'/><title type='text'>Ajax Page Life Cycle Event</title><summary type='text'>IntroductionThis article explains the Client Life Cycle of Ajax Script Manager and Update Control. And also it explains the page life cycle when a partial postback happens because of ajax control, and the control over the events as a devoloper.The Page Life Cycle of Client[Browser]We all know the normal asp.net page life cycle events. the ajax controls will have more events added to that existing</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/1752280607381758827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/ajax-page-life-cycle-event.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1752280607381758827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1752280607381758827'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/ajax-page-life-cycle-event.html' title='Ajax Page Life Cycle Event'/><author><name>Damodar</name><uri>http://www.blogger.com/profile/09912498880898840205</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-6384538673759573032</id><published>2009-05-25T16:46:00.002+05:30</published><updated>2009-05-25T16:54:17.353+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sqlserver'/><category scheme='http://www.blogger.com/atom/ns#' term='order by'/><category scheme='http://www.blogger.com/atom/ns#' term='Rownumber'/><title type='text'>Using RowNumber to obtain alternate rows based on column value</title><summary type='text'>This was a strange requirement from the client ...she needed the output from the employee table as  follows...empname      genderEmp1      MEmp2      FEmp3      MEmp4      FThanks to subramanyam and vinod who solved this for me....select name,gender, Row_number() over (order by gender) AS x from tblEmp Where Gender = 'M'UNIONselect name,gender, Row_number() over (order by gender) AS x  from </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/6384538673759573032/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/using-rownumber-to-obtain-alternate.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6384538673759573032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6384538673759573032'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/using-rownumber-to-obtain-alternate.html' title='Using RowNumber to obtain alternate rows based on column value'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-1468274251572910341</id><published>2009-05-25T10:11:00.001+05:30</published><updated>2009-05-25T10:12:49.237+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='dateadd'/><category scheme='http://www.blogger.com/atom/ns#' term='getdate'/><category scheme='http://www.blogger.com/atom/ns#' term='datediff'/><category scheme='http://www.blogger.com/atom/ns#' term='Sqlserver'/><category scheme='http://www.blogger.com/atom/ns#' term='Sql Datetime'/><title type='text'>Find First and Last Day of the Current Quarter in SQL Server</title><summary type='text'>I was recently working on a requirement where the user wanted a report with data from the First day to the Last Day of the current QuarterHere's a simple way to find the Find First and Last Day of the current quarter in SQL Server 2005/2008SELECT DATEADD(qq,DATEDIFF(qq,0,GETDATE()),0) as FirstDayOfQuarterSELECT DATEADD(qq,DATEDIFF(qq,-1,GETDATE()),-1) as LastDayOfQuarterOUTPUTFirstDayOfQuarter</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/1468274251572910341/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/find-first-and-last-day-of-current.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1468274251572910341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1468274251572910341'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/find-first-and-last-day-of-current.html' title='Find First and Last Day of the Current Quarter in SQL Server'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-5247532142408490616</id><published>2009-05-25T10:09:00.000+05:30</published><updated>2009-05-25T10:10:58.097+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='datepart'/><category scheme='http://www.blogger.com/atom/ns#' term='Sqlserver'/><category scheme='http://www.blogger.com/atom/ns#' term='Sql Datetime'/><category scheme='http://www.blogger.com/atom/ns#' term='dateadd in sqlserver'/><title type='text'>Finding the date last year based on the current week and weekday using SQL Server</title><summary type='text'>Today is the 21st of May, 2009 and it is a Thursday today. Have you wondered what date was Thursday last year in the same week? Here's a very handy query by Hector which displays the last year's date based on the current weekday and current weekSELECT DATEADD(day, (DATEPART(week, GETDATE()) * 7+ DATEPART(weekday, GETDATE()))- (DATEPART(week, DATEADD(year, -1, GETDATE())) * 7+  DATEPART(weekday, </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/5247532142408490616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/finding-date-last-year-based-on-current.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/5247532142408490616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/5247532142408490616'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/finding-date-last-year-based-on-current.html' title='Finding the date last year based on the current week and weekday using SQL Server'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-1712186630532456445</id><published>2009-05-20T15:22:00.004+05:30</published><updated>2009-05-21T10:18:52.398+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='sounds on errors'/><category scheme='http://www.blogger.com/atom/ns#' term='validation controls'/><category scheme='http://www.blogger.com/atom/ns#' term='showing images for validation messages'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Using Sounds and Images For Error Notification</title><summary type='text'>So far, we have been displaying simple textual messages for the error notifications that come from thevalidation server controls. In most instances, you are going to do just that — display some simpletextual messages to inform end users that they input something into the form that doesn’t pass yourvalidation rules.An interesting tip regarding the validation controls is that you are not limited to</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/1712186630532456445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/using-sounds-and-images-for-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1712186630532456445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1712186630532456445'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/using-sounds-and-images-for-error.html' title='Using Sounds and Images For Error Notification'/><author><name>Damodar</name><uri>http://www.blogger.com/profile/09912498880898840205</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-4428517826599906808</id><published>2009-05-20T13:05:00.003+05:30</published><updated>2009-05-20T13:08:41.217+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='nth lowest salry'/><category scheme='http://www.blogger.com/atom/ns#' term='Sqlserver'/><category scheme='http://www.blogger.com/atom/ns#' term='sql query'/><category scheme='http://www.blogger.com/atom/ns#' term='nth highest salary'/><title type='text'>Find the nth highest or lowest salary in sqlserver</title><summary type='text'>To find the highest or lowest salary from the salary table the query is as  followsTo find the 3rd Highest salarySELECT * FROM salary s1 WHERE 3 = (SELECT COUNT(DISTINCT (s2.salary))FROM salary s2WHERE s2.salary &gt;= s1.salary)change 3 to whatever value you want or pass it as a parameterTo fin the 2nd Lowestt salarySELECT * FROM salary s1 WHERE 2 = (SELECT COUNT(DISTINCT (s2.salary))FROM salary </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/4428517826599906808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/find-nth-highest-or-lowest-salary-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4428517826599906808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/4428517826599906808'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/find-nth-highest-or-lowest-salary-in.html' title='Find the nth highest or lowest salary in sqlserver'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-740106360471759106</id><published>2009-05-20T12:29:00.000+05:30</published><updated>2009-05-20T12:40:18.039+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='joins and views'/><category scheme='http://www.blogger.com/atom/ns#' term='self join'/><category scheme='http://www.blogger.com/atom/ns#' term='Sqlserver'/><category scheme='http://www.blogger.com/atom/ns#' term='Sqlserver optimization'/><title type='text'>Self join in sqlserver</title><summary type='text'>Did you know that you can use a self-join to simplify nested SQL queries where the inner and outer queries reference the same table? Let's take a look at an example.In our database we have the employees table shown below and we want to obtain a list of all employees who live in the same town as your About.com Guide to Databases. Table: Employees    * VARCHAR first_name    * VARCHAR last_name    *</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/740106360471759106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/self-join-in-sqlserver.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/740106360471759106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/740106360471759106'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/self-join-in-sqlserver.html' title='Self join in sqlserver'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-1963567796091481050</id><published>2009-05-18T10:11:00.001+05:30</published><updated>2009-05-18T10:13:22.364+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='unique identifier'/><category scheme='http://www.blogger.com/atom/ns#' term='random id'/><category scheme='http://www.blogger.com/atom/ns#' term='Sqlserver'/><category scheme='http://www.blogger.com/atom/ns#' term='random password'/><title type='text'>AutoGenerate an AlphaNumeric Sequence in SQL Server</title><summary type='text'>Unique Alphanumeric Sequence Number to be generated using the following business rules:UniqueID = Code (TT) + Current Datetime + IDDECLARE @TT TABLE(ID  int, CircuitName varchar(10),UniqueID  AS 'TT' + REPLACE(CONVERT(varchar, GETDATE(),101),'/','')+ REPLACE(CONVERT(varchar, GETDATE(),108),':','') + CAST(ID as varchar(10))) INSERT @TTSELECT 1, 'Circuit 1' UNION ALLSELECT 2, 'Circuit 2' UNION </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/1963567796091481050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/autogenerate-alphanumeric-sequence-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1963567796091481050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/1963567796091481050'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/autogenerate-alphanumeric-sequence-in.html' title='AutoGenerate an AlphaNumeric Sequence in SQL Server'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-5593148459184567092</id><published>2009-05-13T12:00:00.003+05:30</published><updated>2009-06-16T11:11:55.219+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='sha1'/><category scheme='http://www.blogger.com/atom/ns#' term='password hash'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='salt'/><title type='text'>Hashed passwords with salt and generating random passwords in asp.net</title><summary type='text'>Hashed poasswords are one-way encryption and hence cannot be decrypted.The salt is used to prevent the password hacking and make passwords in databse more secured.logic is as follows....your password + salt (unique for every user) = total password which will be stored in databse as follows...username        password-hashed         salt 1            3423784safjkshf          hjh## 2             </summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/5593148459184567092/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/hashed-passwords-with-salt-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/5593148459184567092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/5593148459184567092'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/hashed-passwords-with-salt-and.html' title='Hashed passwords with salt and generating random passwords in asp.net'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-6243804783523738466</id><published>2009-05-11T17:53:00.002+05:30</published><updated>2009-05-11T18:56:35.166+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='window.print'/><category scheme='http://www.blogger.com/atom/ns#' term='selected area printing in asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='print in asp.net'/><title type='text'>Printing in asp.net - part II</title><summary type='text'>In this section we learn how we can pass controls of our choice for printing and also modify the contents before printing.Add a helper class called PrintHelper.cs in your appcode first. This class is mainly used for printing the contents of our choice.It is having a mrthod called webcontrol the control which we want to print.In the following example i group all the controls and contents i want to</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/6243804783523738466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/printing-in-aspnet-part-ii.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6243804783523738466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/6243804783523738466'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/printing-in-aspnet-part-ii.html' title='Printing in asp.net - part II'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-737479520854884306.post-9015864935876119210</id><published>2009-05-08T12:18:00.001+05:30</published><updated>2009-05-11T18:52:09.480+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='window.print'/><category scheme='http://www.blogger.com/atom/ns#' term='selected area printing in asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='print in asp.net'/><title type='text'>Printing in ASP.NET- Part I</title><summary type='text'>In this part we can see two different ways of printing 1) printing the entire contents of the page.2) printing only seleced area of the page.to see the first one in action copy paste the ASPX code and its page behind and press Button1and to print only required contents press Button2The code is self explanatory....&lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="Print1.aspx.cs" Inherits="</summary><link rel='replies' type='application/atom+xml' href='http://quickdotnetsolutions.blogspot.com/feeds/9015864935876119210/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/printing-in-aspnet-part-i.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/9015864935876119210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/737479520854884306/posts/default/9015864935876119210'/><link rel='alternate' type='text/html' href='http://quickdotnetsolutions.blogspot.com/2009/05/printing-in-aspnet-part-i.html' title='Printing in ASP.NET- Part I'/><author><name>Ashwin Kumar.H</name><uri>http://www.blogger.com/profile/13768947268578832014</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
