Recent Posts

0
Comments

Generate and Find Database Connection String using Visual Studio by Suthish Nair

Introduction This article is about how to find and where to find or how to know the correct Connection String. Now you all think what the big deal in knowing the actual Connection String is. Most of the people will do a web search and copy paste into...
0
Comments

C-Sharpcorner.com by Suthish Nair

Hi All, You can visit my new articles/blogs at www.c-sharpcorner.com . Some of the new articles, Aggregate Functions in SQL Server 2008 Cloud Computing: Hello World, Welcome to Cloud Computing ! Setup your Windows Azure Platform. Deploy and run your Cloud...
Filed under:
0
Comments

Convert a string to Title Case in C#... by Suthish Nair

There is no direct method like ToUpper(), ToLower() for Title Case. But using CultureInfo and TextInfo classes we can do Title case of a string. Below method will convert the first character of each word to uppercase. The references used: using System...
0
Comments

GridView Sorting, Paging without using Session, ViewState or Cache etc... by Suthish Nair

I was wondering why most of the web sites having articles/blogs about GridView Sorting, Paging uses ViewState/Sessions objects etc for storing datatable records for further use. Another way of using was getting data from database on every request. But...
0
Comments

How to clear input text of AjaxControlToolKit HTML Editor by Suthish Nair

$find("<%= Editor1.ClientID %>").set_content("");
5
Comments

How to pass value from child window to parent window without refreshing the page using MasterPage by Suthish Nair

Parent Window (1.aspx) <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <script type ="text/javascript"> function popup() { window.open('2.aspx', '', "height...
Filed under: , , ,
3
Comments

Find CheckBox from GridView in Content Page/Master Page by Suthish Nair

How to find a control from GridView which resides in Content Page Here the example using to find the CheckBox, hope this will help you all... .aspx code <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">...
8
Comments

Find Last Day of a Month by Suthish Nair

How to find last day of a month. Response.Write(System.DateTime.DaysInMonth(DateTime.Now.Year, DateTime.Now.Month));
7
Comments

Export Image to Microsoft Office Excel using c# and Interop by Suthish Nair

Here am trying to show how we can export an image to excel file. References Used: Microsoft.Office.Interop.Excel; Link for downloading the dlls and install : Office XP PIAs Add Microsoft.Office.Interop.Excel.dll to the bin folder. Add office.dll to the...
0
Comments

Set Focus Controls - AutoPostBack = true by Suthish Nair

Every time user’s complaints me about page scroll issues. For example: If a lengthy page having a dropdown list with AutoPostBack = true at bottom of page. After the selection page gets reloaded and focus will be on top of the page. User needs to again...
More Posts Next page »