dotnetmonk.blogspot.com
My experiences in .NET: Serialize a class to XML
http://dotnetmonk.blogspot.com/2011/03/serialize-class-to-xml.html
My experiences in .NET. Tuesday, March 15, 2011. Serialize a class to XML. XmlSerializer objXMLSerializer = null;. StringWriter objStrW = null; / String writer to serialize the object to xml. String strXML; / Stores the serialized XML string. ObjXMLSerializer = new XmlSerializer(this.GetType() ; / The serializer object. ObjStrW = new StringWriter();. ObjXMLSerializer.Serialize(objStrW, this);. StrXML = objStrW.ToString().Replace(CommonConstants.CONST UTF16, CommonConstants.CONST UTF8);.
dotnetmonk.blogspot.com
My experiences in .NET: Stored Procedures Performance Tuning
http://dotnetmonk.blogspot.com/2010/07/stored-procedures-performance-tuning.html
My experiences in .NET. Wednesday, July 28, 2010. Stored Procedures Performance Tuning. Recently I was given to optimize an SQL Query and would like to post my experience on that. Indexes : Indexes are the only best way to improve the performance of select query. Even though we have indexes, we might not be using them properly. For example, if the select statement has a where condition, we have to check if all the columns in where clause have an index. . Well this is my introduction to all of you here at...
dotnetmonk.blogspot.com
My experiences in .NET: February 2009
http://dotnetmonk.blogspot.com/2009_02_01_archive.html
My experiences in .NET. Monday, February 23, 2009. Custom Validator to validate Date. This is a custom validation that tests if the given date is in 30 days from today. (This validator throws error when the date is less than today or when the date is greater than 30 days from today). This post is purely for my personal reference. :-). Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits=" Default" %. Html xmlns="http:/ www.w3.org/1999/xhtml". Title Untitled Page /title. If ( (yy ...
dotnetmonk.blogspot.com
My experiences in .NET: May 2008
http://dotnetmonk.blogspot.com/2008_05_01_archive.html
My experiences in .NET. Friday, May 30, 2008. Regular Expression that accepts 0-9,space,/, ,- only. 0-9] [ /] [ -])*$. The below link can be used to test your regular expressions:. Http:/ www.dotnetcoders.com/web/Learning/Regex/RegexTester.aspx. Links to this post. Dim obj As New basicops.operations. ObjCredentials = System.Net.CredentialCache.DefaultCredentials. Links to this post. Subscribe to: Posts (Atom). Regular Expression that accepts 0-9,space,/, ,- on.
dotnetmonk.blogspot.com
My experiences in .NET: Printing Date in different formats
http://dotnetmonk.blogspot.com/2008/11/printing-date-in-different-formats.html
My experiences in .NET. Thursday, November 27, 2008. Printing Date in different formats. Assume dt is a datetime object. In the same way, try out the following options. 1 dddd, dd MMMM yyyy Thursday, 05 May 2005. 2 dddd, dd MMMM yyyy HH:mm Thursday, 05 May 2005 06:30. 3 dddd, dd MMMM yyyy hh:mm tt Thursday, 05 May 2005 06:30 AM. 4 dddd, dd MMMM yyyy H:mm Thursday, 05 May 2005 6:30. 5 dddd, dd MMMM yyyy h:mm tt Thursday, 05 May 2005 6:30 AM. 6 dddd, dd MMMM yyyy HH:mm:ss Thursday, 05 May 2005 06:30:07.
dotnetmonk.blogspot.com
My experiences in .NET: March 2009
http://dotnetmonk.blogspot.com/2009_03_01_archive.html
My experiences in .NET. Friday, March 20, 2009. Start of a string. End of a string. Any character (except n newline). Explicit set of characters to match. Logical grouping of part of an expression. 0 or more of previous expression. 1 or more of previous expression. 0 or 1 of previous expression; also forces minimal matching when an expression might match several strings within a search string. Character Classes http:/ tinyurl.com/5ck4ll. Matches any single character not in the specified set of characters.
dotnetmonk.blogspot.com
My experiences in .NET: September 2007
http://dotnetmonk.blogspot.com/2007_09_01_archive.html
My experiences in .NET. Friday, September 7, 2007. Upload a file in Window application. FName = openFileDialog1.FileName.Split(. FName[fName.Length - 1],. Show(sr.ReadToEnd() ;. System.IO.File.ReadAllBytes(openFileDialog1.FileName);. Links to this post. VBNET ASP.NET Data Grid V1.x. Lt;asp:datagrid id=dgUserCampaigns DataKeyField=UserCampaignId runat=server CssClass=bordergrid. AllowSorting=True GridLines=Horizontal ShowHeader=False AutoGenerateColumns=False. CellPadding=3 AllowPaging=False Width=100%>.
dotnetmonk.blogspot.com
My experiences in .NET: August 2007
http://dotnetmonk.blogspot.com/2007_08_01_archive.html
My experiences in .NET. Tuesday, August 28, 2007. Microsoft recruits white hat hackers. Microsoft employs some of the best hackers in the world and actively recruits them and develops them. They work on all kinds of projects, whether it be in development, research, testing, management and of course security. Source: http:/ blogs.msdn.com/hackers/. Links to this post. Thursday, August 9, 2007. SQL Server free tools by Idera. Personally I have not tried this. Hope it would be an useful reference. 2 Separat...
dotnetmonk.blogspot.com
My experiences in .NET: January 2012
http://dotnetmonk.blogspot.com/2012_01_01_archive.html
My experiences in .NET. Friday, January 20, 2012. Exception handling difference between .NET Framework 1.1 and 2.0. What happens if there is an application exception thrown and is not caught by application. In NET framework 1.1, it impacts the current application (web or windows). In NET Framework 2.0, it goes upto worker process (beyond our current application), and after a couple of uncaught exceptions, the Website will be stopped automatically (Dangerous! Links to this post. Subscribe to: Posts (Atom).
dotnetmonk.blogspot.com
My experiences in .NET: Exception handling difference between .NET Framework 1.1 and 2.0
http://dotnetmonk.blogspot.com/2012/01/exception-handling-difference-between.html
My experiences in .NET. Friday, January 20, 2012. Exception handling difference between .NET Framework 1.1 and 2.0. What happens if there is an application exception thrown and is not caught by application. In NET framework 1.1, it impacts the current application (web or windows). In NET Framework 2.0, it goes upto worker process (beyond our current application), and after a couple of uncaught exceptions, the Website will be stopped automatically (Dangerous! Willst du ein erotisches treffen erleben?