Welcome to my blog.

Post on this blog are my experience which I like to share. This blog is completely about sharing my experience and solving others query. So my humble request would be share you queries to me, who knows... maybe I can come up with a solution...
It is good know :-)

Use my contact details below to get directly in touch with me.
Gmail: nadarmuthukumar1987@gmail.com
Yahoo: nadarmuthukumar@yahoo.co.in

Apart from above people can share their queries on programming related stuff also. As me myself a programmer ;-)

Tirupati Balaji Darshan

...

Best Add-ons for Firefox

1. Web Developer The Web Developer extension adds various web developer tools to a browser. read more... 2. Firebug  Firebug integrates with Firefox to put a wealth of development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page... read more... 3. ColorZilla Advanced Eyedropper, Color Picker, Gradient Generator and other colorful goodies... read more... 4. MeasureIt Draw a ruler across any web page to check the width, height, or alignment of page elements in pixels. read more... 5. YSlow YSlow analyzes web pages and why they're slow based on Yahoo!'s rules...

Get Connection String from Config file

When I was trying to access my connection string from class file using below code string con = ConfigurationSettings.ConnectionStrings["Conn"].ConnectionString; I was getting below error. 'System.Configuration.ConfigurationSettings' does not contain a definition for 'ConnectionStrings'After Google I came you with the solution below, System.Configuration.ConfigurationSettings.AppSettingsis obsolete. You need to use different class called ConfigurationManager to access information from the configuration file. To Access connection string, your code would look like string con = System.Configuration.ConfigurationManager.ConnectionStrings["Conn"].ConnectionStrin...

Lord Krishna

Play the ringtone using below player. Download: Link 1 Link...

Sahara Aamby Valley

Just imagine... which place is this????Whether... Dubai, Malaysia, Singapore, USA, Germany or any other??? NO IT IS SAHARA AAMBY VALLEY (INDIA, NEAR PUNE, LONAVALA) Aamby Valley City is a township developed by the Sahara Group in Pune district in the Indian state of Maharashtra. It is about 23 km away read more....

Avoid re-post on refresh

When a user presses the Browser's Refresh button (Or F5/Ctrl+R etc.) the browser resends the last request data to the server.This action causes an Unexpected Re-Post action (if there was one).In some cases, it can be very problematic (For example, in shopping website when the user clicks on "Add to Cart" button and then presses the Refresh button - the item will be added twice !!!) SolutionWe will store a unique code (in my case Guid) on both client and server and compare them on every request action. If the two codes are not equal, the action will be canceled and the page will reload ('GET' method). Designer File Source Code Fileprotected void Page_Load(object sender, EventArgs e) { CancelUnexpectedRePost(); } private void CancelUnexpectedRePost() { string...

?? Operator

Starting with how to assign null value type to non-nullable type.Nullable types are declared in one of two ways:System.Nullable<T> variable -or-T? variable Where T can be any value type including struct; it cannot be a reference type. Examples of Nullable Typesint? i = 10; double? d1 = 3.14; bool? flag = null; char? letter = 'a'; int?[] arr = new int?[10]; Now coming to the main point, ?? operator One of the best features of C# is the ?? "null coalescing" operator.  This provides a nice way to check whether a value is null, and if so return an alternate value.The ?? operator defines the default value to be returned when a nullable type is assigned to a non-nullable type. If you try to assign a nullable type to a non-nullable type without using the ?? operator, you will generate...

Play video file

Recently I got a requirement, where I wanted to play video file on the website.The video files which I got is in .avi format.I tried a lot to play the .avi file but I failed, and finally I give up.Later I tried the same by converting the .avi file to .swf file with below code and done with the work. OR Note: To use the above code, just replace the string "VIDEOPATH" with your video file path. e.g. Videos/demo.swf To know more about the attributes used on the object tag click me...

Best Windows Computer Application

1. KDiff KDiff is a program that compares or merges two or three text input files or directories,shows the differences line by line and character by character (!),provides an automatic merge-facility and read more...

Difference between Trigger and Stored Procedure

Stored procedures cannot run automatically, they have to be called explicitly by the user.But triggers are executed automatically when particular event (like insert, update, delete) associated within the database object (like table) gets fired.  Stored procedures can be scheduled through a job to execute on a predefined time, but we can't schedule a trigger. Stored procedure can accept the parameters from users whereas trigger cannot accept parameters from users. We can use the transaction statements like begin transaction, commit transaction and rollback inside a stored procedure but we can't use the transaction statements inside a trigger.  A Trigger can call the specific Stored Procedures in it, but the reverse is not tru...

Convert Gridview to Datatable

To copy your Gridview datasource directly into a datatable, without using any loop, one can use BindingSource Class.Below is the example:BindingSource bs = (BindingSource)GridView1.DataSource; DataTable dt = (DataTable)bs.DataSource; OR if (GridView1.HeaderRow != null) { for (int i = 0; i < GridView1.HeaderRow.Cells.Count; i++) { dt.Columns.Add(GridView1.HeaderRow.Cells[i].Text); } } // add each of the data rows to the table foreach (GridViewRow row in GridView1.Rows) { DataRow dr; dr = dt.NewRow(); for (int i = 0; i < row.Cells.Count; i++) { dr[i] = row.Cells[i].Text.Replace(" ",""); } dt.Rows.Add(dr); } // add the footer row to the table if (GridView1.FooterRow...

Get selected value in Checkboxlist

Hello Everybody, Yesterday I was facing a problem getting the current value of the checkboxlist. I have tried using the selected value, as I thought that would give me the current value of the checkbox, but it appears to be giving me the first value that is selected all the time. I have also tried to use the selectedItem property, but that does the same as I would expect, because the property says it get the item with the lowest value. After searching i came up with the solution which is below...protected void CheckBoxList1_SelectedIndexChanged(object sender, EventArgs e) { string value = string.Empty; string result = Request.Form["__EVENTTARGET"]; string[] checkedBox = result.Split('$'); int index = int.Parse(checkedBox[checkedBox.Length - 1]); if (CheckBoxList1.Items[index].Selected) ...

Best Android Phone Applications

1. Twitter Official Twitter app for Android.Follow your interests: instant updates from your friends, industry experts, favorite celebrities, and what’s happening around the world. Get short bursts of timely information on the official Twitter app. read more... 2. Google Docs     Create, edit, upload and share your documents with the Google Docs app. Designed for Android to save you time finding your docs. Edits to your documents appear to collaborators in seconds. Make quick changes to read more... 3. TuneIn Radio   Browse and listen to radio -- live, local and global. Listen to the world. TuneIn is a new way to listen...

Pages 261234 »
Twitter Delicious Facebook Digg Stumbleupon Favorites More