tag:blogger.com,1999:blog-44704090501132863932024-03-13T21:07:15.153-07:00High HopesAnzerhttp://www.blogger.com/profile/13963402357370421503noreply@blogger.comBlogger17125tag:blogger.com,1999:blog-4470409050113286393.post-65004448284560827242009-02-02T10:42:00.000-08:002009-02-02T10:58:03.552-08:00Microsoft enterprise data application blocks.<br />Microsoft enterprise data application blocks is an excellent data access layer component which can be used to reduce the coding effort for database applications significantly. Its a free download from MSDN<br /><br />The goals of Enterprise Library are the following:<br /><ol><li><span style="font-weight: bold;">Consistency</span>. All Enterprise Library application blocks feature consistent design patterns and implementation approaches.</li><li><span style="font-weight: bold;">Extensibility</span>. All application blocks include defined extensibility points that allow developers to customize the behavior of the application blocks by adding their own code.</li><li><span style="font-weight: bold;">Ease of use</span>. Enterprise Library offers numerous usability improvements, including a graphical configuration tool, a simpler installation procedure, and clearer and more complete documentation and samples.</li><li><span style="font-weight: bold;">Integration</span>. Enterprise Library application blocks are designed to work well together or individually.</li></ol>Links to download various versions of Microsoft enterprise library<br /><ol><li>For .Net framework 3.5 - <a href="http://msdn.microsoft.com/en-us/library/dd203099.aspx">http://msdn.microsoft.com/en-us/library/dd203099.aspx</a></li><li>For .Net framework 2.0 - <a href="http://msdn.microsoft.com/en-us/library/aa480453.aspx">http://msdn.microsoft.com/en-us/library/aa480453.aspx</a></li><li>For .Net framework 1.1 - <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=A7D2A109-660E-444E-945A-6B32AF1581B3&displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyId=A7D2A109-660E-444E-945A-6B32AF1581B3&displaylang=en</a></li></ol>More details are available in <a href="http://www.codeplex.com/entlib">http://www.codeplex.com/entlib</a><br /><br /><ol><li>How to set up and use Enterprise library data application block data access layer</li><li>Download and Install the MSI file</li><li>Reference the following DLLs from the bin folder of your installed path (for me it was in C:\Program Files\Microsoft Enterprise Library 3.1 - May 2007\Bin) to your .Net application<br /><ul><li>Microsoft.Practices.EnterpriseLibrary.Common.dll</li><li>Microsoft.Practices.EnterpriseLibrary.Data.dll</li><li>Microsoft.Practices.ObjectBuilder.dll</li></ul></li><li>Thats it you are now ready to use the classes and functions available in the Enterprise library data application block DAL</li></ol>Below are some code samples on how to use data application blocks to perform data access operations<br /><br />1. <span style="font-weight: bold;">General structure</span><br /><pre class="c-sharp" name="code"><br />//Add the following Using statements at the top of the Class file<br />using Microsoft.Practices.EnterpriseLibrary.Common;<br />using Microsoft.Practices.EnterpriseLibrary.Data;<br />----<br />//initalize the Database object using the ConnectionString name<br />Database db = DatabaseFactory.CreateDatabase(Connection string name from web.config);<br />//Execute an SQL Query using the Execute methods available<br />db.ExecuteFunctionName(Stored Procedure Name, comma seperated parameters);<br />//This is the common structure I use in my projects.<br />//You can find lot of other ways to execute db queries like<br />//passing the row Command instead of SPROC name.<br /></pre><br />2. <span style="font-weight: bold;">Insert, Update and Delete</span><br /><pre class="c-sharp" name="code"><br />//For insert, update and delete use ExecuteNonQuery<br />Database db = DatabaseFactory.CreateDatabase("ConString");<br />db.ExecuteNonQuery("usp_user_insert", username, emailID, password);<br /></pre><br />3. <span style="font-weight: bold;">Returning Single values</span><br /><pre class="c-sharp" name="code"><br />//If your SPROC return single value, use ExecuteScalar<br />object pollID = db.ExecuteScalar("usp_poll_insert", question);<br /></pre><br />4. <span style="font-weight: bold;">Selecting data</span><br /><pre class="c-sharp" name="code"><br />//use ExecuteDataSet to select data<br />DataSet ds = db.ExecuteDataSet("usp_users_select");<br /></pre><br /><br />Just imagine how many lines of code it can easily reduce to execute a query which have a number of parameters.<br /><br />From now on I will use this Enterprise library data application block data access layer for all the code samples in this blog.<br /><br />NOTE: The Microsoft Enterprise Library coryntains lot of other really useful Application blocks such as Caching Application block and Cryptography Application Block.<br />.Anzerhttp://www.blogger.com/profile/13963402357370421503noreply@blogger.com0tag:blogger.com,1999:blog-4470409050113286393.post-89058299106253598082008-11-20T02:16:00.000-08:002008-11-20T02:51:12.752-08:00Download Free E Book on CSS designs<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_5qbX5jqKfYo/SSVBFb-giLI/AAAAAAAAALY/sgCQ9xVNzE0/s1600-h/css-book.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 153px; height: 200px;" src="http://1.bp.blogspot.com/_5qbX5jqKfYo/SSVBFb-giLI/AAAAAAAAALY/sgCQ9xVNzE0/s200/css-book.jpg" alt="" id="BLOGGER_PHOTO_ID_5270690500572121266" border="0" /></a><br /><br />If you are looking for some books to learn CSS, here’s an excellent book for FREE download.<br /><br />You can download <a href="http://oreilly.com/catalog/9780975841976/">The Art and Science of CSS</a> directly from <a href="http://icanhaz.com/twitaway">here</a> or follow <a href="http://twitter.com/sitepointdotcom">sitepointdotcom</a> on Twitter.<br /><br /><br /><br /><a href="http://www.amazon.com/Art-Science-CSS-Jonathan-Snook/dp/0975841971">The Art and Science of CSS</a> is a good Cascading Style Sheets book with lot of practical examples on different style sheet techniques such as designing navigation tabs, styling web pages, creating rounded corners etc.<br /><br /><a href="http://icanhaz.com/twitaway">DOWNLOAD THE FREE COPY FROM HERE</a><br /><br />.Anzerhttp://www.blogger.com/profile/13963402357370421503noreply@blogger.com1tag:blogger.com,1999:blog-4470409050113286393.post-76784380856409375642008-10-23T05:04:00.000-07:002008-10-23T07:07:14.495-07:00Asp.Net CAPTCHA and Asp.Net AJAX CAPTCHA<div><br /></div>I am using a great Asp.Net CAPTCHA by <a href="http://www.codeproject.com/script/Membership/Profiles.aspx?mid=462079">BrainJar</a> in a number of web sites with and without Asp.Net AJAX. It’s a simple and really easy to use Asp.Net CAPTCHA. The actual source code is in C#, but you can use it with both C# and VB.Net by simply wrapping the functionality in a class library.<br /><br />In Asp.Net forums and in many other user communities I have seen lot of people asking for VB.Net CAPTCHA. So I thought to write a blog post and create some sample implementations. The zip file contains C# CAPTCHA and VB.Net CAPTCHA. I have included the samples for Asp.Net AJAX CAPTCHA also.<br /><br /><a href="http://www.deynu.com/downloads/captcha.zip">You can download the samples and implementation from here</a><br /><br />Implementing Asp.Net AJAX CAPTCHA is really simple. Just wrap the main Asp.Net CAPTCHA with Asp.Net AJAX update panel and put a random query string at the end of CAPTCHA image src. The random query string will avoid showing the old CAPTCHA from browser cache.<br /><br /><u>STEPS TO ADD ASP.NET CAPTCHA IN YOUR WEBSITE</u><br /><ol><li>Refer the assembly CaptchaDLL.dll in your project</li><li>Copy JpegImage_CS.aspx or JpegImage_VB.aspx (according to the language of choice) to your website.</li><li>Open the above file and make changes in Colors and Font if needed. (read the inline comments to know more)</li><li>Now user the sample codes from Default.aspx or Ajax.aspx pages. The code is straight forward. You make a session and generate an image with the string in the Session. Now when you submit you have to check the session value and textbox value to see whether the entered CAPTCHA is correct.</li></ol><a href="http://www.deynu.com/downloads/captcha.zip">DOWNLOAD THE SOURCE AND SAMPLES FROM HERE</a><br /><br />If you have any questions please put as a comment.<br /><br /><span style="font-weight: bold;">Tags</span><br />Asp.Net CAPTCHA, CAPTCHA, VB.Net CAPTCHA, C# CAPTCHA, ASP CAPTCHA, C sharp captcha, vb captcha, simple captcha, AJAX CAPTCHA, asp.net ajax captcha, captcha without refresh, captcha using ajax, numeric captchaAnzerhttp://www.blogger.com/profile/13963402357370421503noreply@blogger.com23tag:blogger.com,1999:blog-4470409050113286393.post-35771295896367418502008-10-22T03:23:00.000-07:002008-10-26T12:12:43.850-07:00Numeric Datalist/Repeater paging - User control versionI have wrapped the functionality of numeric datalist pagination (<a href="http://anzme.blogspot.com/2008/10/simple-numeric-pagination-for-datalist.html">read the full details here</a>) into a user control, so that you don’t need to copy and paste the code in all the pages.<br />The usercontrol and sample implementation with some good pagination style can be downloaded from here.<br /><br /><a href="http://www.deynu.com/downloads/numericPaging_uc.zip">DOWNLOAD THE SOURCE AND SAMPLES FROM HERE</a><br /><br /><a href="http://anzme.blogspot.com/2008/10/simple-numeric-pagination-for-datalist.html">Visit this blog</a> if you want to know the details about implementing numeric paging with datalist or repeater.<br /><br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br />If you are looking for <a href="http://anzme.blogspot.com/2008/06/importexport-data-with-sql-server-2005.html">Sql Express DTS/Data transfer wizard click here</a><br />- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br /><br /><span style="font-weight: bold;">TAGS</span><br />datalist pagination,paginating datalist,pagination datalist,asp.net datalist pagination,datalist and pagination,c# datalist pagination,pages datalist,paging datalist,datalist paging,repeater pagination,paginating repeater,pagination repeater,asp.net repeater pagination,repeater and pagination,c# repeater pagination,pages repeater,paging repeater,repeater pagingAnzerhttp://www.blogger.com/profile/13963402357370421503noreply@blogger.com3tag:blogger.com,1999:blog-4470409050113286393.post-79656946230994175072008-10-10T23:32:00.000-07:002008-10-26T12:14:48.308-07:00Simple Numeric Pagination for DataList and RepeaterThere are a big number of tutorials available on how to implement pagination in asp.net DataList and Repeater. But all of them are explaining only about the Next/Prev mode of pagination only. Recently I have implemented a quick and dirty numeric pagination on DataList for one of my project.<br /><br />The idea is simply use a PagedDataSource to get the current page of data and bind it to DataList or Repeater. Now create dynamic Linkbuttons using the PageSize and the Total rows count. See the code below.<br /><br />ASPX Code<br /><pre class="xhtml" name="code"><br /><head runat="server"><br /><title>Untitled Page</title><br /><style type="text/css"><br /> .pagination a{padding:5px;}<br /> .pagination span{padding:5px;}<br /></style><br /></head><br /><body><br /><form id="form1" runat="server"><br /> <div><br /> <asp:DataList ID="dlPaginationSample" runat="server"><br /> <ItemTemplate><br /> <%# Eval("Column1")%> | <%# Eval("Column2")%><br /> <br /><br /> </ItemTemplate><br /> </asp:DataList><br /> </div><br /><br /> <br /><br /> <asp:Panel runat="server" id="pnlPager" CssClass="pagination"><br /> <br /> </asp:Panel><br /></form><br /></body><br /></pre><br />C# Code<br /><pre class="c-sharp" name="code">//you can pass either DatList or Repeater to this function<br />private void bindDataWithPaging(Control bindControl, DataSet data)<br />{<br /> if (data.Tables.Count > 0) // if the datset contains data<br /> {<br /> DataView dv = data.Tables[0].DefaultView;<br /><br /> PagedDataSource dsP = new PagedDataSource();<br /> dsP.AllowPaging = true;<br /> dsP.DataSource = dv;<br /> dsP.CurrentPageIndex = CurrentPageIndex;<br /> dsP.PageSize = PageSize;<br /><br /> //Binding data to the controls<br /> if (bindControl is DataList)<br /> {<br /> ((DataList)bindControl).DataSource= dsP;<br /> ((DataList)bindControl).DataBind();<br /> }<br /> else if (bindControl is Repeater)<br /> {<br /> ((Repeater)bindControl).DataSource = dsP;<br /> ((Repeater)bindControl).DataBind();<br /> }<br /><br /> //saving the total page count in Viewstate for later use<br /> PageCount = dsP.PageCount;<br /><br /> //create the linkbuttons for pagination<br /> BuildPagination();<br /> }<br />}<br /></pre><br />The above function is straight forward and self explanatory. What it will do is simply create a PagedDataSource from the full dataset and bind it to the custom pagination repeater or datalist.<br /><br /><pre class="c-sharp" name="code"><br />//create the linkbuttons for pagination<br />protected void BuildPagination()<br />{<br /> pnlPager.Controls.Clear(); //<br /><br /> if (PageCount <= 1) return; // at least two pages should be there to show the pagination<br /><br /> //finding the first linkbutton to be shown in the current display<br /> int start = CurrentPageIndex - (CurrentPageIndex % ButtonsCount);<br /><br /> //finding the last linkbutton to be shown in the current display<br /> int end = CurrentPageIndex + (ButtonsCount - (CurrentPageIndex % ButtonsCount));<br /><br /> //if the start button is more than the number of buttons. If the start button is 11 we have to show the <<First link<br /> if (start > ButtonsCount - 1)<br /> {<br /> pnlPager.Controls.Add(createButton(FirstPageText, 0));<br /> pnlPager.Controls.Add(createButton("..", start - 1));<br /> }<br /><br /> int i = 0, j = 0;<br /><br /> for (i = start; i < end; i++)<br /> {<br /> LinkButton lnk;<br /> if (i < PageCount)<br /> {<br /> if (i == CurrentPageIndex) //if its the current page<br /> {<br /> Label lbl = new Label();<br /> lbl.Text = (i + 1).ToString();<br /> pnlPager.Controls.Add(lbl);<br /> }<br /> else<br /> {<br /> pnlPager.Controls.Add(createButton((i + 1).ToString(), i));<br /> }<br /> }<br /> j++;<br /> }<br /><br /> //If the total number of pages are greaer than the end page we have to show Last>> link<br /> if (PageCount > end)<br /> {<br /> pnlPager.Controls.Add(createButton("..", i));<br /> pnlPager.Controls.Add(createButton(">>", PageCount - 1));<br /> }<br />}<br /></pre><br /><br />This is the whole logic for a simple implementation. I am using this custom pagination in a number of projects and they are working great.<br /><br /><a href="http://deynu.com/downloads/numericPaging.zip">DOWNLOAD THE SOURCE AND SAMPLES FROM HERE</a> for numeric datalist pagination<br /><br /><span style="font-weight: bold;">Tags</span><br /><span style="font-size:85%;">Implement custom numeric pagination with datalist and repeater, Datalist pagination, repeater pagination, paginating datalist, paginating repeater, numeric custom pagination, custom datalist pagination, custom repeater pagination, repeater numeric pagination, datalist numeric pagination, pagination with datalist and repeater, implement pagination datalist, asp.net datalist pagination</span>Anzerhttp://www.blogger.com/profile/13963402357370421503noreply@blogger.com10tag:blogger.com,1999:blog-4470409050113286393.post-22870420894328319182008-10-08T05:37:00.000-07:002008-10-08T05:47:12.106-07:00Move to anchor after ASP.Net AJAX postbackHere is the code to move to anchor after postback<br /><br /><script language="javascript" type="text/javascript"><br /> var prm = Sys.WebForms.PageRequestManager.getInstance();<br /> prm.add_endRequest(OnEndRequest);<br /> function OnEndRequest(sender,args)<br /> {<br /> window.location.hash = '#MOVEHERE'; //MOVEHERE is the anchor name<br /> }<br /> </script><br /><br />If you want to show top of the page instead of move to anchor use <span style="font-weight: bold;">window.scrollTo(0,0);</span> instead of window.location.hash = '#MOVEHERE';Anzerhttp://www.blogger.com/profile/13963402357370421503noreply@blogger.com0tag:blogger.com,1999:blog-4470409050113286393.post-13200570191748431182008-08-19T23:19:00.000-07:002008-08-20T00:09:52.964-07:00Move to anchor after postbackYou can add anchor tags in the URL to move the scroll bar to a specific section of the web page.<br />Example : <a target="new" href="http://www.w3.org/TR/html401/struct/links.html#h-12.2.1">http://www.w3.org/TR/html401/struct/links.html#h-12.2.1</a><br /><br />But how we can do the same <span style="font-style: italic;">after a postback</span>. I am not talking about MaintainScrollPositionOnPostback. It will just move the scroll bar position to the previous state after the postback.<br /><br />Our aim is to move the scroll bar to a custom position using anchor tags.<br /><br /><span style="font-weight: bold;">1. </span>Set MaintainScrollPositionOnPostback="false" in the @Page directive.<br /><%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default1.aspx.cs" Inherits="view_Default1" Title="Untitled Page" MaintainScrollPositionOnPostback="false" %><br /><br /><span style="font-weight: bold;">2. </span>Create a named anchor in the HTML.<br /><a name="MOVEHERE"></a><br /><br /><span style="font-weight: bold;">3. </span>Write the follwoing code in the page load.<br />if (IsPostBack)<br />{<br />ClientScript.RegisterStartupScript(this.GetType(), "hash", "location.hash = '#MOVEHERE';", true);<br />}<br />Please note I wrote the code inside IsPostback.<br /><br />Thats all. Now test the page and you can see the page automatically move to the #MOVEHERE anchor when the page loads after a postback.<br /><br />The javascript code location.hash = '#MOVEHERE'; did the trick.<br /><br />I have tested it in IE 6, FF 2.x, Apple Safari for Windows and Opera.Anzerhttp://www.blogger.com/profile/13963402357370421503noreply@blogger.com0tag:blogger.com,1999:blog-4470409050113286393.post-35142735040754816992008-06-30T00:57:00.000-07:002008-12-10T19:11:26.706-08:00Free Ebooks from Microsoft Press<p><br /> There is a big offer from Microsoft Learning centre. Download the entire contents<br /> of the print books, Introducing Microsoft Linq, Introducing Microsoft ASP.NET AJAX,<br /> Introducing Microsoft Silverlight 1.0.<br /> </p><br /> <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_5qbX5jqKfYo/SGiocavNlDI/AAAAAAAAAIg/HIeLN_GtAuI/s1600-h/ms_linq_cvr.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://1.bp.blogspot.com/_5qbX5jqKfYo/SGiocavNlDI/AAAAAAAAAIg/HIeLN_GtAuI/s200/ms_linq_cvr.jpg" alt="" id="BLOGGER_PHOTO_ID_5217605374475867186" border="0" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_5qbX5jqKfYo/SGiocbkCYXI/AAAAAAAAAIo/441R6v_Quho/s1600-h/ms_ajax_cvr.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://2.bp.blogspot.com/_5qbX5jqKfYo/SGiocbkCYXI/AAAAAAAAAIo/441R6v_Quho/s200/ms_ajax_cvr.jpg" alt="" id="Img1" border="0" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_5qbX5jqKfYo/SGiocsNxvBI/AAAAAAAAAIw/ASDGKHE0Cxk/s1600-h/ms_silverlight_cvr.jpg"><img style="margin: 0pt 10px 10px 0pt; float: none; cursor: pointer;" src="http://2.bp.blogspot.com/_5qbX5jqKfYo/SGiocsNxvBI/AAAAAAAAAIw/ASDGKHE0Cxk/s200/ms_silverlight_cvr.jpg" alt="" id="Img2" border="0" /></a> <br /> <p><br /> The download <a href="http://csna01.libredigital.com/?urvs5cn3s8" target="new"><b>link is here</b></a><br /> </p><br /> <br />Anzerhttp://www.blogger.com/profile/13963402357370421503noreply@blogger.com0tag:blogger.com,1999:blog-4470409050113286393.post-31961009190338686052008-06-30T00:48:00.000-07:002008-06-30T00:55:29.108-07:00Foundations of Programming Free Ebook<p><br />Karl Seguin of www.codebetter.com wrote a great ebook. You can download it for free from <a href="http://codebetter.com/files/folders/codebetter_downloads/entry179694.aspx" target="new">here</a>.<br /><br />For more details about the book check <a href="http://codebetter.com/blogs/karlseguin/archive/2008/06/24/foundations-of-programming-ebook.aspx" target="new">here</a><br /></p>Anzerhttp://www.blogger.com/profile/13963402357370421503noreply@blogger.com0tag:blogger.com,1999:blog-4470409050113286393.post-60356371649486953732008-06-28T01:58:00.000-07:002008-06-28T02:07:24.445-07:00Its decided!! Internet is gonna change in the bigway.<p><br />The vote to lift restrictions on top level domain names wins the approval. The net's regulator, Icann, voted unanimously to relax the strict rules on so-called "top-level" domain names, such as .com or .uk.<br /><br />The decision means a domain name can be anything.anything . So the big debated .xxx is going to happen. So far Icann has rejected calls for a .xxx domain on the grounds that it might be forced to act as a censor. But now it could get the green light.<br /><br />A second proposal, to introduce domain names written in Asian, Arabic or other scripts, was also approved.<br /><br />Read the full news <a href="http://news.bbc.co.uk/2/hi/technology/7475986.stm" target="_blank">here</a><br /></p>Anzerhttp://www.blogger.com/profile/13963402357370421503noreply@blogger.com0tag:blogger.com,1999:blog-4470409050113286393.post-63059959897210981732008-06-23T09:33:00.000-07:002008-06-23T09:46:00.238-07:00Biggest change on the internet world is proposed<p><br />The net's regulators will vote on Thursday to decide if the strict rules on so-called top level domain names, such as .com or .uk, can be relaxed.<br /><br />If approved, the net could see its biggest transformation in decades. The new plan will allow companies to turn their brands into domain names while individuals could also carve out their own corner of the net.<br /><br />See full story <a target="_blank" href="http://news.bbc.co.uk/2/hi/technology/7468855.stm">here</a> and express your views <a target="_blank" href="http://newsforums.bbc.co.uk/nol/thread.jspa?forumID=4994&edition=2&ttl=20080623174230">here</a><br /><br /></p>Anzerhttp://www.blogger.com/profile/13963402357370421503noreply@blogger.com0tag:blogger.com,1999:blog-4470409050113286393.post-23975793337597282172008-06-22T03:35:00.000-07:002008-07-10T00:06:31.613-07:00Import contacts from yahoo, gmail, hotmail etc using .Net<p><br />Contacts Reader .NET 1.0 from Idea Bubbling is an open source project to import contacts from different e-mail providers. Currently it supports Yahoo, Hotmail, Gmail, AOL Mail, Rediffmail.<br /><br /><a target="_blank" href="http://www.ideabubbling.com/TestDrive.aspx">Demo Page</a> | <a href="http://www.ideabubbling.com/ContactsReader.aspx" target="_blank">Downloads Page</a><br /><br /></p>Anzerhttp://www.blogger.com/profile/13963402357370421503noreply@blogger.com6tag:blogger.com,1999:blog-4470409050113286393.post-23972972451709211392008-06-22T02:14:00.001-07:002008-06-22T02:16:32.233-07:00View Now option for your PDFs and DOCs<p><br />If you want to give a "View now" option for your PDFs and DOCs simliar to the "View as HTML" in Gmail you can use the free service by <a href="http://view.samurajdata.se/" target="_blank">http://view.samurajdata.se/</a><br /><br />This is an online viewer, with which you can view PDF and PostScript files as browsable images and Word documents as web pages.<br /><br />Its really fast and easy.<br /><br />Just give your pdf link as the parameter and it will automatically convert it.<br />Example <a href="http://view.samurajdata.se/ps.php?url=http://www.uddi.org/pubs/Iru_UDDI_Technical_White_Paper.pdf" target="_blank">http://view.samurajdata.se/ps.php?url=http://www.uddi.org/pubs/Iru_UDDI_Technical_White_Paper.pdf</a><br /><br /></p>Anzerhttp://www.blogger.com/profile/13963402357370421503noreply@blogger.com0tag:blogger.com,1999:blog-4470409050113286393.post-80776144730943280162008-06-22T00:38:00.000-07:002008-06-22T00:47:05.353-07:00The big list of Rich Editor Controls (WYSIWYG) that you can use with ASP.NET<p><br />Joe Stagner of Microsoft has made a list of WYSIWYG editors for Asp.Net..<br /><br />You can see it <a href="http://www.misfitgeek.com/Why+Would+You+Want+To+Write+Your+Own+WYSIWYG+Editor.aspx">here</a><br /><br />Personally I like <a href="http://tinymce.moxiecode.com/">TinyMCE</a><br /></p>Anzerhttp://www.blogger.com/profile/13963402357370421503noreply@blogger.com0tag:blogger.com,1999:blog-4470409050113286393.post-2195444981657227552008-06-21T23:29:00.000-07:002008-06-21T23:36:31.414-07:00Build a game and win $75,000 in prizes!!<p><br />Take part in the game build contest <a href="http://www.dreambuildplay.com/" target="_blank">Dream-Build-Play 2008</a> launched by XNA team and win $75,000 in prizes and receive an Xbox Live Arcade Contract.<br /><br /></p><ul><li> Create and deploy Xbox360 games using XNA Game Studio 2.0</li><li>$75,000 in prizes and the chance to receive an Xbox Live Arcade Contract.</li><li>Everyone who registers will receive a FREE 12-Month Trial Creator Club Membership </li></ul><br />For more information log on to <a href="http://www.dreambuildplay.com/" target="_blank">www.dreambuildplay.com</a><br /><br /><p></p>Anzerhttp://www.blogger.com/profile/13963402357370421503noreply@blogger.com0tag:blogger.com,1999:blog-4470409050113286393.post-43563582979838866712008-06-08T05:57:00.000-07:002008-10-26T12:23:10.276-07:00Import/Export data with SQL Server 2005 Express - DTS Wizard<p><br />After using the simple sql server 2005 data transfer utility for some days I thought to add more functionality such as import export data from excel, CSV, flat file etc.<br /><br />Before start coding I just did a Google search and <a href="http://forums.microsoft.com/msdn/showpost.aspx?postid=156956&siteid=1&sb=0&d=1&at=7&ft=11&tf=0&pageid=0">found this</a> big and interesting discussion in MSDN forums. In the first page developers were really annoyed with the fact MS is not giving a data transfer utility with Sql Server Management Studio Express.<br /><br />I read the conversation one by one and in the 5th page I found <a href="http://forums.microsoft.com/msdn/showpost.aspx?postid=156956&siteid=1&sb=0&d=1&at=7&ft=11&tf=0&pageid=4">this posting</a> by Bill Elicson. MS actually has a really great DTS tool for sql server management studio express.<br /><br />Thanks Bill.. you saved alot of time.<br /><br /><span style="font-weight: bold;">STEPS TO ADD DTS WIZARD WITH SQL SERVER MANAGEMNT STUDIO EXPRESS</span><br /><br />1. Try "C:\Program Files\Microsoft SQL Server\90\DTS\Binn\DTSWizard.exe"<br />If it worked, you already have the DTS Wizard. Start using it right away.<br /><br />If it will not work, continue to step 2<br /><br />2. Download the Microsoft SQL Server 2005 Express Edition Toolkit (223.9 MB) from<br /><br />http://go.microsoft.com/fwlink/?LinkId=65111<br />select all components to install<br /><br />3. Run "C:\Program Files\Microsoft SQL Server\90\DTS\Binn\DTSWizard.exe"<br /><br />Thats it.. Now you can transfer data using the the great DTS wizard.<br /><br />Follow the steps If you want to integrate it with the Sql server management studio express UI .<br />1. Open sql server management studio express.<br />2. Select Tools -> External Tools<br />3. Add a Title and Browse C:\Program Files\Microsoft SQL Server\90 \DTS\Binn\DTSWizard.exe for the Command field.<br />3. Click OK</p><p>TAGS<br /><span style="font-size:85%;">Importing Exporting Data sql server express,sql server express data transfer, dts sql server express, sqlserver express DTS, move data sqlexpress 2005, SQLEXPRESS 2005 to SQL 2000 Data Transfer, Data import/export with SQL Server Express using DTS Wizard, Data Transfer between SQL Server and SQL Server Express</span><br /></p>Anzerhttp://www.blogger.com/profile/13963402357370421503noreply@blogger.com15tag:blogger.com,1999:blog-4470409050113286393.post-31131868957271253392008-04-17T01:21:00.000-07:002008-04-21T22:42:03.216-07:00Sql Server 2005 Express Data Transfer<p class="MsoNormal"><span style=";font-family:Arial;font-size:10;" >Since there is no mechanism to transfer data from one DB to another in Free SQL Server 2005 Management Studio Express I thought to write a simple utility to do this.<o:p></o:p></span></p> <p class="MsoNormal"><span style=";font-family:Arial;font-size:10;" ><o:p></o:p>It’s so simple that you can use with only MS Sql Server and transfer data from one table at a time.<o:p></o:p></span></p> <p class="MsoNormal"><span style=";font-family:Arial;font-size:10;" >The utility is using ADO.Net SqlBulkCopy class to achieve the functionality.<o:p></o:p></span></p> <p class="MsoNormal"><span style=";font-family:Arial;font-size:10;" ><span style="font-weight: bold;">Steps to transfer the data from one DB to another</span><o:p></o:p></span></p><ol><li><span style=";font-family:Arial;font-size:10;" > Enter DB connection information of both Source DB and Destination DB.<o:p></o:p></span></li><li><span style=";font-family:Arial;font-size:10;" >Click Connect<o:p></o:p><span style="font-style: italic;"><br />If there is no error in the connection details it will establish connections to both server and list all the tables in both Db in bottom combo boxes.</span><o:p></o:p></span></li><li><span style=";font-family:Arial;font-size:10;" > Choose the source table from left side combo box and designation table from right side combo box.<o:p></o:p></span></li><li><span style=";font-family:Arial;font-size:10;" >Click Transfer.</span></li></ol><span style=";font-family:Arial;font-size:10;" ><span style="font-weight: bold;">Notes</span><br /></span> <ol><li><span style=";font-family:Arial;font-size:10;" >Work only with Sql server.</span></li><li><span style=";font-family:Arial;font-size:10;" >Tested only in Sql server 2005.</span></li><li><span style=";font-family:Arial;font-size:10;" >Both source table and destination table should be similar.<o:p></o:p></span></li></ol><br /><a target='_blank' href='http://www.box.net/index.php?rm=box_v2_download_shared_file&blog&file_id=f_151639770'>Sql2005_DataTransfer.zip</a><br /><p></p><br /><br /><br />Anzerhttp://www.blogger.com/profile/13963402357370421503noreply@blogger.com2