Microsoft Students to Business

Realize your dreams with the Student to Business Program.
Are you a graduating student looking for formative work experience in the IT field? Are you a Microsoft partner hoping to recruit students with the skills to meet the demands of today´s technology industry? Are you a professor at a University teaching Microsoft technology competencies? Welcome to [...]

A Las Vegas casino prevented from getting hacked. Find out How.

(Or A Developer’s Fantasy come true)

I don’t know if I will be able to disclose everything here but first
bookmark this.
What is so special about this code?
The Code Room has 3 videos. Watch them in your office or home in the still of the night.
Like you, I was an innocent geek developer, until I became [...]

.NET Interview Questions and Answers

· Differences

1. Difference between Classic ASP and ASP.Net?
Answer:
§ ASP is Interpreted language based on scripting languages like Jscript or VBScript.
§ ASP has Mixed HTML and coding logic.
§ Limited development and debugging tools available.
§ Limited OOPS support.
§ Limited session and application state management.
§ Poor Error handling system.
§ No in-built support for XML.
§ No fully distributed data [...]

Export excel sheet data from dataset in ASP.NET

Environment :
                

ASP.NET 1.1v
Visual C#
SQL Server2000
MS Excel2003
Microsoft Visual Studio2003

1. Create one webapplication using visual studio.
2. Just put the button text as “Exports to Excel” in webform1.aspx.

3.  Use the following namespaces for this application
using System;
using System.Collections;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
4. In button(Exports to Excel) click event

SqlConnection conn            =    new SqlConnection(ConfigurationSettings.AppSettings["PubsConnection"]);
                SqlCommand    [...]