<?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: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-8499164708859815383</id><updated>2012-02-16T16:48:48.448+05:30</updated><category term='mobile'/><category term='C#'/><category term='asp.net 2.0'/><category term='out source development'/><category term='visual studio 2005'/><category term='GridView'/><title type='text'>Charith's Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://charithm.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://charithm.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Charith</name><uri>http://www.blogger.com/profile/14469503159416331515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8499164708859815383.post-4493866472740297349</id><published>2008-01-29T10:31:00.000+05:30</published><updated>2008-01-29T11:14:28.897+05:30</updated><title type='text'>Export HTML controls to MS EXCEL</title><content type='html'>You need to have few simple steps to do this. You can just add a header to say that the page should output in excel format. But it is not effective since it will corrupt most of the time when the size is growing over 100kb. This way it allows you to output itas Binary. The other difference is this way you can output only the control you need. Not the whole page.&lt;br /&gt;&lt;br /&gt;Step 1: Just copy paste the following method in to your page. This is just to allow the rendering engine to identify your control as a valid control. Dont do any change to this.&lt;br /&gt;&lt;br /&gt;&lt;I&gt;public override void VerifyRenderingInServerForm(Control control)&lt;br /&gt;{&lt;br /&gt;// Confirms that an HtmlForm control is rendered for the&lt;br /&gt;// specified ASP.NET server control at run time.&lt;br /&gt;}&lt;br /&gt;&lt;/I&gt;&lt;br /&gt;Step 2: Add the code to your export button click event. Keep in mind to activate "ViewState" for the control. Note that &lt;B&gt;"ReportTable"&lt;/B&gt; is the control I'm using.&lt;br /&gt;&lt;I&gt;&lt;br /&gt;protected void Export_Click(object sender, EventArgs e)&lt;br /&gt;{&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;Response.Clear();&lt;br /&gt;Response.ContentType = "application/vnd.ms-excel";&lt;br /&gt;Response.Charset = "";&lt;br /&gt;this.EnableViewState = false;&lt;br /&gt;&lt;br /&gt;Response.AddHeader("content-disposition", "attachment;filename=Report.xls");&lt;br /&gt;Response.Charset = "";&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Response.ContentType = "application/vnd.xls";&lt;br /&gt;System.IO.StringWriter stringWrite = new System.IO.StringWriter();&lt;br /&gt;System.Web.UI.HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite);&lt;br /&gt;//GridView1.RenderControl(htmlWrite);&lt;br /&gt;&lt;B&gt;ReportTable.RenderControl(htmlWrite);&lt;/B&gt;&lt;br /&gt;Response.Write(stringWrite.ToString());&lt;br /&gt;Response.End();&lt;br /&gt;}&lt;br /&gt;catch (System.Threading.ThreadAbortException ev)&lt;br /&gt;{&lt;br /&gt;// Do nothing - This is comming from "Response.End();"&lt;br /&gt;}&lt;br /&gt;catch (Exception ex)&lt;br /&gt;{&lt;br /&gt;// Log any error message&lt;br /&gt;}&lt;br /&gt;}&lt;/I&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8499164708859815383-4493866472740297349?l=charithm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://charithm.blogspot.com/feeds/4493866472740297349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8499164708859815383&amp;postID=4493866472740297349' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/4493866472740297349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/4493866472740297349'/><link rel='alternate' type='text/html' href='http://charithm.blogspot.com/2008/01/export-html-controls-to-ms-excel.html' title='Export HTML controls to MS EXCEL'/><author><name>Charith</name><uri>http://www.blogger.com/profile/14469503159416331515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8499164708859815383.post-8904232632797355342</id><published>2007-12-07T18:31:00.000+05:30</published><updated>2007-12-07T18:42:44.673+05:30</updated><title type='text'>Query full text table with RANKING</title><content type='html'>--Full text search query&lt;br /&gt;select * from &amp;lt;FullTexed table name&amp;gt; O, CONTAINSTABLE(&amp;lt;FullTexed table name&amp;gt;, &amp;lt;FullTexed table column of your table&amp;gt;, '&amp;lt;search word&amp;gt;') AS K&lt;br /&gt;WHERE K.[KEY] = O.&amp;lt;primary key of the table&amp;gt;&lt;br /&gt;ORDER BY K.RANK DESC&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;select * from organisation O, CONTAINSTABLE(Organisation, Description, 'internet OR intranet') AS K&lt;br /&gt;WHERE K.[KEY] = O.OrganisationID&lt;br /&gt;ORDER BY K.RANK DESC&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8499164708859815383-8904232632797355342?l=charithm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://charithm.blogspot.com/feeds/8904232632797355342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8499164708859815383&amp;postID=8904232632797355342' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/8904232632797355342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/8904232632797355342'/><link rel='alternate' type='text/html' href='http://charithm.blogspot.com/2007/12/query-full-text-table-with-ranking.html' title='Query full text table with RANKING'/><author><name>Charith</name><uri>http://www.blogger.com/profile/14469503159416331515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8499164708859815383.post-3074641566049323254</id><published>2007-12-07T18:29:00.000+05:30</published><updated>2007-12-11T10:34:20.149+05:30</updated><title type='text'>Get DataBase info from queries</title><content type='html'>&lt;B&gt;Get all SP names in a database&lt;/B&gt;&lt;br /&gt;&lt;br /&gt;Simply run the below query under your database.&lt;br /&gt;&lt;br /&gt;--Get all SP list of a DB&lt;br /&gt;select name from sysobjects where type='p' order by name asc&lt;br /&gt;&lt;br /&gt;&lt;B&gt;Gt all Table of a DB&lt;/B&gt;&lt;br /&gt;&lt;br /&gt;SELECT [A].* FROM [sysobjects] AS A where [Xtype] = 'U' order by [A].[name]&lt;br /&gt;&lt;br /&gt;&lt;B&gt;Gt all column names of a table&lt;/B&gt;&lt;br /&gt;&lt;br /&gt;SELECT [syscolumns].* FROM [syscolumns], [sysobjects], [systypes] where [syscolumns].[ID] = [sysobjects].[ID] and [syscolumns].[xtype]=[systypes].[xtype] and [syscolumns].[id] = '&amp;lt;Table ID got from above query&amp;gt;' order by colid&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8499164708859815383-3074641566049323254?l=charithm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://charithm.blogspot.com/feeds/3074641566049323254/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8499164708859815383&amp;postID=3074641566049323254' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/3074641566049323254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/3074641566049323254'/><link rel='alternate' type='text/html' href='http://charithm.blogspot.com/2007/12/get-all-sp-names-in-database.html' title='Get DataBase info from queries'/><author><name>Charith</name><uri>http://www.blogger.com/profile/14469503159416331515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8499164708859815383.post-7543632265484226687</id><published>2007-09-24T17:51:00.000+05:30</published><updated>2007-09-24T18:16:18.483+05:30</updated><title type='text'>My photos</title><content type='html'>&lt;iframe src="http://www.panoramio.com/plugin/?lt=7.808963&amp;amp;ln=81.320801&amp;amp;z=10&amp;amp;user=699711&amp;amp;k=2" width="400px" height="400px"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8499164708859815383-7543632265484226687?l=charithm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://charithm.blogspot.com/feeds/7543632265484226687/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8499164708859815383&amp;postID=7543632265484226687' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/7543632265484226687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/7543632265484226687'/><link rel='alternate' type='text/html' href='http://charithm.blogspot.com/2007/09/my-photos.html' title='My photos'/><author><name>Charith</name><uri>http://www.blogger.com/profile/14469503159416331515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8499164708859815383.post-4277825646009177008</id><published>2007-08-15T09:57:00.000+05:30</published><updated>2007-08-15T10:03:39.648+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='mobile'/><category scheme='http://www.blogger.com/atom/ns#' term='visual studio 2005'/><title type='text'>Mobile emulators in Visual Studio</title><content type='html'>This is how you can configure mobile device emulators in visual studio 2005.&lt;br /&gt;&lt;br /&gt;1. install Microsoft "virtual pc" and "active sync"&lt;br /&gt;2. open active sync and change dropdown to "DMA" and press ok&lt;br /&gt;3. open device manager from .net IDE&gt;&gt; tools&gt;&gt; device emulator manager&lt;br /&gt;4. right click the one you need to connect&lt;br /&gt;5. select "connect". this will open the device interface&lt;br /&gt;6. now right click the same item from the device manager&lt;br /&gt;7. select "craddle". this will connnet your PC to the device.&lt;br /&gt;&lt;br /&gt;now use the browser of the device to connect to your PC IIS. you need to use the MACHINE NAME as the sever name. (IP or LOCALHOST wont work) This can be used to develop and test windows and web applications for mobile devices.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8499164708859815383-4277825646009177008?l=charithm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://charithm.blogspot.com/feeds/4277825646009177008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8499164708859815383&amp;postID=4277825646009177008' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/4277825646009177008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/4277825646009177008'/><link rel='alternate' type='text/html' href='http://charithm.blogspot.com/2007/08/mobile-emulators-in-visual-studio.html' title='Mobile emulators in Visual Studio'/><author><name>Charith</name><uri>http://www.blogger.com/profile/14469503159416331515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8499164708859815383.post-6240055487585161675</id><published>2007-08-01T09:49:00.000+05:30</published><updated>2007-08-01T10:28:17.245+05:30</updated><title type='text'>Sql Server - BCP (Bulk copy program)</title><content type='html'>Bulk copy program is a very useful tool to be used when populating bulk data to the DB when load testing though it is not the intended usage of it. It created to set transfer bulk copies from server to any other in case of a batch transfer.&lt;br /&gt;&lt;br /&gt;The simple command template is:&lt;br /&gt;bcp &amp;ltDb name&gt;.dbo.&amp;lttable name&gt; in &amp;ltfile name&gt; -c -t, -S&amp;ltdb server name&gt; -U&amp;ltuser name&gt; -P&amp;ltpassword&gt;&lt;br /&gt;&lt;br /&gt;Exsample:&lt;br /&gt;bcp MyDB.dbo.User out c:\users.txt -c -t, -S192.168.100.01 -Ume -Ptest&lt;br /&gt;&lt;br /&gt;When you use "out", it will output table data to the specified file. By simply changing "out" to "in", you can easily input data from a text file you already have.&lt;br /&gt;&lt;br /&gt;The above is for using sql server authentication to login to the server. If you need to use windows authentication, you need to add "-T" switch also. There are lot of other switches you can use with this command.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8499164708859815383-6240055487585161675?l=charithm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://charithm.blogspot.com/feeds/6240055487585161675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8499164708859815383&amp;postID=6240055487585161675' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/6240055487585161675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/6240055487585161675'/><link rel='alternate' type='text/html' href='http://charithm.blogspot.com/2007/08/sql-server-bcp-bulk-copy-program.html' title='Sql Server - BCP (Bulk copy program)'/><author><name>Charith</name><uri>http://www.blogger.com/profile/14469503159416331515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8499164708859815383.post-2073241862721257634</id><published>2007-07-30T16:35:00.000+05:30</published><updated>2008-12-09T05:39:08.124+05:30</updated><title type='text'>Show child object properties in GridView</title><content type='html'>Here we have a simple trick.&lt;br /&gt;&lt;br /&gt;I'll introduce my objects first.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_K7lBbJrcZH8/Rq3SWL9YiOI/AAAAAAAAABs/_lnBcWMapFk/s1600-h/2.JPG"&gt;&lt;/a&gt;&lt;a href="http://2.bp.blogspot.com/_K7lBbJrcZH8/Rq3Sir9YiPI/AAAAAAAAAB0/nuAdbfQMZp0/s1600-h/2.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5092958246983469298" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_K7lBbJrcZH8/Rq3Sir9YiPI/AAAAAAAAAB0/nuAdbfQMZp0/s400/2.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Nothing to worry about. If I show you the XML view of the &lt;em&gt;User[]&lt;/em&gt;, it should looks like below.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_K7lBbJrcZH8/Rq3TaL9YiQI/AAAAAAAAAB8/O6bsO4YrDpw/s1600-h/3.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5092959200466209026" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_K7lBbJrcZH8/Rq3TaL9YiQI/AAAAAAAAAB8/O6bsO4YrDpw/s400/3.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now we can assign this to a GridView.&lt;br /&gt;&lt;strong&gt;Code:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;GridView1.DataSource = UserList;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;GridView1.DataBind();&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Design:&lt;/strong&gt;&lt;br /&gt;Dont forget to import the objects namespaces in the page header in the HTML view.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_K7lBbJrcZH8/Rq3UP79YiRI/AAAAAAAAACE/cE7lwDbx_jI/s1600-h/4.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5092960123884177682" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_K7lBbJrcZH8/Rq3UP79YiRI/AAAAAAAAACE/cE7lwDbx_jI/s320/4.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;........&lt;br /&gt;........&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_K7lBbJrcZH8/Rq3WRb9YiSI/AAAAAAAAACM/CfzPJoxX9-U/s1600-h/5.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5092962348677237026" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_K7lBbJrcZH8/Rq3WRb9YiSI/AAAAAAAAACM/CfzPJoxX9-U/s400/5.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Explanation:&lt;br /&gt;&lt;br /&gt;I'm using &lt;a href="http://3.bp.blogspot.com/_K7lBbJrcZH8/Rq3Xr79YiUI/AAAAAAAAACc/6yu4bcbcFik/s1600-h/7.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5092963903455398210" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_K7lBbJrcZH8/Rq3Xr79YiUI/AAAAAAAAACc/6yu4bcbcFik/s400/7.JPG" border="0" /&gt;&lt;/a&gt;to show the child object property values in to the grid.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_K7lBbJrcZH8/Rq3XT79YiTI/AAAAAAAAACU/6MBT9D3CDhQ/s1600-h/6.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5092963491138537778" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_K7lBbJrcZH8/Rq3XT79YiTI/AAAAAAAAACU/6MBT9D3CDhQ/s400/6.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;What we are doing here is to match the Parent object property name &lt;strong&gt;&lt;em&gt;Home&lt;/em&gt;&lt;/strong&gt; to access the child object. Actually it is a object of &lt;strong&gt;&lt;em&gt;Address&lt;/em&gt;&lt;/strong&gt; type. So that I can cast the object to &lt;strong&gt;&lt;em&gt;Address&lt;/em&gt;&lt;/strong&gt; type and access the child property &lt;strong&gt;&lt;em&gt;Country&lt;/em&gt;&lt;/strong&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8499164708859815383-2073241862721257634?l=charithm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://charithm.blogspot.com/feeds/2073241862721257634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8499164708859815383&amp;postID=2073241862721257634' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/2073241862721257634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/2073241862721257634'/><link rel='alternate' type='text/html' href='http://charithm.blogspot.com/2007/07/show-child-object-properties-in.html' title='Show child object properties in GridView'/><author><name>Charith</name><uri>http://www.blogger.com/profile/14469503159416331515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_K7lBbJrcZH8/Rq3Sir9YiPI/AAAAAAAAAB0/nuAdbfQMZp0/s72-c/2.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8499164708859815383.post-5121822257597413572</id><published>2007-07-19T16:37:00.000+05:30</published><updated>2007-07-19T16:51:49.676+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='GridView'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Assign object list to a GridView in asp.net 2.0</title><content type='html'>&lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_0"&gt;Simply&lt;/span&gt; follow the scenario below.&lt;br /&gt;&lt;br /&gt;1. Drag a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;GridView&lt;/span&gt; control to the page.&lt;br /&gt;2. Assign the Object list into the grid as below.&lt;br /&gt;&lt;em&gt;&lt;span style="color:#009900;"&gt;// c# - Bind data to the drop down&lt;/span&gt;&lt;br /&gt;&lt;/em&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;GridView&lt;/span&gt;1.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;DataSource&lt;/span&gt; = &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;userList&lt;/span&gt;;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;GridView&lt;/span&gt;1.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;DataBind&lt;/span&gt;();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3. Run the application. &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_7"&gt;That's&lt;/span&gt; all.&lt;br /&gt;&lt;br /&gt;If you need to show only few columns, do the following.&lt;br /&gt;1. Go to &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;GridView&lt;/span&gt; Properties.&lt;br /&gt;2. Open the "columns" property.&lt;br /&gt;3. &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;Uncheck&lt;/span&gt; the check box "Auto-Generate fields".&lt;br /&gt;4. Add any type of fields and set the "&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;DataField&lt;/span&gt;" to a property in your object for the selected field. For example "&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;UserName&lt;/span&gt;".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8499164708859815383-5121822257597413572?l=charithm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://charithm.blogspot.com/feeds/5121822257597413572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8499164708859815383&amp;postID=5121822257597413572' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/5121822257597413572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/5121822257597413572'/><link rel='alternate' type='text/html' href='http://charithm.blogspot.com/2007/07/assign-object-list-to-gridview-in.html' title='Assign object list to a GridView in asp.net 2.0'/><author><name>Charith</name><uri>http://www.blogger.com/profile/14469503159416331515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8499164708859815383.post-2695466523559703474</id><published>2007-07-19T15:04:00.000+05:30</published><updated>2007-07-19T15:09:14.146+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='out source development'/><title type='text'>Out source developments</title><content type='html'>We have a set of teams accepting out sourced development projects (small to medium in complexity). They are always ready to provide you the best with a good design, robust application and a good support after the delivery.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8499164708859815383-2695466523559703474?l=charithm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://charithm.blogspot.com/feeds/2695466523559703474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8499164708859815383&amp;postID=2695466523559703474' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/2695466523559703474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/2695466523559703474'/><link rel='alternate' type='text/html' href='http://charithm.blogspot.com/2007/07/out-source-developments.html' title='Out source developments'/><author><name>Charith</name><uri>http://www.blogger.com/profile/14469503159416331515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8499164708859815383.post-6070523779261328079</id><published>2007-07-09T12:28:00.000+05:30</published><updated>2007-07-09T12:29:46.611+05:30</updated><title type='text'>Use multiple log4net outputs from one application</title><content type='html'>Who are interested in resolving this for your project, refer the following article i wrote to code project.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.codeproject.com/useritems/MultipleLog4net.asp"&gt;Log4net&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8499164708859815383-6070523779261328079?l=charithm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://charithm.blogspot.com/feeds/6070523779261328079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8499164708859815383&amp;postID=6070523779261328079' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/6070523779261328079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/6070523779261328079'/><link rel='alternate' type='text/html' href='http://charithm.blogspot.com/2007/07/use-multiple-log4net-outputs-from-one.html' title='Use multiple log4net outputs from one application'/><author><name>Charith</name><uri>http://www.blogger.com/profile/14469503159416331515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8499164708859815383.post-455166920316417364</id><published>2007-07-09T12:02:00.000+05:30</published><updated>2008-12-09T05:39:10.035+05:30</updated><title type='text'>Some of the beautiful clickes i made</title><content type='html'>The best is all are from &lt;a href="http://www.srilankatourism.org/"&gt;Sri Lanka. ("A land like no other")&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_K7lBbJrcZH8/RpHbHsEIQPI/AAAAAAAAABU/pip9vIJ5Qbg/s1600-h/Sky1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5085086379412046066" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_K7lBbJrcZH8/RpHbHsEIQPI/AAAAAAAAABU/pip9vIJ5Qbg/s200/Sky1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_K7lBbJrcZH8/RpHbHsEIQQI/AAAAAAAAABc/5oeefL6wPq8/s1600-h/Tree1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5085086379412046082" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_K7lBbJrcZH8/RpHbHsEIQQI/AAAAAAAAABc/5oeefL6wPq8/s200/Tree1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_K7lBbJrcZH8/RpHbH8EIQRI/AAAAAAAAABk/eA6PT7U3wiY/s1600-h/Tree3.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5085086383707013394" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_K7lBbJrcZH8/RpHbH8EIQRI/AAAAAAAAABk/eA6PT7U3wiY/s200/Tree3.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_K7lBbJrcZH8/RpHaVcEIQMI/AAAAAAAAAA8/A5gxPgzrxUg/s1600-h/Laxapana.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5085085516123619522" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_K7lBbJrcZH8/RpHaVcEIQMI/AAAAAAAAAA8/A5gxPgzrxUg/s200/Laxapana.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_K7lBbJrcZH8/RpHaVsEIQNI/AAAAAAAAABE/6QDKX1pHfSs/s1600-h/NuwaraEliya.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5085085520418586834" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_K7lBbJrcZH8/RpHaVsEIQNI/AAAAAAAAABE/6QDKX1pHfSs/s200/NuwaraEliya.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_K7lBbJrcZH8/RpHaVsEIQOI/AAAAAAAAABM/1BwwEthx20U/s1600-h/Seenigama.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5085085520418586850" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_K7lBbJrcZH8/RpHaVsEIQOI/AAAAAAAAABM/1BwwEthx20U/s200/Seenigama.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_K7lBbJrcZH8/RpHZjMEIQJI/AAAAAAAAAAk/OjraSSvLu0Y/s1600-h/Bungalow.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5085084652835192978" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_K7lBbJrcZH8/RpHZjMEIQJI/AAAAAAAAAAk/OjraSSvLu0Y/s200/Bungalow.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_K7lBbJrcZH8/RpHZjMEIQKI/AAAAAAAAAAs/OmS4wGfEtak/s1600-h/Knuckles2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5085084652835192994" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_K7lBbJrcZH8/RpHZjMEIQKI/AAAAAAAAAAs/OmS4wGfEtak/s200/Knuckles2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_K7lBbJrcZH8/RpHZjcEIQLI/AAAAAAAAAA0/UrWmkvRvMU4/s1600-h/Knuckles3.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5085084657130160306" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_K7lBbJrcZH8/RpHZjcEIQLI/AAAAAAAAAA0/UrWmkvRvMU4/s200/Knuckles3.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_K7lBbJrcZH8/RpHZBcEIQGI/AAAAAAAAAAM/wBYcTTKbN60/s1600-h/Beach1.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5085084073014607970" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_K7lBbJrcZH8/RpHZBcEIQGI/AAAAAAAAAAM/wBYcTTKbN60/s200/Beach1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_K7lBbJrcZH8/RpHZBcEIQHI/AAAAAAAAAAU/qFHB19lDOR0/s1600-h/Beach2.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5085084073014607986" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_K7lBbJrcZH8/RpHZBcEIQHI/AAAAAAAAAAU/qFHB19lDOR0/s200/Beach2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_K7lBbJrcZH8/RpHZBsEIQII/AAAAAAAAAAc/tUNMDYhsisQ/s1600-h/Beach3.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5085084077309575298" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_K7lBbJrcZH8/RpHZBsEIQII/AAAAAAAAAAc/tUNMDYhsisQ/s200/Beach3.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8499164708859815383-455166920316417364?l=charithm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://charithm.blogspot.com/feeds/455166920316417364/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8499164708859815383&amp;postID=455166920316417364' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/455166920316417364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/455166920316417364'/><link rel='alternate' type='text/html' href='http://charithm.blogspot.com/2007/07/some-of-beautiful-clickes-i-made.html' title='Some of the beautiful clickes i made'/><author><name>Charith</name><uri>http://www.blogger.com/profile/14469503159416331515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_K7lBbJrcZH8/RpHbHsEIQPI/AAAAAAAAABU/pip9vIJ5Qbg/s72-c/Sky1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8499164708859815383.post-6768561279825699589</id><published>2007-07-05T10:01:00.000+05:30</published><updated>2007-07-05T12:50:26.842+05:30</updated><title type='text'>Welcome!!!</title><content type='html'>Welcome to my blogspot. I'll be posting more soon.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8499164708859815383-6768561279825699589?l=charithm.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://charithm.blogspot.com/feeds/6768561279825699589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8499164708859815383&amp;postID=6768561279825699589' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/6768561279825699589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8499164708859815383/posts/default/6768561279825699589'/><link rel='alternate' type='text/html' href='http://charithm.blogspot.com/2007/07/welcome.html' title='Welcome!!!'/><author><name>Charith</name><uri>http://www.blogger.com/profile/14469503159416331515</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
