Information
Saturday, March 27, 2010
Select records from a DataTable
›
Select recodrs from a datatable:- DataTable dtLog = Funtion(); DataRow[] drs = dtLog.Select(" UpdatedDate = '" + dtDate.Ro...
Tuesday, March 23, 2010
Default Button, asp.net
›
Default Button for a page: <form id="form1" runat="server" defaultbutton="buttonName"...
Saturday, February 20, 2010
How to use javascript inside updatePanel, asp.net
›
Use Javascirpt in code behind like this string Scriptup = "javascript: alert('Munesh Sunda');"; ScriptManager.Register...
How to Remove duplicate records - Sql-server 2005
›
Query to remove duplicate records, in this query please add all the columns in GROUP BY clause that are duplicate, it is based on primary k...
How to DownLoad a File in ASP.NET ?
›
To DownLoad a file:- 1. Add a link to page, Like this :- <a href="Download.ashx?FileName=file.pdf&FilePath=Do...
Monday, February 15, 2010
Date Format, C#
›
Date Fromat Output dd-MMM-yyyy 15-Feb-2010 dd-MM-yyyy 15-02-2010 dd-MMM-yyyy hh:mm:ss 15-Feb-2010 11:25:56 dd-MMM-yyyy hh:mm tt 15-Feb...
Trim a string to a specified length, C#
›
Trim a string to a length, Here public string TrimString(string strValue,int Count) { if (...
Generate an alphanumeric Random Code, C#
›
To generate an alphanumeric Random code /// /// Public static function Generate Random Code /// gener...
Saturday, February 13, 2010
Resize image and save without saving it to temporary file, C#
›
Upload an image after resizing to specific size without saving it to temporary file. ResizeImageAndSave(fileImage.PostedFile.InputS...
Stored procedure for paging with sorting
›
CREATE PROCEDURE DataWithPagingAndSorting --Add the parameters for the stored procedure here @insPageNo SMALLINT = 1, @insPageSi...
‹
›
Home
View web version