<?xml version="1.0" encoding="UTF-8" standalone="no"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:gd="http://schemas.google.com/g/2005" xmlns:georss="http://www.georss.org/georss" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-5117896821680349576</atom:id><lastBuildDate>Sat, 14 Sep 2024 14:49:56 +0000</lastBuildDate><category>Errors</category><category>AsyncFileUpload</category><category>Generate Word document</category><category>GridView</category><category>SQLDataSource</category><category>ajax control toolkit</category><category>export excel</category><category>formatting</category><category>ConnectionStrings</category><category>Create dynamic DataTable</category><category>DataTable</category><category>DateTime</category><category>Dynamic SQL Queries in Stored Procedure</category><category>Export GridView to Microsoft Word</category><category>Facebook</category><category>FormView</category><category>Image</category><category>Image from Stream</category><category>Membership</category><category>OpenXML</category><category>PDF</category><category>Password Recovery</category><category>ReportViewer Web Control</category><category>SQL</category><category>Session Management</category><category>Stored Procedure</category><category>Web.config</category><category>combo box</category><category>create SqlDataSource programmatically</category><category>date</category><category>delete</category><category>free asp.net hosting</category><category>mono projec</category><category>populate</category><category>sort</category><category>sorting</category><title>ASP.Net Rocks!</title><description></description><link>http://deaspdotnet.blogspot.com/</link><managingEditor>noreply@blogger.com (Unknown)</managingEditor><generator>Blogger</generator><openSearch:totalResults>71</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:subtitle/><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-3791744613992175949</guid><pubDate>Mon, 06 Aug 2012 03:01:00 +0000</pubDate><atom:updated>2012-08-06T11:10:33.508+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">AsyncFileUpload</category><category domain="http://www.blogger.com/atom/ns#">Errors</category><title>How to solve “Error: &amp;#39;folderLevelBuildProviders&amp;&amp;quot; with AsyncFileUploader and .NET Fra&amp;quot; w</title><atom:summary type="text">&amp;nbsp; I upgraded my ASP.NET framework from 3.5 to 4 recently, and encountered a host of problems. I knew the problem was due to the upgrade because I had not changed my code, and yet, there were parts of the system that went haywire with seemingly esoteric errors. Today, I got the error below when I tried to upload images on a web page that was working perfectly before.  &amp;nbsp; Fortunately, the </atom:summary><link>http://deaspdotnet.blogspot.com/2012/08/unhandled-exception-file-attached-is.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidbayFslq5AElwgkCQp5iXbcKm6smP8MU9E5F8CvwrzheeVXe07OC7ija3ljLmAdpOG_Kg7ekf6wR44XhUJet7BLhxWtWiM8fWfDy4w7mxWOMnmBSxRIGuAnfkf0VYMONIkBDHagIv35zY/s72-c?imgmax=800" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-2243968906566091202</guid><pubDate>Thu, 02 Aug 2012 03:41:00 +0000</pubDate><atom:updated>2012-08-02T22:45:43.309+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Generate Word document</category><title>Applying superscript and subscript to WordXML</title><atom:summary type="text">


I wrote an entry sometime back in Jan 2011 to show how you can easily generate a Word document using the OpenXML SDK with font size, font color and bold formatting.

Yesterday, I received a comment from Hema, who asked me how to add subscript and superscript formatting.

To tell the truth, I had not dabbled in those before.&amp;nbsp; But I decided since I have already come so far, I can just spend</atom:summary><link>http://deaspdotnet.blogspot.com/2012/08/applying-superscript-and-subscript-to.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTO97slR-v68hHRIDeIiYI4cDAk3c7hp1PB4Uq8W19S06qC-B0ydfBbA6SXji0A60vbM6xZwxp_c82Bo8SOPukcPJpDh7yx0fEQcWgn6T_hVCd5vVFEEG0CJK5T1VE4H6TB3wXGVwhR7WC/s72-c?imgmax=800" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-3965120650737364546</guid><pubDate>Wed, 01 Aug 2012 03:22:00 +0000</pubDate><atom:updated>2012-08-02T22:27:13.662+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Errors</category><title>How to solve “Error: &amp;#39;folderLevelBuildProviders&amp;&amp;quot; with AsyncFileUploader and .NET Fra&amp;quot; with AsyncFileUploader and .NET Framework 4</title><atom:summary type="text">

This morning, I created a ASP.NET using the default application and not touching any of the default code, I tested it successfully with the built-in web server Visual Studio 2010.&amp;nbsp; Next, I happily clicked on the “Publish Web Site” menu item and deployed it on the local IIS.
Since I did not even do anything to the default code, I thought there would be no problem when I try to call this web</atom:summary><link>http://deaspdotnet.blogspot.com/2012/08/how-to-solve-error-unrecognized-element.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnCt-vYDFjR4DVOmXoRduA6nE2cBnSkL2upZecFiyl2Ps0f6_5nOWEsIE_PXVzpkS6w5UqsOhN_mtxSa1ONorF7TxzcPUyG7z6Pn5JGWRrBVN9EIyWudoJPxZXBYAEzvJnKBY2Tm6yiwgZ/s72-c?imgmax=800" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-1424679711544602817</guid><pubDate>Wed, 01 Aug 2012 02:37:00 +0000</pubDate><atom:updated>2012-08-01T10:37:32.442+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Errors</category><title>How to solve “There is a duplicate ‘system.web.extensions/scripting/scriptResourceHandler’” error</title><atom:summary type="text">&amp;nbsp; I got this error after I ran a “C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319&amp;gt;aspnet_regiis –i” command. Apparently, it happens when you run an older version of ASP.NET application on an IIS server that has been upgraded to use the ASP.NET Framework 4.0. I found the way to solve this problem via Brad Kingsley’s tip . All you need to do is to edit your web.config and comment out the </atom:summary><link>http://deaspdotnet.blogspot.com/2012/08/how-to-solve-there-is-duplicate.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikePK9zl6DfVNhtMpTsSnX2oTgFC0TdSN8af-wCl4tfw8NA8kxeR_Che-bZmZGg_Rt1WWo6dTSKx6BfFinygFY16jjLU8y-x5v2MKOiYWaTM8e6Ta8YNbBrWxkSd4lfv1OQ1E_bxsGOoWu/s72-c?imgmax=800" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-8713913230102006325</guid><pubDate>Fri, 01 Jun 2012 01:35:00 +0000</pubDate><atom:updated>2012-06-01T09:35:01.675+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Session Management</category><title>ASP.NET Session Management</title><atom:summary type="text">&amp;nbsp; Assorted links from othershttp://www.codeproject.com/Articles/227382/Alert-Session-Time-out-in-ASP-Net  </atom:summary><link>http://deaspdotnet.blogspot.com/2012/06/aspnet-session-management.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-7188281002050548941</guid><pubDate>Thu, 17 May 2012 07:57:00 +0000</pubDate><atom:updated>2012-05-17T15:57:08.581+08:00</atom:updated><title>How to change NTFS permissions for files or folders using Microsoft’s Extended Change Access Control List tool (xcacls.exe) tool</title><atom:summary type="text">&amp;nbsp; If you need a command-line tool that you can include in your batch files to change the NTFS permissions of files or folders, you can use the following tool from Microsoft.  Download iCACLS : http://support.microsoft.com/kb/919240Article from ss64: http://ss64.com/nt/icacls.html For example, the command below gives  icacls c:\inetpub\wwwroot\files\ /grant mary:(M,WDAC)NOTE: xcacls is </atom:summary><link>http://deaspdotnet.blogspot.com/2012/05/how-to-change-ntfs-permissions-for.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-6653598452092822859</guid><pubDate>Wed, 16 May 2012 09:25:00 +0000</pubDate><atom:updated>2012-05-16T17:25:08.723+08:00</atom:updated><title>Login failed for user &amp;#39;IIS APPPOOL\DefaultAppPool&amp;#39;.</title><atom:summary type="text">&amp;nbsp; Following the instructions below solved my problem :) http://learn.iis.net/page.aspx/624/application-pool-identities/  </atom:summary><link>http://deaspdotnet.blogspot.com/2012/05/login-failed-for-user.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-887427235597093395</guid><pubDate>Wed, 16 May 2012 08:41:00 +0000</pubDate><atom:updated>2012-05-16T16:41:48.532+08:00</atom:updated><title>The type or namespace name &amp;#39;Interop&amp;#39; does not exist in the namespace &amp;#39;Microsoft.Office&amp;#39; error</title><atom:summary type="text">&amp;nbsp; I encountered the following error "The type or namespace name 'Interop' does not exist in the namespace 'Microsoft.Office' " Found a working solution in one of the posts in this thread. Here’s what I did:  Download the Microsoft Office 2010: Primary Interop Assemblies Redistributable at this link.  Installed the software; it would extract as a setup file named “o2010pia.msi”  Navigated to </atom:summary><link>http://deaspdotnet.blogspot.com/2012/05/type-or-namespace-name-does-not-exist.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEO13gwXuCGWBFR58wVietdae2aUVbsBoQopifteRkMOgPhHQtNISXHouSzavGaZk5ggky1ehUvrM4R383lELhkAhEKZuCZszP0Ol_2XeTTAVInJJY_s9GH9hJX59xfq-F4cTZou7TmMZB/s72-c?imgmax=800" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-6583034665952617781</guid><pubDate>Wed, 16 May 2012 08:05:00 +0000</pubDate><atom:updated>2012-05-16T16:18:23.047+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Errors</category><title>How to solve the &amp;quot;The type or namespace &amp;#39;Packaging&amp;#39; does not exist in the namespace &amp;#39;System.IO&amp;#39;&amp;quot; error</title><atom:summary type="text">If you encounter this error "The type or namespace 'Packaging' does not exist in the namespace 'System.IO', here's an easy way to solve it.Just locate the &amp;lt;assemblies&amp;gt;&amp;nbsp;tag in your web.config file and add this line.&amp;nbsp; It should resolve the compilation errors straightaway.&amp;lt;add assembly="WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/&amp;gt;  </atom:summary><link>http://deaspdotnet.blogspot.com/2012/05/how-to-solve-the-type-or-namespace.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-8019639863847972461</guid><pubDate>Wed, 21 Dec 2011 14:04:00 +0000</pubDate><atom:updated>2012-08-02T10:53:36.296+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Generate Word document</category><title>New version of WordXML document using OpenXML SDK 2.0 with bold, color and font size formatting</title><atom:summary type="text">
I first dabbled with the OpenXML SDK 2.0 in January 2011.

At that time, there was a problem which I could not solve: specifying different font sizes, font colors and bolding effects for different words on the same line.

I managed to achieve different formatting effects for sentences on different lines, but never managed to get it working if the words were on the same line.

Today, I finally </atom:summary><link>http://deaspdotnet.blogspot.com/2011/12/new-version-of-wordxml-document-using.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaWyovN-lksdubEvyYjDoTtswZ7IBr6UwupcNYqtKvazewDllLgrY6b1e94HtbZHlWokpSemI-spOafRK_AzmMb465VI-RhwjFQ5mLDwZ_95WngbMH5PuKuaeyzsDNNUd-kHT9731iaLvx/s72-c?imgmax=800" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-8910846422198688551</guid><pubDate>Mon, 24 Oct 2011 05:28:00 +0000</pubDate><atom:updated>2011-10-24T13:28:13.000+08:00</atom:updated><title>Create a hyperlink using a QueryString or Form parameter in C# ASP.NET</title><atom:summary type="text">&amp;nbsp; This is a very short code snippet which shows you how you can create a hyperlink using a QueryString or Form parameter received from a referring page. Note that you would need to do two things in order for this to work: Step 1First, paste the code below in the HTML markup.&amp;nbsp; The code below assumes that you are using a querystring parameter called “ID” that was passed over from a </atom:summary><link>http://deaspdotnet.blogspot.com/2011/10/create-hyperlink-using-querystring-or.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9rq_rESHW17Vc4rfagtoarlqAh5JFTn4BsN8KtHE1ZRPROstfotrzZjTucwDsviDc0FDpd2XKIF0tSEHpdvi7xy0U8bP7SGUXFPL9vzZWj46eP_eDAM0JvB6J4XbvRU1HgKc9HJ6n64fS/s72-c?imgmax=800" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-1924423514284289547</guid><pubDate>Fri, 25 Feb 2011 13:33:00 +0000</pubDate><atom:updated>2011-02-25T21:33:35.797+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">PDF</category><title>PDF24 Javascript PDF API</title><atom:summary type="text">PDF24 Javascript PDF API</atom:summary><link>http://deaspdotnet.blogspot.com/2011/02/pdf24-javascript-pdf-api.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-8824874947814548496</guid><pubDate>Wed, 23 Feb 2011 09:13:00 +0000</pubDate><atom:updated>2011-02-23T17:15:43.260+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Password Recovery</category><title>How to: Enable User Password Recovery Using the ASP.NET PasswordRecovery Control</title><atom:summary type="text">How to: Enable User Password Recovery Using the ASP.NET PasswordRecovery Control
How to: Install and Configure SMTP Virtual Servers in IIS 6.0
Solving exceptions when doing password recovery</atom:summary><link>http://deaspdotnet.blogspot.com/2011/02/how-to-enable-user-password-recovery.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-2818978750000577263</guid><pubDate>Wed, 23 Feb 2011 09:11:00 +0000</pubDate><atom:updated>2011-02-23T17:11:15.715+08:00</atom:updated><title>asp.net - Hashed passwords and PasswordRecovery control - Stack Overflow</title><atom:summary type="text">asp.net - Hashed passwords and PasswordRecovery control - Stack Overflow: "UPDATE:1) For some reason it works now. Namely, if we set requiresQuestionAndAnswer to false, then PR also sends email to firstUser2) If passwords are stored in hashed form, then if:a) enablePasswordRetrieval='true' and enablePasswordReset is set to either true or false --&amp;gt; PR generates exceptionb) if </atom:summary><link>http://deaspdotnet.blogspot.com/2011/02/aspnet-hashed-passwords-and.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-3790330194107365070</guid><pubDate>Tue, 22 Feb 2011 02:11:00 +0000</pubDate><atom:updated>2011-02-22T10:12:34.485+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ConnectionStrings</category><category domain="http://www.blogger.com/atom/ns#">create SqlDataSource programmatically</category><category domain="http://www.blogger.com/atom/ns#">Web.config</category><title>How to: Read Connection Strings from the Web.config File</title><atom:summary type="text">using System.Configuration;
using System.Data;

public static string GetUserName(string userid){
string fullname = "Unknown name";
string connString = ConfigurationManager.ConnectionStrings["MyConnectionString"].ConnectionString;       string sqlString = "SELECT * FROM Users WHERE UserID=@UserID";
SqlDataSource sqldatasource = new SqlDataSource(connString, sqlString);
</atom:summary><link>http://deaspdotnet.blogspot.com/2011/02/how-to-read-connection-strings-from.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-5338352603894081465</guid><pubDate>Mon, 14 Feb 2011 03:51:00 +0000</pubDate><atom:updated>2011-02-14T11:51:25.261+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Membership</category><title>MembershipUser Class (System.Web.Security)</title><atom:summary type="text">MembershipUser Class (System.Web.Security)</atom:summary><link>http://deaspdotnet.blogspot.com/2011/02/membershipuser-class-systemwebsecurity.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-427001054779314721</guid><pubDate>Mon, 14 Feb 2011 02:40:00 +0000</pubDate><atom:updated>2011-02-14T10:40:15.448+08:00</atom:updated><title>Using ConfigurationManager.AppSettings</title><atom:summary type="text">Step 1======Add a reference to assemblyStep 2======Add this before the class headerusing System.Configuration;Step 3======Access the configuration setting using this code:System.Configuration.ConfigurationManager.AppSettings["WebMasterEmail"]</atom:summary><link>http://deaspdotnet.blogspot.com/2011/02/using-configurationmanagerappsettings.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-7006776777512855223</guid><pubDate>Tue, 01 Feb 2011 18:02:00 +0000</pubDate><atom:updated>2011-02-02T02:02:30.549+08:00</atom:updated><title>The Search Form (Code Behind)</title><atom:summary type="text">&amp;nbsp; protected void ButtonSearch_Click(object sender, EventArgs e)    {        string criterias = "";        criterias = TextBoxKeyword.Text.Length &amp;gt; 0 ? (criterias + "Keyword") : criterias;        criterias = TextBoxCourse.Text.Length &amp;gt; 0 ? (criterias + "Course") : criterias;        criterias = TextBoxStartDate.Text.Length &amp;gt; 0 ? (criterias + "EventDate") : criterias;        criterias </atom:summary><link>http://deaspdotnet.blogspot.com/2011/02/search-form-code-behind.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-8250314491478225475</guid><pubDate>Tue, 01 Feb 2011 18:01:00 +0000</pubDate><atom:updated>2011-02-02T02:01:51.633+08:00</atom:updated><title>The Search Form</title><atom:summary type="text">&amp;nbsp; Remember to add the AjaxControlToolkit as reference first.&amp;lt;%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="TestSearch.aspx.cs" Inherits="Track_TestSearch" %&amp;gt;&amp;lt;%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %&amp;gt;&amp;lt;asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server"&amp;gt;&amp;</atom:summary><link>http://deaspdotnet.blogspot.com/2011/02/search-form.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-8961168859764698058</guid><pubDate>Tue, 01 Feb 2011 18:00:00 +0000</pubDate><atom:updated>2011-02-02T02:00:39.662+08:00</atom:updated><title>Generic Dynamically Constructed SQL string</title><atom:summary type="text">&amp;nbsp;USE [MyDB]GO/****** Object:  StoredProcedure [dbo].[GetEventsByCriteria]    Script Date: 02/02/2011 01:32:22 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOSET DATEFORMAT DMYGOcreate PROCEDURE [dbo].[GetEventsByCriteria6](  @Criteria nvarchar(255),   @Keyword nvarchar(255),  @Course nvarchar(255),   @EventStartDate nvarchar(25),  @EventEndDate nvarchar(25),  @DateOfEntryStart nvarchar(</atom:summary><link>http://deaspdotnet.blogspot.com/2011/02/generic-dynamically-constructed-sql.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-1185219383528801572</guid><pubDate>Tue, 01 Feb 2011 09:29:00 +0000</pubDate><atom:updated>2011-02-01T22:08:06.138+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Dynamic SQL Queries in Stored Procedure</category><title>Building Statements at Run Time</title><atom:summary type="text">Building Statements at Run Time: "EXEC sp_executesql @SQLString GO"

USE [MyDB]
SET DATEFORMAT DMY
GO
/****** Object:&amp;nbsp; StoredProcedure [dbo].[GetEventsByCriteria]&amp;nbsp;&amp;nbsp;&amp;nbsp; Script Date: 02/01/2011 21:01:49 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
alter PROCEDURE [dbo].[GetEventsByCriteria]
( 
&amp;nbsp; @EventStartDate nvarchar(25)
)

As
DECLARE @SQLString NVARCHAR(500)

</atom:summary><link>http://deaspdotnet.blogspot.com/2011/02/building-statements-at-run-time.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-2585961227680011469</guid><pubDate>Mon, 31 Jan 2011 15:59:00 +0000</pubDate><atom:updated>2011-01-31T23:59:52.335+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Generate Word document</category><category domain="http://www.blogger.com/atom/ns#">OpenXML</category><title>Create Word 2007 document using OpenXML SDK with font size, font color and bold formatting</title><atom:summary type="text">&amp;nbsp; Step 1Install OpenXML SDK 2.0. You can download from here: Step 2Add these assemblies:  OpenXML SDK (browse to the folder where you installed OpenXML SDK) Windows Base  &amp;lt;assemblies&amp;gt;&amp;lt;add assembly="DocumentFormat.OpenXml, Version=2.0.5022.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add assembly="</atom:summary><link>http://deaspdotnet.blogspot.com/2011/01/create-word-2007-document-using-openxml.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-1327483928669137785</guid><pubDate>Mon, 31 Jan 2011 12:10:00 +0000</pubDate><atom:updated>2011-01-31T20:10:24.782+08:00</atom:updated><title>Generating Microsoft Office Documents with the Open XML SDK</title><atom:summary type="text">Generating Microsoft Office Documents with the Open XML SDK</atom:summary><link>http://deaspdotnet.blogspot.com/2011/01/generating-microsoft-office-documents_599.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-5343515302791145641</guid><pubDate>Mon, 31 Jan 2011 12:06:00 +0000</pubDate><atom:updated>2011-01-31T20:06:04.709+08:00</atom:updated><title>Word 2010 Technical Articles</title><atom:summary type="text">Word 2010 Technical Articles</atom:summary><link>http://deaspdotnet.blogspot.com/2011/01/word-2010-technical-articles.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5117896821680349576.post-102565434189194991</guid><pubDate>Mon, 31 Jan 2011 12:05:00 +0000</pubDate><atom:updated>2011-01-31T20:05:29.362+08:00</atom:updated><title>Creating Open XML WordprocessingML Tables with Vertically Merged Cells</title><atom:summary type="text">Creating Open XML WordprocessingML Tables with Vertically Merged Cells</atom:summary><link>http://deaspdotnet.blogspot.com/2011/01/creating-open-xml-wordprocessingml.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item></channel></rss>