Monthly Archives: August 2011

Error: “System.Web.HttpException: Maximum request length exceeded” Solution

  By Default MaxRequestLength is 4megabytes       this will increase your request limit to 1 GB. in Web.Config File

Posted in Asp.Net | Leave a comment

send email using gmail in asp.net(smtp)

namespace using System.Net.Mail; if you are getting problems in Port no…. then replace above code with this.

Posted in Asp.Net | 1 Comment

check all checkbox in gridview using javascript

.aspx page .CS page

Posted in Asp.Net | Leave a comment

filter datatable in asp.net (datatable.select)

Some times we need to filter records in DataTable. For this we have select() methord.which is used with DataTable and always returns the array. so lets begin.. For showing Result we used GridView. .aspx page [scourcecode language=”csharp”] Untitled Page [/scourcecode] … Continue reading

Posted in Asp.Net | Leave a comment

Convert Rows into Columns in SqlServer

convert row into columns in sql.It is very Important and common scenario when we need to convert sql table row into sql table Columns. it is frequently used in Reporting. HeadMaster table have the three rows.with have the headname Head1,Head2 … Continue reading

Posted in Sql | Leave a comment

list all the indexes sql

For example, to list all the indexes on table EmployeeMaster, you can use the following command.

Posted in Sql | Leave a comment