<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Simanta's Weblog</title>
	<atom:link href="http://simanta.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://simanta.wordpress.com</link>
	<description>Simply for programmers</description>
	<lastBuildDate>Mon, 25 May 2009 04:42:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='simanta.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Simanta's Weblog</title>
		<link>http://simanta.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://simanta.wordpress.com/osd.xml" title="Simanta&#039;s Weblog" />
	<atom:link rel='hub' href='http://simanta.wordpress.com/?pushpress=hub'/>
		<item>
		<title>RHEL5 software/package installation using repository</title>
		<link>http://simanta.wordpress.com/2009/05/25/rhel5-softwarepackage-installation-using-repository/</link>
		<comments>http://simanta.wordpress.com/2009/05/25/rhel5-softwarepackage-installation-using-repository/#comments</comments>
		<pubDate>Mon, 25 May 2009 04:42:38 +0000</pubDate>
		<dc:creator>simanta</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[RHEL]]></category>

		<guid isPermaLink="false">http://simanta.wordpress.com/?p=27</guid>
		<description><![CDATA[In the following way, one can setup/install/update software packages in RHEL5: ## Setup proxy for automatic downloads http_proxy=http://proxy.domain.com:6050 export http_proxy ## First lets download this following repositories: wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm wget http://rpms.famillecollet.com/el5.i386/remi-release-5-6.el5.remi.noarch.rpm ## repository file location: /etc/yum.repos.d/dag.repo ## Now lets install them: rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm yum –-enablerepo=remi update php* mysql* yum localinstall ffmpeg-0.4.9-28_r15845.el5.i386.rpm Repos: ====== [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=27&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>In the following way, one can setup/install/update software packages in RHEL5:</strong></p>
<p>## Setup proxy for automatic downloads<br />
http_proxy=http://proxy.domain.com:6050<br />
export http_proxy</p>
<p>## First lets download this following repositories:<br />
wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm<br />
wget http://rpms.famillecollet.com/el5.i386/remi-release-5-6.el5.remi.noarch.rpm</p>
<p>## repository file location: /etc/yum.repos.d/dag.repo</p>
<p>## Now lets install them:<br />
rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm</p>
<p>yum –-enablerepo=remi update php* mysql*</p>
<p>yum localinstall ffmpeg-0.4.9-28_r15845.el5.i386.rpm</p>
<p>Repos:<br />
======<br />
remi-release-5-6.el5.remi.noarch.rpm<br />
epel-release-5-3.noarch.rpm<br />
rpmforge-release-0.3.6-1.el5.rf.i386.rpm<br />
livna-release.rpm</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simanta.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simanta.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simanta.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simanta.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simanta.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simanta.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simanta.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simanta.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simanta.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simanta.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simanta.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simanta.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simanta.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simanta.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=27&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simanta.wordpress.com/2009/05/25/rhel5-softwarepackage-installation-using-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/754ce7d35536697bd4e80f697467a511?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simanta</media:title>
		</media:content>
	</item>
		<item>
		<title>Search string in specific directory</title>
		<link>http://simanta.wordpress.com/2008/07/07/search-string-in-specific-directory/</link>
		<comments>http://simanta.wordpress.com/2008/07/07/search-string-in-specific-directory/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 12:05:55 +0000</pubDate>
		<dc:creator>simanta</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[grep]]></category>

		<guid isPermaLink="false">http://simanta.wordpress.com/?p=25</guid>
		<description><![CDATA[grep -r -n &#8220;&#60;search string here&#62;&#8221; &#60;directory path&#62; rgrep -n &#8220;&#60;search string here&#62;&#8221; &#60;directory path&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=25&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>grep -r -n &#8220;&lt;search string here&gt;&#8221; &lt;directory path&gt;</p>
<p>rgrep -n &#8220;&lt;search string here&gt;&#8221; &lt;directory path&gt;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/simanta.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/simanta.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simanta.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simanta.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simanta.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simanta.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simanta.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simanta.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simanta.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simanta.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simanta.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simanta.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simanta.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simanta.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simanta.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simanta.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=25&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simanta.wordpress.com/2008/07/07/search-string-in-specific-directory/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/754ce7d35536697bd4e80f697467a511?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simanta</media:title>
		</media:content>
	</item>
		<item>
		<title>Interview</title>
		<link>http://simanta.wordpress.com/2008/07/02/interview/</link>
		<comments>http://simanta.wordpress.com/2008/07/02/interview/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 11:55:34 +0000</pubDate>
		<dc:creator>simanta</dc:creator>
				<category><![CDATA[interview]]></category>

		<guid isPermaLink="false">http://simanta.wordpress.com/?p=24</guid>
		<description><![CDATA[QEESTION SET 1. Diff between GET and POST? 2. Diff between $val and $$val? 3. Increase page level execution time? 4. Destroy cookie in php? 5. Search friendly URL? 6. .htaccess? 7. Scope resolution operator? 8. Send information from page 1.php to page 2.php? 9. Search an array element in an array? 10. Determine the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=24&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>QEESTION SET<br />
1.	Diff between GET and POST?<br />
2.	Diff between $val and $$val?<br />
3.	Increase page level execution time?<br />
4.	Destroy cookie in php?<br />
5.	Search friendly URL?<br />
6.	.htaccess?<br />
7.	Scope resolution operator?<br />
8.	Send information from page 1.php to page 2.php?<br />
9.	Search an array element in an array?<br />
10.	Determine the type of a variable?<br />
11.	Fetch 1st three rows from a table?<br />
12. </p>
<p>SCRIPT</p>
<p>1. What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?<br />
2. Who is the father of PHP and explain the changes in PHP versions?<br />
3. How can we submit a form without a submit button?<br />
Sol: document.form.submit();<br />
4. In how many ways we can retrieve the date in the result set of MySQL using PHP?<br />
5. What is the difference between mysql_fetch_object and mysql_fetch_array?<br />
6. What is the difference between $message and $$message?</p>
<p>7. How can we extract string ‘abc.com ‘from a string ‘http://info@abc.com’ using regular expression of PHP?<br />
8. How can we create a database using PHP and MySQL?<br />
Sol: bool mysql_create_db (string database_name [, resource link_identifier])</p>
<p>9. What are the differences between require and include, include once?<br />
Sol: The include_once() statement includes and evaluates the specified file during the execution of the script. This is a behavior similar to the include() statement, with the only difference being that if the code from a file has already been included, it will not be included again.</p>
<p>10. Can we use include (”abc.PHP”) two times in a PHP page “makeit.PHP”?<br />
11. What are the different tables present in MySQL, which type of table is generated when we are creating a table in the following syntax: create table employee(eno int(2),ename varchar(10)) ?<br />
12. Functions in IMAP, POP3 AND LDAP?<br />
13. How can I execute a PHP script using command line?<br />
14. Suppose your Zend engine supports the mode  Then how can u configure your PHP Zend engine to support  mode ?<br />
15. Shopping cart online validation i.e. how can we configure Paypal, etc.?<br />
16. What is meant by nl2br()?<br />
17. Draw the architecture of Zend engine?<br />
18. What are the current versions of apache, PHP, and MySQL?<br />
19. What are the reasons for selecting lamp (Linux, Apache, MySQL, PHP) instead of combination of other software programmers, servers and operating systems?<br />
20. How can we encrypt and decrypt a data present in a MySQL table using MySQL?<br />
Sol: md5()<br />
21. How can we encrypt the username and password using PHP?<br />
Sol: md5()<br />
22. What are the features and advantages of object-oriented programming?<br />
23. What are the differences between procedure-oriented languages and object-oriented languages?<br />
24. What is the use of friend function?<br />
25. What are the differences between public, private, protected, static, transient, final and volatile?<br />
26. What are the different types of errors in PHP?<br />
27. What is the functionality of the function strstr and stristr?<br />
28. What are the differences between PHP 3 and PHP 4 and PHP 5?<br />
29. How can we convert asp pages to PHP pages?<br />
30. What is the functionality of the function htmlentities?<br />
31. How can we get second of the current time using date function?<br />
32. How can we convert the time zones using PHP?<br />
33. What is meant by urlencode and urldocode?<br />
34. What is the difference between the functions unlink and unset?<br />
35. How can we register the variables into a session?<br />
36. How can we get the properties (size, type, width, height) of an image using PHP image functions?<br />
Sol: list($width, $height, $type, $attr) = getimagesize(&#8220;img/flag.jpg&#8221;);</p>
<p>37. How can we get the browser properties using PHP?<br />
38. What is the maximum size of a file that can be uploaded using PHP and how can we change this?<br />
Sol: post_max_size = 8M (Maximum size of POST data that PHP will accept.)<br />
       upload_max_filesize = 2M (Maximum allowed size for uploaded files.)</p>
<p>39. How can we increase the execution time of a PHP script?<br />
Sol: void set_time_limit (int seconds). The default limit is 30 seconds or, if it exists, the max_execution_time value defined in the php.ini</p>
<p>40. How can we take a backup of a MySQL table and how can we restore it. ?<br />
41. How can we optimize or increase the speed of a MySQL select query?<br />
42. How many ways can we get the value of current session id?<br />
43. How can we destroy the session, how can we unset the variable of a session?<br />
44. How can we destroy the cookie?<br />
45. How many ways we can pass the variable through the navigation between the pages?<br />
46. What is the difference between ereg_replace() and eregi_replace()?<br />
47. What are the different functions in sorting an array?<br />
48. How can we know the count/number of elements of an array?<br />
49. What is the PHP predefined variable that tells the types of images that PHP supports?<br />
50. How can I know that a variable is a number or not using a JavaScript?<br />
51. List out some tools through which we can draw E-R diagrams for MySQL.<br />
52. How can I retrieve values from one database server and store them in other database server using PHP?<br />
53. List out the predefined classes in PHP?<br />
54. How can I make a script that can be bilanguage (supports English, German)?<br />
55. What are the difference between abstract class and interface?<br />
56. How can we send mail using JavaScript?</p>
<p>DATABASE</p>
<p>1. How can we repair a MySQL table?<br />
 2. What are the advantages of stored procedures, triggers, indexes?<br />
 3. What is the maximum length of a table name, database name, and fieldname in MySQL?<br />
 4. How many values can the SET function of MySQL take?<br />
 5. What are the other commands to know the structure of table using MySQL commands except explain command?</p>
<p> 6. How many tables will create when we create table, what are they?<br />
 7. What is the purpose of the following files having extensions 1) .frm 2) .myd 3) .myi? What do these files contain?<br />
 8. What is maximum size of a database in MySQL?<br />
 9. Give the syntax of Grant and Revoke commands?<br />
10. Explain Normalization concept?<br />
11. How can we find the number of rows in a table using MySQL?<br />
12. How can we find the number of rows in a result set using PHP?<br />
13. How many ways we can we find the current date using MySQL?<br />
14. What are the advantages and disadvantages of Cascading Style Sheets?<br />
15. What type of inheritance that PHP supports?<br />
16. How can increase the performance of MySQL select query?<br />
17. The structure of table view buyers is as follows:</p>
<p>    +&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;+&#8212;&#8211;+&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;-+<br />
    | Field | Type | Null | Key | Default | Extra |<br />
    +&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;+&#8212;&#8211;+&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;-+<br />
    | user_pri_id | int(15) | | PRI | NULL | auto_increment |<br />
    | userid | varchar(10) | YES | | NULL | |<br />
    +&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;+&#8212;&#8211;+&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;-+</p>
<p>    the value of user_pri_id the last row 2345 then What will happen in the following conditions?</p>
<p>    Condition1: Delete all the rows and insert another row then. What is the starting value for this auto incremented field user_pri_id ,<br />
    Condition2: Delete the last row(having the field value 2345) and insert another row then. What is the value for this auto incremented field user_pri_id<br />
18. What are the advantages/disadvantages of MySQL and PHP?<br />
19. What is the difference between GROUP BY and ORDER BY in Sql?<br />
20. What is the difference between char and varchar data types?<br />
21. What is the functionality of md5 function in PHP?<br />
22. How can I load data from a text file into a table?<br />
23. How can we know the number of days between two given dates using MySQL?<br />
24. How can we know the number of days between two given dates using PHP?<br />
25. How can we change the name of a column of a table?<br />
26. How can we change the name and data type of a column of a table?<br />
27. What are the differences between drop a table and truncate a table?<br />
28. When you want to show some part of a text displayed on an HTML page in red font color, what different possibilities are there to do this? What are the advantages/disadvantages of these methods?<br />
29. When viewing an HTML page in a Browser, the Browser often keeps this page in its cache. What can be possible advantages/disadvantages of page caching? How can you prevent caching of a certain page (please give several alternate solutions)?<br />
30. What are the different methods of passing data or information between two calls of a web page? What are the advantages/disadvantages of these methods?<br />
31. An Apache web server is running on a Linux system. Suddenly, the web server delivers the pages very slow. How could you find out possible reasons for that (when using system commands, please specify their names)?<br />
32. What are the different ways to login to a remote server? Explain the means, advantages and disadvantages?<br />
33. Please give a regular expression (preferably Perl/PREG style), which can be used to identify the URL from within a HTML link tag. Example: The regular expression should match the tag <A HREF="//www.yoursite.com/”"> and give the URL (”http://www.yoursite.com /”) as a return result. Tags should also be matched if they contain other attributes than the HREF attribute.<br />
34. A select query over a large table runs very slow because of the growing number of entries in that table. What different measures could be taken to improve speed?<br />
35. A company wants to store their invoices in a database. They already have their customers and articles in that database. Both customer and article are each identified by an unique integer value. Please create the SQL statements for creating the necessary table(s) for storing the invoices in a MySQL database. An invoice should hold information like invoice number, customer, date, article(s) and quantity etc.<br />
36. For the database from the previous question, please give an SQL query which returns the invoice number of all invoices which contain the article with the number “1234?. The query should be able to run under a MySQL 4.0 database.<br />
37. How would you backup and restore a big MySQL database? What are the advantages of the approach which you have taken over the others?<br />
38. Create a PHP web script with the following attributes: on start, three HTML form elements are shown: an string input field, a checkbox field, a dropdown/pull down list with 5 elements and a submit button. On submission, the form should be redisplayed (while remaining all options/inputs as the user has selected/entered them). Additionally, the selections/inputs of the user should be displayed in text. Please solve this without the use of any external libraries.<br />
39. What is MIME?<br />
40. What is PEAR in PHP?<br />
41. How can I use the COM components in PHP?<br />
42. How can I load the DLLs dynamically?<br />
43. How many ways we can give the output to a browser?<br />
44. How can we know that a session is started or not?<br />
45. What is the default session time in PHP and how can I change it?<br />
46. What changes I have to done in PHP.ini file for file uploading?<br />
47. What are the differences between MySQL_fetch_array(), MySQL_fetch_object(), MySQL_fetch_row()?<br />
48. How can I set a cron and how can i execute it in Unix, Linux, and windows?<br />
49. Steps for the payment gateway processing?<br />
50. How many ways I can register the variables into session?<br />
51. Explain different types of errors in PHP (i.e. arguments in errorreporting function)?<br />
52. How many ways I can redirect a PHP page?<br />
53. List out different arguments in PHP header function?<br />
54. What type of headers have to add in the mail function in which file a attached?<br />
55. What is the difference between<br />
56. What are the differences between PHP3 and PHP4 versions?<br />
57. What are the differences between include() and include_once() functions?<br />
58. Describe the importance of DABA BASE ABSTRACTION LAYERS in PHP and database connection?<br />
59. Explain MySQL optimization?<br />
60. What is the difference between using copy() and move() function in PHP file uploading?<br />
61. What is the difference between Reply-to and Return-path in the headers of a mail function?<br />
62. Explain about Type Juggling in PHP?<br />
63. How can I get the only name of the current executing file?<br />
64. How can I embed a java program in PHP file and what changes have to be done in PHP.ini file?<br />
65. How can I find what type of images that the PHP version supports?</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/simanta.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/simanta.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simanta.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simanta.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simanta.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simanta.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simanta.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simanta.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simanta.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simanta.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simanta.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simanta.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simanta.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simanta.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simanta.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simanta.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=24&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simanta.wordpress.com/2008/07/02/interview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/754ce7d35536697bd4e80f697467a511?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simanta</media:title>
		</media:content>
	</item>
		<item>
		<title>File Content Extract</title>
		<link>http://simanta.wordpress.com/2008/05/14/file-content-extract/</link>
		<comments>http://simanta.wordpress.com/2008/05/14/file-content-extract/#comments</comments>
		<pubDate>Wed, 14 May 2008 06:22:41 +0000</pubDate>
		<dc:creator>simanta</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[content extract]]></category>

		<guid isPermaLink="false">http://simanta.wordpress.com/?p=18</guid>
		<description><![CDATA[If you want to extract content from a large file then use the following command from shell $ sed -n &#8216;/start string/&#8217;,'/end string/p&#8217; database.sql &#62; usertable.sql The above command will extract the inner content from the SQL file between &#8216;start string&#8217; and &#8216;end string&#8217;.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=18&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you want to extract content from a large file then use the following command from shell</p>
<p>$ sed -n &#8216;/start string/&#8217;,'/end string/p&#8217; database.sql &gt; usertable.sql</p>
<p>The above command will extract the inner content from the SQL file between &#8216;start string&#8217; and &#8216;end string&#8217;.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/simanta.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/simanta.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simanta.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simanta.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simanta.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simanta.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simanta.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simanta.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simanta.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simanta.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simanta.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simanta.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simanta.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simanta.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simanta.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simanta.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=18&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simanta.wordpress.com/2008/05/14/file-content-extract/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/754ce7d35536697bd4e80f697467a511?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simanta</media:title>
		</media:content>
	</item>
		<item>
		<title>CSV Import to Using MySQL</title>
		<link>http://simanta.wordpress.com/2008/05/14/csv-import-to-using-mysql/</link>
		<comments>http://simanta.wordpress.com/2008/05/14/csv-import-to-using-mysql/#comments</comments>
		<pubDate>Wed, 14 May 2008 05:07:22 +0000</pubDate>
		<dc:creator>simanta</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[Load data]]></category>

		<guid isPermaLink="false">http://simanta.wordpress.com/?p=17</guid>
		<description><![CDATA[Use the below query in MySQL to import csv data to populate a table. LOAD DATA LOCAL INFILE &#8216;path/to/csv/file&#8217; INTO TABLE `tablename` FIELDS TERMINATED BY &#8216;;&#8217; ENCLOSED BY &#8216;&#8221;&#8216; ESCAPED BY &#8216;\\&#8217; LINES TERMINATED BY &#8216;\r\n&#8217;(`id`,`name`,`value`,`isactive`);<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=17&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Use the below query in MySQL to import csv data to populate a table.</p>
<p><span class="syntax_alpha syntax_alpha_reservedWord">LOAD DATA LOCAL INFILE &#8216;path/to/csv/file&#8217; INTO TABLE `tablename` FIELDS TERMINATED BY &#8216;;&#8217; ENCLOSED BY &#8216;&#8221;&#8216; ESCAPED BY &#8216;\\&#8217; LINES TERMINATED BY &#8216;\r\n&#8217;(`id`,`name`,`value`,`isactive`);</span><span class="syntax"><span class="syntax_punct syntax_punct_bracket_close_round"></span></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/simanta.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/simanta.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simanta.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simanta.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simanta.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simanta.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simanta.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simanta.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simanta.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simanta.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simanta.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simanta.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simanta.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simanta.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simanta.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simanta.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=17&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simanta.wordpress.com/2008/05/14/csv-import-to-using-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/754ce7d35536697bd4e80f697467a511?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simanta</media:title>
		</media:content>
	</item>
		<item>
		<title>Welcome to MySQL World</title>
		<link>http://simanta.wordpress.com/2008/05/13/welcome-to-mysql-world/</link>
		<comments>http://simanta.wordpress.com/2008/05/13/welcome-to-mysql-world/#comments</comments>
		<pubDate>Tue, 13 May 2008 04:31:27 +0000</pubDate>
		<dc:creator>simanta</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Restore]]></category>

		<guid isPermaLink="false">http://simanta.wordpress.com/?p=16</guid>
		<description><![CDATA[To make a database backup using the MySQL command-line utilities, execute the following command: $ mysqldump -u root -p dbname &#62; dump.sql If you need to restore your database, you can do so like this: $ mysql -u username -p dbname &#60; dump.sql<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=16&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To make a database backup using the MySQL command-line utilities, execute the following command:</p>
<p>$ mysqldump -u root -p dbname &gt; dump.sql</p>
<p>If you need to restore your database, you can do so like this:</p>
<p>$ mysql -u username -p dbname &lt; dump.sql</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/simanta.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/simanta.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simanta.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simanta.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simanta.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simanta.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simanta.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simanta.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simanta.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simanta.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simanta.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simanta.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simanta.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simanta.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simanta.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simanta.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=16&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simanta.wordpress.com/2008/05/13/welcome-to-mysql-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/754ce7d35536697bd4e80f697467a511?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simanta</media:title>
		</media:content>
	</item>
		<item>
		<title>Using connectionString</title>
		<link>http://simanta.wordpress.com/2007/12/03/using-connectionstring/</link>
		<comments>http://simanta.wordpress.com/2007/12/03/using-connectionstring/#comments</comments>
		<pubDate>Mon, 03 Dec 2007 04:55:54 +0000</pubDate>
		<dc:creator>simanta</dc:creator>
				<category><![CDATA[aspx]]></category>

		<guid isPermaLink="false">http://simanta.wordpress.com/2007/12/03/using-connectionstring/</guid>
		<description><![CDATA[&#60;connectionStrings&#62; &#60;add name=&#8221;demowebdb&#8221; connectionString=&#8221;Data Source=SIMANTA\SQLEXPRESS;user id=sa;pwd=root;database=testdb&#8221; providerName=&#8221;System.Data.SqlClient&#8221; /&#62; &#60;!&#8211;&#60;add name=&#8221;demowebdb&#8221; connectionString=&#8221;Data Source=.\SQLEXPRESS;AttachDbFilename=&#124;DataDirectory&#124;\demoweb.mdf;Integrated Security=True;User Instance=True&#8221; providerName=&#8221;System.Data.SqlClient&#8221;/&#62;&#8211;&#62; &#60;/connectionStrings&#62; ===================================================== &#60;%@ Page Language=&#8221;C#&#8221; Debug=&#8221;true&#8221; %&#62; &#60;%@ Import Namespace=&#8221;System.Data&#8221; %&#62; &#60;%@ Import Namespace=&#8221;System.Data.SqlClient&#8221; %&#62; &#60;%@ Import Namespace=&#8221;System.Configuration&#8221; %&#62; &#60;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&#62; &#60;script runat=&#8221;server&#8221;&#62; public class Program { public int sqlInsert() { string connstr = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=15&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;connectionStrings&gt;<br />
&lt;add name=&#8221;demowebdb&#8221; connectionString=&#8221;Data Source=SIMANTA\SQLEXPRESS;user id=sa;pwd=root;database=testdb&#8221; providerName=&#8221;System.Data.SqlClient&#8221; /&gt;<br />
&lt;!&#8211;&lt;add name=&#8221;demowebdb&#8221; connectionString=&#8221;Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\demoweb.mdf;Integrated Security=True;User Instance=True&#8221; providerName=&#8221;System.Data.SqlClient&#8221;/&gt;&#8211;&gt;<br />
&lt;/connectionStrings&gt;</p>
<p>=====================================================</p>
<p>&lt;%@ Page Language=&#8221;C#&#8221; Debug=&#8221;true&#8221; %&gt;<br />
&lt;%@ Import Namespace=&#8221;System.Data&#8221; %&gt;<br />
&lt;%@ Import Namespace=&#8221;System.Data.SqlClient&#8221; %&gt;<br />
&lt;%@ Import Namespace=&#8221;System.Configuration&#8221; %&gt;</p>
<p>&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&gt;</p>
<p>&lt;script runat=&#8221;server&#8221;&gt;<br />
public class Program<br />
{<br />
public int sqlInsert()<br />
{<br />
string connstr = ConfigurationManager.ConnectionStrings["demowebdb"].ConnectionString;<br />
string query = &#8220;INSERT INTO employee(fname,lname,gender,createdate,isactive) VALUES(&#8216;t&#8221;s&#8217;,'tt&#8217;,'M&#8217;,'&#8221;+ DateTime.Now +&#8221;&#8216;,1)&#8221;;<br />
SqlConnection dbconn = new SqlConnection(connstr);<br />
dbconn.Open();<br />
SqlCommand cmd = new SqlCommand(query, dbconn);<br />
int numrows = cmd.ExecuteNonQuery();<br />
dbconn.Close();<br />
return numrows;<br />
}<br />
}<br />
&lt;/script&gt;</p>
<p>&lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221;&gt;<br />
&lt;head runat=&#8221;server&#8221;&gt;<br />
&lt;title&gt;SQLConnection Page&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;form id=&#8221;form1&#8243; runat=&#8221;server&#8221;&gt;<br />
&lt;div&gt;<br />
&lt;%<br />
Program p = new Program();<br />
Response.Write(p.sqlInsert());<br />
%&gt;<br />
&lt;/div&gt;<br />
&lt;/form&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/simanta.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/simanta.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simanta.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simanta.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simanta.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simanta.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simanta.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simanta.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simanta.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simanta.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simanta.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simanta.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simanta.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simanta.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simanta.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simanta.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=15&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simanta.wordpress.com/2007/12/03/using-connectionstring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/754ce7d35536697bd4e80f697467a511?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simanta</media:title>
		</media:content>
	</item>
		<item>
		<title>OOPs and basic concept</title>
		<link>http://simanta.wordpress.com/2007/11/14/oops-and-basic-concept/</link>
		<comments>http://simanta.wordpress.com/2007/11/14/oops-and-basic-concept/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 13:10:20 +0000</pubDate>
		<dc:creator>simanta</dc:creator>
				<category><![CDATA[aspx]]></category>

		<guid isPermaLink="false">http://simanta.wordpress.com/2007/11/14/oops-and-basic-concept/</guid>
		<description><![CDATA[Accessor: A method that sets or retrieves the value of a private data member value that is associated with a property. Read-write properties have get and set accessors. Properties that are read-only have only a get accessor. Constructor: A special method on a class or struct that initializes the objects of that type. Destructor: A [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=13&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Accessor:</strong> A method that sets or retrieves the value of a private data member value that is associated with a property. Read-write properties have get and set accessors. Properties that are read-only have only a get accessor.</p>
<p><strong>Constructor:</strong> A special method on a class or struct that initializes the objects of that type.</p>
<p><strong>Destructor:</strong> A special method on a class or struct that prepares the instance for destruction by the system.</p>
<p><strong>Field:</strong> A data member of a class or struct that is accessed directly.</p>
<p><strong>Generics:</strong> Generics allow you to define a class and or method that are defined with a type Parameter. When client code instantiates the type, it specifies a particular type as an argument.</p>
<p><strong>Property:</strong> A data member accessed by means of an accessor.</p>
<p><strong>Refactoring:</strong> Reusing previously entered code.</p>
<p>Q. What is polymorphism?<br />
<strong>Q. What are the difference between Abstruct class and Interface?</strong><br />
* An Interface cannot implement methods.<br />
* An abstract class can implement methods.</p>
<p>* An Interface can only inherit from another Interface.<br />
* An abstract class can inherit from a class and one or more interfaces.</p>
<p>* An Interface cannot contain fields.<br />
* An abstract class can contain fields.</p>
<p>* An Interface can contain property definitions.<br />
* An abstract class can implement a property.</p>
<p>* An Interface cannot contain constructors or destructors.<br />
* An abstract class can contain constructors or destructors.</p>
<p>* An Interface can be inherited from by structures.<br />
* An abstract class cannot be inherited from by structures.</p>
<p>* An Interface can support multiple inheritance.<br />
* An abstract class cannot support multiple inheritance.</p>
<p><strong>Q. What is WSDL?</strong><br />
ANS: WSDL stands for Web Services Description Language which is an XML document used to describe Web services and also used to locate Web services.</p>
<p><strong>Q. Describe ASP.NET page lifecycle.</strong><br />
ANS:<br />
<strong>Page request: </strong><br />
The page request occurs before the page life cycle begins. When the page is requested by a user, ASP.NET determines whether the page needs to be parsed and compiled (therefore beginning the life of a page), or whether a cached version of the page can be sent in response without running the page.</p>
<p><strong>Start:</strong><br />
In the start step, page properties such as Request and Response are set. At this stage, the page also determines whether the request is a postback or a new request and sets the IsPostBack property. Additionally, during the start step, the page&#8217;s UICulture property is set.</p>
<p><strong>Page initialization:</strong><br />
During page initialization, controls on the page are available and each control&#8217;s UniqueID property is set. Any themes are also applied to the page. If the current request is a postback, the postback data has not yet been loaded and control property values have not been restored to the values from view state.</p>
<p><strong>Load:</strong><br />
During load, if the current request is a postback, control properties are loaded with information recovered from view state and control state.</p>
<p><strong>Validation:</strong><br />
During validation, the Validate method of all validator controls is called, which sets the IsValid property of individual validator controls and of the page.</p>
<p><strong>Postback event handling:</strong><br />
If the request is a postback, any event handlers are called.</p>
<p><strong>Rendering:</strong><br />
Before rendering, view state is saved for the page and all controls. During the rendering phase, the page calls the Render method for each control, providing a text writer that writes its output to the OutputStream of the page&#8217;s Response property.</p>
<p><strong>Unload:</strong><br />
Unload is called after the page has been fully rendered, sent to the client, and is ready to be discarded. At this point, page properties such as Response and Request are unloaded and any cleanup is performed.</p>
<p><strong>PAGE EVENTS:</strong><br />
PreInit -&gt; Init -&gt; InitComplete -&gt; PreLoad -&gt; Load -&gt; [Control events] -&gt; LoadComplete -&gt; PreRender -&gt; SaveStateComplete -&gt; Render -&gt; Unload.</p>
<p>Q. What is sealed class? How is it different from private class?<br />
<strong>Q. What are the difference between char and varchar?</strong><br />
ANS: The CHAR is a fixed-length character data type, the VARCHAR is a variable-length character data type. CHAR should be used for storing fix length character strings. String values will be space/blank padded before stored on disk. If this type is used to store variable length strings, it will waste a lot of disk space.</p>
<p><strong>Q. What are cursor, view and trigger?</strong><br />
<strong>Cursors</strong> are special programming constructs that allow data to be manipulated on a row-by-row basis, similar to other structured programming languages. They are declared like a variable, and then move one record at a time using a loop for control. There are three types of cursors, DYNAMIC, STATIC, and KEYSET. There are also three types of locks for cursors, READ ONLY, SCROLL LOCKS, and OPTIMISTIC.<br />
Benefit &#8211; Fetch more records at time for that purpose you can use Cursor.</p>
<p><strong>A View</strong> is a logical construct in the database. You basically create a virtual table in the database with a pre-defined query. Any other query can use the view.</p>
<p><strong>Triggers</strong> are a special PL/SQL construct similar to procedures. However, a procedure is executed explicitly from another block via a procedure call, while a trigger is executed implicitly whenever the triggering event happens. The triggering event is an INSERT, DELETE, or UPDATE command. The timing can be either BEFORE or AFTER. The trigger can be either row-level or statement-level, where the former fires once for each row affected by the triggering statement and the latter fires once for the whole statement.</p>
<p><strong>Q. What are the difference between primary key and unique key?</strong><br />
*Primary key should not contain nulls but unique key can contains null values.<br />
*There is only one Primary key for one table but there may be more than one<br />
Unique Key in a table.</p>
<p><strong>Q. What is indexing?</strong><br />
Indexes are database tools that increase the system&#8217;s ability to retrieve data by not scanning all of the data records in search of the desired record(s). Indexes can change the organization of data so that it is structured similarly to how it will be accessed for retrieval. The indexes are created on column(s) to help the database find data based upon the value(s) contained in those indexed column(s).<br />
<strong>Index Drawbacks:</strong><br />
Indexes are a performance drag when the time comes to modify records. Any time a query modifies the data in a table the indexes on the data must change also. Achieving the right number of indexes will require testing and monitoring of your database to see where the best balance lies. Static systems, where databases are used heavily for reporting, can afford more indexes to support the read only queries. A database with a heavy number of transactions to modify data will need fewer indexes to allow for higher throughput. Indexes also use disk space. The exact size will depends on the number of records in the table as well as the number and size of the columns in the index. Generally this is not a major concern as disk space is easy to trade for better performance.</p>
<p><strong>Q. How do you remove duplicate entries from a table?</strong><br />
ANS:<br />
EMPID EMPNAME    EMPSSN<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8211;<br />
1 Jack       555-55-5555<br />
2 Joe        555-56-5555<br />
3 Fred       555-57-5555<br />
4 Mike       555-58-5555<br />
5 Cathy      555-59-5555<br />
6 Lisa       555-70-5555<br />
7 Jack       555-55-5555<br />
8 Mike       555-58-5555<br />
9 Cathy      555-59-5555<br />
10 Lisa       555-70-5555<br />
11 Lisa       555-70-5555</p>
<p>delete from employee<br />
where (empid, empssn)<br />
not in<br />
( select min(empid), empssn<br />
from employee group by empssn); =&gt; EMPID Unique.</p>
<p>delete from employee<br />
where (rowid, empssn)<br />
not in<br />
(select min(rowid), empssn from employee group by empssn); =&gt; Duplicate records once again but this time the empids and empSSNs are the same.</p>
<p><strong>Q. What is MDAC (Microsoft Data Access Components)?</strong><br />
ANS: ADO, ODBC and OLE DB</p>
<p><strong>Q. Difference between Application and Session?</strong><br />
An application variable exists from when the application is first &#8216;run&#8217; (The first time a page in the app is used) and exists until the application is stopped on the server, either through IIS or the actual machine being turned off or rebooted.<br />
A session variable is created for the instance of the browser accessing the site and will only be available until that browser is closed or the session times out.</p>
<p><strong>Q. Assemblies:</strong><br />
<strong>An assembly</strong> is a fundamental building block of any .NET Framework application. For example, when you build a simple C# application, Visual Studio creates an assembly in the form of a single portable executable (PE) file, specifically an EXE or DLL.</p>
<p>Assemblies contain metadata that describe their own internal version number and details of all the data and object types they contain. This is known as Assembly Manifest.</p>
<p>Assemblies have the following properties:</p>
<p>*Assemblies are implemented as .exe or .dll files.</p>
<p>*You can share an assembly between applications by putting it in the Global Assembly Cache.</p>
<p>*Assemblies must be strong-named before they can be included in the Global Assembly Cache.</p>
<p>*Assemblies are only loaded into memory if they are required.</p>
<p>*You can programmatically obtain information about an assembly by using reflection.</p>
<p>*You can use two versions of the same assembly in a single application.</p>
<p><strong>A</strong> <strong>private assembly</strong> is an assembly that is deployed with an application and is available for the exclusive use of that application. That is, other applications do not share the private assembly. Private assemblies are one of the methods that can be used to create isolated applications.</p>
<p><strong>A shared assembly</strong> is an assembly available for use by multiple applications on the computer.</p>
<p><strong>Difference:</strong><br />
*  A private assembly is not required to be signed, and publickeyToken is not required in the &lt;assemblyIdentity&gt; element of the assembly manifest.<br />
* Private assemblies can be installed into the application&#8217;s folder using any installation technology. Private assemblies are not required to be installed using the Windows Installer.</p>
<p><strong>Q. Five(5) new features added in ASP.NET 2.0.</strong><br />
1. Master Page<br />
2. App_Code<br />
3. App_Data<br />
4. Themes and Skins<br />
5. &lt;%$ &#8230; %&gt;<br />
6.  64-Bit Support</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/simanta.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/simanta.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simanta.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simanta.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simanta.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simanta.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simanta.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simanta.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simanta.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simanta.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simanta.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simanta.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simanta.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simanta.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simanta.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simanta.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=13&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simanta.wordpress.com/2007/11/14/oops-and-basic-concept/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/754ce7d35536697bd4e80f697467a511?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simanta</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.NET Questions</title>
		<link>http://simanta.wordpress.com/2007/10/29/aspnet-questions/</link>
		<comments>http://simanta.wordpress.com/2007/10/29/aspnet-questions/#comments</comments>
		<pubDate>Mon, 29 Oct 2007 05:26:46 +0000</pubDate>
		<dc:creator>simanta</dc:creator>
				<category><![CDATA[aspx]]></category>

		<guid isPermaLink="false">http://simanta.wordpress.com/2007/10/29/aspnet-questions/</guid>
		<description><![CDATA[1. Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process. inetinfo.exe is theMicrosoft IIS server running, handling ASP.NET requests among other things.When an ASP.NET request is received (usually a file with .aspx extension), the ISAPI filter aspnet_isapi.dll takes care of it by passing the request tothe actual worker process aspnet_wp.exe. 2. What’s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=10&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.<br />
inetinfo.exe is theMicrosoft IIS server running, handling ASP.NET requests among other things.When an ASP.NET request is received (usually a file with .aspx extension), the ISAPI filter aspnet_isapi.dll takes care of it by passing the request tothe actual worker process aspnet_wp.exe.</p>
<p>2. What’s the difference between Response.Write() andResponse.Output.Write()?<br />
Response.Output.Write() allows you to write formatted output.</p>
<p>3. What methods are fired during the page load?<br />
Init() &#8211; when the page is instantiated<br />
Load() &#8211; when the page is loaded into server memory<br />
PreRender() &#8211; the brief moment before the page is displayed to the user as HTML<br />
Unload() &#8211; when page finishes loading.</p>
<p>4. When during the page processing cycle is ViewState available?<br />
After the Init() and before the Page_Load(), or OnLoad() for a control.</p>
<p>5. What namespace does the Web page belong in the .NET Framework class hierarchy?<br />
System.Web.UI.Page</p>
<p>6. Where do you store the information about the user’s locale?<br />
System.Web.UI.Page.Culture</p>
<p>7. What’s the difference between Codebehind=&#8221;MyCode.aspx.cs&#8221; andsrc=&#8221;MyCode.aspx.cs&#8221;?<br />
CodeBehind is relevant to Visual Studio.NET only.</p>
<p>8. What’s a bubbled event?<br />
When you have a complex control, like DataGrid, writing an event processing routine for each object (cell, button, row, etc.) is quite tedious. The controls can bubble up their eventhandlers, allowing the main DataGrid event handler to take care of its constituents.</p>
<p>9. Suppose you want a certain ASP.NET function executed on MouseOver for a certain button.  Where do you add an event handler?<br />
Add an OnMouseOver attribute to the button.  Example: btnSubmit.Attributes.Add(&#8220;onmouseover&#8221;,&#8221;someClientCodeHere();&#8221;);</p>
<p>10. What data types do the RangeValidator control support?<br />
Integer, String, and Date.</p>
<p>11. Explain the differences between Server-side and Client-side code?<br />
Server-side code executes on the server.  Client-side code executes in the client&#8217;s browser.</p>
<p>12. What type of code (server or client) is found in a Code-Behind class?<br />
The answer is server-side code since code-behind is executed on the server.  However, during the code-behind&#8217;s execution on the server, it can render client-side code such as JavaScript to be processed in the clients browser.  But just to be clear, code-behind executes on the server, thus making it server-side code.</p>
<p>13. Should user input data validation occur server-side or client-side?  Why?<br />
All user input data validation should occur on the server at a minimum.  Additionally, client-side validation can be performed where deemed appropriate and feasable to provide a richer, more responsive experience for the user.</p>
<p>14. What is the difference between Server.Transfer and Response.Redirect?  Why would I choose one over the other?<br />
Server.Transfer transfers page processing from one page directly to the next page without making a round-trip back to the client&#8217;s browser.  This provides a faster response with a little less overhead on the server.  Server.Transfer does not update the clients url history list or current url.  Response.Redirect is used to redirect the user&#8217;s browser to another page or site.  This performas a trip back to the client where the client&#8217;s browser is redirected to the new page.  The user&#8217;s browser history list is updated to reflect the new address.</p>
<p>15. Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?<br />
Valid answers are:<br />
·  A DataSet can represent an entire relational database in memory, complete with tables, relations, and views.<br />
·  A DataSet is designed to work without any continuing connection to the original data source.<br />
·  Data in a DataSet is bulk-loaded, rather than being loaded on demand.<br />
·  There&#8217;s no concept of cursor types in a DataSet.<br />
·  DataSets have no current record pointer You can use For Each loops to move through the data.<br />
·  You can store many edits in a DataSet, and write them to the original data source in a single operation.<br />
·  Though the DataSet is universal, other objects in ADO.NET come in different versions for different data sources.</p>
<p>16. What is the Global.asax used for?<br />
The Global.asax (including the Global.asax.cs file) is used to implement application and session level events.</p>
<p>17. What are the Application_Start and Session_Start subroutines used for?<br />
This is where you can set the specific variables for the Application and Session objects.</p>
<p>18. Can you explain what inheritance is and an example of when you might use it?<br />
When you want to inherit (use the functionality of) another class.  Example: With a base class named Employee, a Manager class could be derived from the Employee base class.</p>
<p>19. Whats an assembly?<br />
Assemblies are the building blocks of the .NET framework. Overview of assemblies from MSDN</p>
<p>20. Describe the difference between inline and code behind.<br />
Inline code written along side the html in a page. Code-behind is code written in a separate file and referenced by the .aspx page.</p>
<p>21. Explain what a diffgram is, and a good use for one?<br />
The DiffGram is one of the two XML formats that you can use to render DataSet object contents to XML.  A good use is reading database data to an XML file to be sent to a Web Service.</p>
<p>22. Whats MSIL, and why should my developers need an appreciation of it if at all?<br />
MSIL is the Microsoft Intermediate Language. All .NET compatible languages will get converted to MSIL.  MSIL also allows the .NET Framework to JIT compile the assembly on the installed computer.</p>
<p>23. Which method do you invoke on the DataAdapter control to load your generated dataset with data?<br />
The Fill() method.</p>
<p>24. Can you edit data in the Repeater control?<br />
No, it just reads the information from its data source.</p>
<p>25. Which template must you provide, in order to display data in a Repeater control?<br />
ItemTemplate.</p>
<p>26. How can you provide an alternating color scheme in a Repeater control?<br />
Use the AlternatingItemTemplate.</p>
<p>27. What property must you set, and what method must you call in your code, in order to bind the data from a data source to the Repeater control?<br />
You must set the DataSource property and call the DataBind method.</p>
<p>28. What base class do all Web Forms inherit from?<br />
The Page class.</p>
<p>29. Name two properties common in every validation control?<br />
ControlToValidate property and Text property.</p>
<p>30. Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?<br />
DataTextField property.</p>
<p>31. Which control would you use if you needed to make sure the values in two different controls matched?<br />
CompareValidator control.</p>
<p>32. How many classes can a single .NET DLL contain?<br />
It can contain many classes.</p>
<p><strong>Web Service Questions</strong></p>
<p>1. What is the transport protocol you use to call a Web service?<br />
SOAP (Simple Object Access Protocol) is the preferred protocol.</p>
<p>2. True or False: A Web service can only be written in .NET?<br />
False</p>
<p>3. What does WSDL stand for?<br />
Web Services Description Language.</p>
<p>4. Where on the Internet would you look for Web services?</p>
<p>http://www.uddi.org</p>
<p>5. True or False: To test a Web service you must create a Windows application or Web application to consume this service?<br />
False, the web service comes with a test page and it provides HTTP-GET method to test.</p>
<p><strong>State Management Questions</strong></p>
<p>1. What is ViewState?<br />
ViewState allows the state of objects (serializable) to be stored in a hidden field on the page.  ViewState is transported to the client and back to the server, and is not stored on the server or any other external source.  ViewState is used the retain the state of server-side objects between postabacks.</p>
<p>2. What is the lifespan for items stored in ViewState?<br />
Item stored in ViewState exist for the life of the current page.  This includes postbacks (to the same page).</p>
<p>3. What does the &#8220;EnableViewState&#8221; property do?  Why would I want it on or off?<br />
It allows the page to save the users input on a form across postbacks.  It saves the server-side values for a given control into ViewState, which is stored as a hidden value on the page before sending the page to the clients browser.  When the page is posted back to the server the server control is recreated with the state stored in viewstate.</p>
<p>4. What are the different types of Session state management options available with ASP.NET?<br />
ASP.NET provides In-Process and Out-of-Process state management.  In-Process stores the session in memory on the web server.  This requires the a &#8220;sticky-server&#8221; (or no load-balancing) so that the user is always reconnected to the same web server.  Out-of-Process Session state management stores data in an external data source.  The external data source may be either a SQL Server or a State Server service.  Out-of-Process state management requires that all objects stored in session are serializable.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/simanta.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/simanta.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simanta.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simanta.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simanta.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simanta.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simanta.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simanta.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simanta.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simanta.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simanta.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simanta.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simanta.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simanta.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simanta.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simanta.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=10&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simanta.wordpress.com/2007/10/29/aspnet-questions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/754ce7d35536697bd4e80f697467a511?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simanta</media:title>
		</media:content>
	</item>
		<item>
		<title>Nested Class</title>
		<link>http://simanta.wordpress.com/2007/08/30/nested-class/</link>
		<comments>http://simanta.wordpress.com/2007/08/30/nested-class/#comments</comments>
		<pubDate>Thu, 30 Aug 2007 05:45:40 +0000</pubDate>
		<dc:creator>simanta</dc:creator>
				<category><![CDATA[aspx]]></category>

		<guid isPermaLink="false">http://simanta.wordpress.com/2007/08/30/nested-class/</guid>
		<description><![CDATA[&#60;%@ Page Language=&#8221;C#&#8221; Debug=&#8221;true&#8221; %&#62; &#60;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&#62; &#60;script runat=&#8221;server&#8221;&#62; class OuterClass { public class InnerClass { public void Display() { HttpContext.Current.Response.Write(&#8220;Hello World!&#8221;); } } } &#60;/script&#62; &#60;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221;&#62; &#60;head runat=&#8221;server&#8221;&#62; &#60;title&#62;Nested Class Page&#60;/title&#62; &#60;/head&#62; &#60;body&#62; &#60;form id=&#8221;form1&#8243; runat=&#8221;server&#8221;&#62; &#60;div&#62; &#60;% OuterClass o = new OuterClass(); OuterClass.InnerClass i = new [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=9&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;%@ Page Language=&#8221;C#&#8221; Debug=&#8221;true&#8221; %&gt;</p>
<p>&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&gt;</p>
<p>&lt;script runat=&#8221;server&#8221;&gt;<br />
class OuterClass<br />
{<br />
public class InnerClass<br />
{<br />
public void Display()<br />
{<br />
HttpContext.Current.Response.Write(&#8220;Hello World!&#8221;);<br />
}<br />
}<br />
}<br />
&lt;/script&gt;</p>
<p>&lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221;&gt;<br />
&lt;head runat=&#8221;server&#8221;&gt;<br />
&lt;title&gt;Nested Class Page&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;form id=&#8221;form1&#8243; runat=&#8221;server&#8221;&gt;<br />
&lt;div&gt;<br />
&lt;%<br />
OuterClass o = new OuterClass();<br />
OuterClass.InnerClass i = new OuterClass.InnerClass();<br />
//OuterClass.InnerClass.Display();//if Display is static method<br />
i.Display();<br />
%&gt;<br />
&lt;/div&gt;<br />
&lt;/form&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/simanta.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/simanta.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/simanta.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/simanta.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/simanta.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/simanta.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/simanta.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/simanta.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/simanta.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/simanta.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/simanta.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/simanta.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/simanta.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/simanta.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/simanta.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/simanta.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=simanta.wordpress.com&amp;blog=1487233&amp;post=9&amp;subd=simanta&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://simanta.wordpress.com/2007/08/30/nested-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/754ce7d35536697bd4e80f697467a511?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">simanta</media:title>
		</media:content>
	</item>
	</channel>
</rss>
