Latest Wiki Articles and Revisions

<< First  < Prev   Page 1 of 14   Next >  Last >>  

SqlBulkCopy with C#.Net

The simplest way to copy lots of data from any resources to SQL Server is BulkCopying. .NET Framework 2.0 contains a class in ADO.NET "System.Data.SqlClient" namespace: SqlBulkCopy. The bulk copy operation usually has two separated phases. In the

Custom Error messages using Global.asax and Membership model

Scenario: Using ASP.NET membership model to display custom error messages to General users of a website. Send an email to a Webmaster with all the details of such an exception. Also in development environment only detailed exceptions are to be displayed and

Design Patterns

Design Patterns Design patterns are recognized solutions to common problems defined originally by the Gang of Four programmers. Design patterns are used throughout the ASP.NET Framework. The various patterns are commonly divided into several different groups

ASP.NET Session States in SQLServer for multiuser and loadbalancing solution

This topic is for those who want to manage multi server websites and load balancing. Prerequisites: IIS 6.0 or higher .NET Framework 2.0, 3.5 VS 2008, 2005 ASP.NET 2.0 or higher How To in WinXP Professional? In SQL Server management consol Open filefrom path"C

Send asynchronous mail using asp.net

Sending e-mail is an important and common feature in ASP.Net (through thesystem.net.mail namespace). In this article,I willshow howto send asynchronous mail,which is used, for example, to sendbulke-mail. ASP.Netincludes the feature of asynchronous mail. Followingisan

Send Email With Attachments - VB.NET

Imports System.Net.Mail Public Shared Function SendMail(ByVal MailFrom As String, ByVal MailTo As String, ByVal MailSubject As String, ByVal MailBody As String, Optional ByVal MailCC As String = "", Optional ByVal MailBCC As String = ""

Sending Email in Asp.net

Sending email is very common in Asp.net application. In most of asp.net applications I was asked to send email to client or admin etc. Meanwhile, almost always I was asked to change content of email many times. Like change a sentence, put space between sentences

Send email with smtp authentication using ASP.NET 3.5

Following Codes demonstrates how to send an email with SMTP Authentication using ASP.NET 3.5 using System.Net.Mail MailMessage msgMail = new MailMessage(); MailMessage myMessage = new MailMessage(); myMessage.From = new MailAddress("sender's email"

ASP.NET MVC Framework

Overview MVC (Model-View-Controller) now comes to ASP.NET too. As Scott Gu says "If you are looking to build your web applications using a MVC approach, I think you'll find this new ASP.NET MVC Framework option very clean and easy to use. It will

ASP.NET Open Source Projects

Links to ASP.NET Open Source Projects Blogs dasBlog BlogEngine.NET SubText- A blogging engine in ASP.NET Owlpal - WebContent System AtomSite (formerly BlogSvc) -Built using ASP.NET MVC. Oxite - Built using ASP.NET MVC. Content Management Systems DotNetNuke

Loading Excel data into a GridView

Hello All, Here I am posting code, which will read through a Excel Document. This code will traverse through all sheets of Excel spread sheet, No matter what name they will have. This uses OLEDB connection to read through excel sheets.using System.Data.OleDb;protected

Using ASP.NET MVC and OpenXML api to stream Excel files.

I’ve been heads down for the last several weeks Scrumming and it has been a while since I’ve updated my blog so I figured if I was going to keep your interest I should give you something really useful. We’ve been transitioning from web forms to ASP.NET MVC

Writing RssHandler base on sql database...c#

%@ WebHandler Language="C#" Class="RssHandler" %>using System;using System.Web;using System.Data.Common;using System.Configuration;using System.Data;using System.Xml;public class RssHandler : IHttpHandler { bool IHttpHandler.IsReusable

Adding rows dynamically to grid views by two ways..complete code

%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddingRow.aspx.cs" Inherits="AddingRow_HiddenField_AddingRow" %>!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org

Client and Server (Common) Validation Logic.

Client and Server (Common) Validation Logic The Logic for validating input commonly on server side and showing the response onclient side is based on XMLHttpRequest (Clientside) and XMLDocument (Server Side).In Steps:1. First the form is converted to a well

Get Information of Programatically Created Asp.Net page Using BuildManager class

Few days back I came across a problem on asp.net site wherein a user wanted to get information about controls of a Page from a different page. Problem with this approach is that server loads the requested page in memory. So at one time you can be only in one

TextBox

The TextBox server control is an input control that lets the user enter text. By default, the TextMode property is set to SingleLine, which creates a text box with only one line. You can also set the property to MultiLine or Password. MultiLine creates a text

Bridge Pattern

The Bridge PatternThe bridge pattern decouples an abstraction from its implementation so the two can vary independently. In other words we make a bridge betweenthe abstraction and its implementation and therefore we won't have a binding between the two

Abstract Factory

Abstract FactoryThe Gang of Four defintion for this design pattern is: "Provide an interface for creating families of related or dependant objects without specifying their concrete classes.".A VB example of the Abstract Factory Design Pattern'

Custom HTTP Module

Before starting have a look in the Web.config in the locationC:\Windows\Microsoft.NET\Framework\versionnumber\CONFIG\Web.configYou can see the existing HTTPModules in the frameworksystem.web> httpModules> add name="OutputCache" type="System

Table of Contents

Top Wiki Contributors

(last 30 days)

  1. mbanavige (14)
  2. codehard (3)
  3. Babunareshnarra (2)
  4. Dungimon (1)
  5. cabhilash (1)
Microsoft Communities