<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8289962757688320351</id><updated>2024-12-18T20:33:26.717-08:00</updated><category term="Document Viewer"/><category term="Modal Dialog"/><title type='text'>Rakesh&#39;s Blog</title><subtitle type='html'>Discussion group for OOP Concepts, Software (Design, Architecture, Analysis, etc..), C#.NET, VB.NET, ASP.NET, MSSQL Server, FireBird and much more..</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rkinfopedia.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>39</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-2930459073641840893</id><published>2012-10-09T23:06:00.002-07:00</published><updated>2012-10-09T23:08:58.172-07:00</updated><title type='text'>Open UTF-8 CSV File in MS Excel using C#.NET</title><summary type="text">Sometime there are requirements where we are required to open CSV file in excel.
if it a manual process then there is now issue. MS Excel provide features using which you can open CSV by default.

Excel also provides facility to open non csv files(Delimited Text Files). To use this feature
go to

Note: I using MS EXCEL 2010

Data Ribbon - &gt; Select - &gt; &quot;From Text&quot; Option

Select text file you want</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/2930459073641840893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/2930459073641840893'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2012/10/open-utf-8-csv-file-in-ms-excel-suing.html' title='Open UTF-8 CSV File in MS Excel using C#.NET'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-1063198194332685379</id><published>2012-08-03T22:19:00.003-07:00</published><updated>2012-08-03T22:19:43.500-07:00</updated><title type='text'>Print document using PDFCreator with C#.NET</title><summary type="text">Sometime it is required to Generate PDF on the fly using c#.
There are lots of Printer Drivers using which you do you task.

I was in a situation where i have to generate PDF Invoice using EXCEL VSTO. I used PDFCreator to do my job.

I will show you how to print an active Excel Sheet using PDFCreator with C#.NET

First of all Install PDFCreator  When i was writing this Post it, the latest version</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/1063198194332685379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/1063198194332685379'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2012/08/print-document-using-pdfcreator-with.html' title='Print document using PDFCreator with C#.NET'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-510155811531958999</id><published>2012-07-20T01:47:00.002-07:00</published><updated>2012-07-20T01:49:45.937-07:00</updated><title type='text'>Create Proxy class using WSDL</title><summary type="text">Have you been in a situation were you are asked to call a Web Service where you just have a .wsdl generated from Web Service?

Once i was in a situation where i had to call a service with complex data type as input as well as output.
As a .NET developer we know that we can just make Web Reference to the Server URL and we can have all the underlying definition of target web service.
But what </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/510155811531958999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/510155811531958999'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2012/07/create-proxy-class-using-wsdl.html' title='Create Proxy class using WSDL'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-8072192581683124113</id><published>2012-07-06T00:25:00.002-07:00</published><updated>2012-07-06T00:28:05.078-07:00</updated><title type='text'>Choosing a SQLDataSource, LINQDataSource or EntityDataSource</title><summary type="text">When it comes to selecting DataSource for control data binding now there are lots of options.
You can select from
SQLDataSource
LINQDataSource and
Entity DataSource.

Each one has their own advantage and disadvantage. when i was googleing for the same a came across with a nice article, that i am sharing here.

This article looks at the implications for developers in making a choice between using</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/8072192581683124113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/8072192581683124113'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2012/07/choosing-sqldatasource-linqdatasource.html' title='Choosing a SQLDataSource, LINQDataSource or EntityDataSource'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-7802347843903115218</id><published>2012-07-05T23:44:00.003-07:00</published><updated>2012-07-05T23:45:49.150-07:00</updated><title type='text'>MSSQL Server split function</title><summary type="text">SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE FUNCTION [dbo].[fnSplit] (
&amp;nbsp;&amp;nbsp;&amp;nbsp; @sInputList VARCHAR(8000)&amp;nbsp; -- List of delimited items&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; , @sDelimiter VARCHAR(8000) = &#39;,&#39; -- delimiter that separates items
&amp;nbsp;&amp;nbsp;&amp;nbsp; ) 
&amp;nbsp;&amp;nbsp;&amp;nbsp; RETURNS @List TABLE (Offset int, item VARCHAR(8000))
&amp;nbsp;&amp;nbsp;&amp;nbsp; BEGIN
&amp;nbsp;&amp;nbsp;&amp;nbsp; </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/7802347843903115218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/7802347843903115218'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2012/07/mssql-server-split-function.html' title='MSSQL Server split function'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-2518438448422023186</id><published>2012-07-05T06:09:00.001-07:00</published><updated>2012-07-05T06:09:23.253-07:00</updated><title type='text'>Insert Data from Excel to Access Using OLEDBDataAdapter</title><summary type="text">The view of this article is to show use of dataAdapter to update Database.

string file = Application.StartupPath + @&quot;\excel.xlsx&quot;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataSet ds = ImportExcelXLS(file, true);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //SqlConnection conn = new SqlConnection(&quot;Data Source=server;Initial Catalog=TestDB;User Id=sa</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/2518438448422023186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/2518438448422023186'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2012/07/insert-data-from-excel-to-access-using.html' title='Insert Data from Excel to Access Using OLEDBDataAdapter'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-5208536686341460409</id><published>2012-07-05T06:05:00.001-07:00</published><updated>2012-07-05T06:05:30.392-07:00</updated><title type='text'>Insert Data into Access Database from XML using C#</title><summary type="text">Add Reference to Microsoft Access 14.0 Object
Add Reference based on Version of Access you are Using&amp;nbsp; I am using Access 2010 



&amp;nbsp;string file = Application.StartupPath + @&quot;\excel.xlsx&quot;;&amp;nbsp;DataSet ds = ImportExcelXLS(file, true);&amp;nbsp;ds.WriteXml(Application.StartupPath + @&quot;\test.xml&quot;, XmlWriteMode.WriteSchema);&amp;nbsp;access.Application _accessData;&amp;nbsp;_accessData = new </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/5208536686341460409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/5208536686341460409'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2012/07/insert-data-into-access-database-from.html' title='Insert Data into Access Database from XML using C#'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-4934236093207001958</id><published>2012-07-05T06:01:00.002-07:00</published><updated>2012-07-05T06:17:35.245-07:00</updated><title type='text'>The Simplest Read Excel to Dataset</title><summary type="text">Understanding Parameters
FileName: Defines path to Excel File
hasHeaders: Defines whether each column in Excel files has header included 

public static DataSet ImportExcelXLS(string FileName, bool hasHeaders)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string HDR = hasHeaders ? &quot;Yes&quot; : &quot;No&quot;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/4934236093207001958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/4934236093207001958'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2012/07/simplest-read-excel-to-dataset.html' title='The Simplest Read Excel to Dataset'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-2677921982482101396</id><published>2012-07-03T00:41:00.000-07:00</published><updated>2012-07-03T00:44:27.339-07:00</updated><title type='text'>Using ASP.NET AJAX Timer Control and ASP.NET AJAX ModalPopup Dialog</title><summary type="text">Have you ever used ASP.NET AJAX and Timer Control and ModalPopup Ctonrol on a page?
If yes, Then how you Managed to Display Modalpopup when Timer Control Tick event occurs?

Many of you have faced such situation even i have faced the same.
But i used a very simple solution to handle the same.

What is did it is, Stopped the timer control when i view the ModalDialog and then restart the timer when</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/2677921982482101396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/2677921982482101396'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2012/07/using-aspnet-ajax-timer-control-and.html' title='Using ASP.NET AJAX Timer Control and ASP.NET AJAX ModalPopup Dialog'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-921830900570574997</id><published>2012-07-03T00:11:00.001-07:00</published><updated>2012-07-03T00:15:55.639-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Document Viewer"/><category scheme="http://www.blogger.com/atom/ns#" term="Modal Dialog"/><title type='text'>Displaying Documents in a ASP.NET Modal Dialog Box using Google Doc Viewer</title><summary type="text">

Many people have faced a situation where they have to show documents like .PDF,.Doc ,.Docx and other like images too.

For showing Images there are lots JQuery Plugins available which can accomplish these task and are really good.

But how to show real document to the user, in stead of showing them the option to download you can provide facility to your users where they can view documents </summary><link rel='replies' type='application/atom+xml' href='http://rkinfopedia.blogspot.com/feeds/921830900570574997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8289962757688320351/921830900570574997?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/921830900570574997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/921830900570574997'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2012/07/displaying-documents-in-aspnet-modal.html' title='Displaying Documents in a ASP.NET Modal Dialog Box using Google Doc Viewer'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilMzPVhZc_drb87PdtQfo4LXgKAUa5cMtctWfhbZnPknHcHMN8RaeTm1N0cF9A_PJgrjWuFCC6qFoqDbiQdq-Bs0a_gN7miMq2xyqfwsd4PZY7Vd3eKTgYsQC75mFT1lGJUIG90ZTsWJW0/s72-c/Untitled.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-8010672373635906566</id><published>2012-03-26T05:19:00.004-07:00</published><updated>2012-03-26T06:28:14.509-07:00</updated><title type='text'>ASP.NET User Management using MySQL</title><summary type="text">Hello,I was asked to implement ASP.NET built in User Management using MySQL. Though It was a new work for me, Because I do have that much knowledge in ASP.NET compared to Winform.But, Google was with me. So i started exploring the same, and found lots of articles on how to implement.I would like to explore the same here.I assume you have already installed MYSQL Server. :)Steps 1:Install MYSQL </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/8010672373635906566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/8010672373635906566'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2012/03/aspnet-user-management-using-mysql.html' title='ASP.NET User Management using MySQL'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-1347191405495639366</id><published>2012-03-26T05:08:00.002-07:00</published><updated>2012-03-26T05:14:29.935-07:00</updated><title type='text'>OpenERP</title><summary type="text">Hello Everyone,Having years of experience on .NET Technologies. I have never looked at anything related to open source. But was always impressed with DNN, being an open source CMS i never had a chance to explore it.For last few months. I was introduce to OpenERP. A Python and PostgreSQL based open source ERP solution. I was impressed with it too and started exploring its functionality. I started </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/1347191405495639366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/1347191405495639366'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2012/03/openerp.html' title='OpenERP'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-6746504179720168764</id><published>2012-03-01T22:34:00.002-08:00</published><updated>2012-03-01T22:37:47.583-08:00</updated><title type='text'>Back again</title><summary type="text">Hello,I am back again with new spirit. Since two i didn&#39;t a single word, But could not stay without this.So i am back.during these two years i came across many technologies like silverlight, WCF , WPF and OpenERP.So, from now you will find some interesting stuffs on this.If you want to ask and have any articles related to this, you are welcome.you can also visit http://www.itlabsindia.in/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/6746504179720168764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/6746504179720168764'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2012/03/back-again.html' title='Back again'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-3690789888486728945</id><published>2010-04-21T22:46:00.000-07:00</published><updated>2012-03-26T05:39:35.400-07:00</updated><title type='text'>C# 4.0</title><summary type="text">Hello Friends, after a very long i am writing this blog. As i was bussy with changing my current employer. Ever if you had ever visited my profile would have found that i was working with 4Colordesign.com. But, now i have left it and have joined Silver Touch Technologies Ltd. with a new designation &quot;Programmer&quot;. This is not important.Today we are here to introduc ourself with C# 4.0. Yes, </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/3690789888486728945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/3690789888486728945'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2010/04/c-40.html' title='C# 4.0'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-2949990527809007279</id><published>2009-09-09T06:46:00.000-07:00</published><updated>2009-09-09T06:58:23.041-07:00</updated><title type='text'>Restore SQL Server Database</title><summary type="text">Backup and Restore operation on any database is a common operation. Some times it becomes very tedious when not handled properly.There are some points that needs to be kept in mind while restoring a database. Here i am providing the code for restoring SQL Server Database from C# Code.While restoring Database use should keep in mind that, only one user is using the Database, what i mean to say is </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/2949990527809007279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/2949990527809007279'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2009/09/restore-sql-server-database.html' title='Restore SQL Server Database'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-4894141330183022513</id><published>2009-07-09T01:48:00.000-07:00</published><updated>2009-07-09T02:00:24.641-07:00</updated><title type='text'>Swaping two values without using any third variable</title><summary type="text">Hello,many times in interviews, A quesion is being asked that &quot;How to swap two values with out using thrid variable&quot;.We know how to swap using thrid vaiable i.e.a=10;b=20;c=0;c=a;a=b;b=c;Now, if you want to swap two string variables without using third variable usestring A= &quot;string A&quot;;string B= &quot;string B&quot;;A+=b;B = A.substring(0,A.Length-B.Length);A = A.substring(B.Length);in order to swap two </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/4894141330183022513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/4894141330183022513'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2009/07/swaping-two-values-without-using-any.html' title='Swaping two values without using any third variable'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-7103143143334022455</id><published>2009-06-26T00:15:00.000-07:00</published><updated>2009-06-26T05:52:47.418-07:00</updated><title type='text'>MultiLingual (in different speaking languages) support in your .NET Application</title><summary type="text">I am supporting a project which is in market, developed by our company. All of a sudden our client appeared and asked for multi-language support for the software. i was very much confused on how to deliver that. But later i found that with the Help of VS.NET it is very much easy to deliver any application with multiple language support.So, i decided to write this article on my blog about how to </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/7103143143334022455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/7103143143334022455'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2009/06/multilingual-in-different-speaking.html' title='MultiLingual (in different speaking languages) support in your .NET Application'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-2830602984584228598</id><published>2009-06-16T01:55:00.000-07:00</published><updated>2009-06-16T01:56:29.023-07:00</updated><title type='text'>Get Distinct value from an ArrayList</title><summary type="text">int[] Arr = { 1, 2, 1, 24, 25, 1, 5, 5, 8, 7, 96, 3, 8, 4, 12, 45, 8, 6, 9, 5 };ArrayList Array = new ArrayList(Arr);Hashtable ht = new Hashtable(); foreach (int item in Array)     ht[item] = null;  ArrayList AList = new ArrayList(ht.Keys);</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/2830602984584228598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/2830602984584228598'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2009/06/get-distinct-value-from-arraylist.html' title='Get Distinct value from an ArrayList'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-2500682625671633994</id><published>2009-04-10T03:17:00.000-07:00</published><updated>2009-06-16T01:55:26.143-07:00</updated><title type='text'>A Simple password generator</title><summary type="text">Here is a simple password generator.there is nothing special in this code, i have just used the Random class in C# to generate random number  and some range of character from Character Array, below code illustrate is more easily.public string GetRandomPassword(int numChars , int seed)        {            string[] chars = { &quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;, &quot;e&quot;, &quot;f&quot;, &quot;g&quot;, &quot;h&quot;, &quot;i&quot;, &quot;j&quot;, &quot;k&quot;, &quot;l&quot;, &quot;m&quot;, &quot;n&quot;, &quot;o&quot;,</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/2500682625671633994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/2500682625671633994'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2009/04/sinple-password-generater.html' title='A Simple password generator'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-1793372533385964539</id><published>2009-04-08T23:39:00.000-07:00</published><updated>2009-04-08T23:50:18.189-07:00</updated><title type='text'>Late binding in C#</title><summary type="text">There are situations where some time it is viable to go for late binding.though it is a tedious to perform and also needs carefull overall programming.I was working on a project where clients were continious asking for new changes and want in Auto updates and at that time found late binding better for the situation.Though early binding is considered as better option than late binding, but late </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/1793372533385964539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/1793372533385964539'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2009/04/late-binding-in-c.html' title='Late binding in C#'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-6067039580158971187</id><published>2009-04-03T02:49:00.000-07:00</published><updated>2009-04-10T03:23:14.601-07:00</updated><title type='text'>FTP Upload/Download using C#</title><summary type="text">Here is a very simple method for uploading and downloading files from FTP server.you need to have FTP Host Name and UserName and Password for Authentication credentialsMake a reference to  System.NetDownLoad://Filepath is the path to your local machine where you want to download the file//Filename is the name of the file which you want to download from FTP Serverprivate void Download(string </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/6067039580158971187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/6067039580158971187'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2009/04/ftp-uploaddownload-using-c-2005.html' title='FTP Upload/Download using C#'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-8843170398035995283</id><published>2009-01-28T01:00:00.000-08:00</published><updated>2009-01-28T01:07:57.956-08:00</updated><title type='text'>Download Any File using ASP.NET</title><summary type="text">Very recently i have been shifted to ASP.NET programming. In the beginning i was facing a lots of problem. but now, I find myself bit comfortable with this. i am providing a simple code for downloading any file from Web Server located in any directory on the Web Application folder.make a reference to System.IO, and check that your web application has rights for Read/Write/Modify/Execute </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/8843170398035995283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/8843170398035995283'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2009/01/download-any-file-using-aspnet.html' title='Download Any File using ASP.NET'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-2471526820000868331</id><published>2008-11-28T22:07:00.000-08:00</published><updated>2008-12-02T02:05:20.390-08:00</updated><title type='text'>Firebird Security and Performance</title><summary type="text">I am using Firebird since last 2 years from 1.5 version. The latest version that i am presently using in Firebird 2.1.0 Super Server. Before this I had never used any open source Database, though there are lots of Databases available likeSQLitePostgresMySQLetc..Being a file based RDBMS, i have seen very good performance in Firebird.though we are using firebird in our company there are lots of </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/2471526820000868331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/2471526820000868331'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2008/11/firebird-security-and-performace.html' title='Firebird Security and Performance'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-7358264939286631020</id><published>2008-09-12T05:08:00.000-07:00</published><updated>2008-09-12T05:12:07.632-07:00</updated><title type='text'>Create Word, Excel using Office Object Library</title><summary type="text">Add a reference to Microsoft Word Object XX.0 Library and also same for Excel. i have user Object Library 12.0using MSWord Microsoft.Office.Interop.Word;using MSExcel = Microsoft.Office.Interop.Excel;public bool CreateWordDocument(string FilePath)        {            bool bsuccess = false;            try            {                object missing = System.Reflection.Missing.Value;                </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/7358264939286631020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/7358264939286631020'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2008/09/create-word-excel-using-office-object.html' title='Create Word, Excel using Office Object Library'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-8289962757688320351.post-6521709218081437668</id><published>2008-08-13T02:32:00.001-07:00</published><updated>2008-09-12T05:04:47.066-07:00</updated><title type='text'>Dot NET Interview Questions</title><summary type="text">Q. Which is the Base class for all the classes in .NET?A. System.ObjectQ. What is the differece between .ToString() and Convert.ToString()?A. .ToString() can not handle null, while Convert.ToString() handles null and does not raise a null value exception.Q. What is the difference between bool and Boolean?A. No difference they both refers to the same, and also same is with string/String, int/int32</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/6521709218081437668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8289962757688320351/posts/default/6521709218081437668'/><link rel='alternate' type='text/html' href='http://rkinfopedia.blogspot.com/2008/08/some-net-interview-questions.html' title='Dot NET Interview Questions'/><author><name>Rakesh Singh</name><uri>http://www.blogger.com/profile/13723479156035658674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>