Ads Header

ssdf

sssssadf asdf asdfsad fasd dfasdf

Database Starter Kit for ASP.NET

Read more...

ASP.NET with SQL Server 2005 Step-by-Step

Read more...

ASP.Net Required Field Validator

Read more...

Rss with Asp.net Step-by-Step

Read more...

Add Javascript to ASP.NET Button 1 line of code

Read more...

Flash swf handle in asp.net 2

Read more...

Screen Scraping - Amazon.com with ASP.NET

Read more...

TabStrip ASP:NET WebControls

Read more...

ASP.NET Futures Dynamic Data Controls step by step

Read more...

C# Tutorial: Writing If Statements and Boolean Tests

Read more...

C# For Loop

Read more...

C# Switch Statement

Read more...

Good C# Tuturials

Read more...

C# Programming tutorial (1of 2)

Read more...

asp.net tutorial for master pages c#

Read more...

ASP.NET 2.0 Nested GridView Video

Read more...

ASP.NET (C# ) with Examples

Read more...

File Upload in PHP with Example

if (($_FILES["file"]["type"] == "image/gif") ($_FILES["file"]["type"] == "image/jpeg") ($_FILES["file"]["type"] == "image/pjpeg")&& ($_FILES["file"]["size"] <> 0)
{
echo "Return Code: " . $_FILES["file"]["error"] . "
"; }

else {
echo "Upload: " . $_FILES["file"]["name"] . "
";

echo "Type: " . $_FILES["file"]["type"] . "
";

echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb
";

echo "Temp file: " . $_FILES["file"]["tmp_name"] . "
";

if (file_exists("upload/" . $_FILES["file"]["name"]))
{
echo $_FILES["file"]["name"] . " already exists. ";
}
else
{
move_uploaded_file($_FILES["file"]["tmp_name"],
"upload/" . $_FILES["file"]["name"]);
echo "Stored in: " . "upload/" . $_FILES["file"]["name"];
}
}
}
else
{
echo "Invalid file";
}

Read more...

Mail in PHP with Example

Mail in PHP with Example

$to = someone@example.com;

$subject = "Test mail";

$message = "Hello! This is a simple email message.";

$from = someonelse@example.com;

$headers = "From: $from";

mail($to,$subject,$message,$headers);

echo "Mail Sent.";

Read more...

Sesssion in PHP with example

session_start();
if(isset($_SESSION['views']))
$_SESSION['views']=$_SESSION['views']+1;
else $_SESSION['views']=1;

echo "Views=". $_SESSION['views'];
Read more...

Retrieve data from Cookie in PHP

// Print a cookie
echo $_COOKIE["user"];
// A way to view all cookies
print_r($_COOKIE);
Read more...

Set Cookie with PHP

setcookie("user", "Alex Porter", time()+3600);
Read more...

Select Data From a Database Table with PHP Mysql

$con = mysql_connect("localhost","peter","abc123");
if (!$con)
{ die('Could not connect: ' . mysql_error());
}
mysql_select_db("my_db", $con);
$result = mysql_query("SELECT * FROM person");
while($row = mysql_fetch_array($result))
{
echo $row['FirstName'] . " " . $row['LastName'];
}

mysql_close($con);

Read more...

Php Math Functions

PHP Math Functions

abs()
Returns the absolute value of a number

acos()
Returns the arccosine of a number

acosh()
Returns the inverse hyperbolic cosine of a number

asin()
Returns the arcsine of a number

asinh()
Returns the inverse hyperbolic sine of a number

atan()
Returns the arctangent of a number as a numeric value between -PI/2 and PI/2 radians

atan2()
Returns the angle theta of an (x,y) point as a numeric value between -PI and PI radians

ceil()
Returns the value of a number rounded upwards to the nearest integer

cos()
Returns the cosine of a number

cosh()
Returns the hyperbolic cosine of a number

exp()
Returns the value of Ex

expm1()
Returns the value of Ex - 1

floor()
Returns the value of a number rounded downwards to the nearest integer

fmod()
Returns the remainder (modulo) of the division of the arguments

is_finite()
Returns true if a value is a finite number

is_infinite()
Returns true if a value is an infinite number

is_nan()
Returns true if a value is not a number

log()
Returns the natural logarithm (base E) of a number

log10()
Returns the base-10 logarithm of a number

max()
Returns the number with the highest value of two specified numbers

min()
Returns the number with the lowest value of two specified numbers
Read more...

A to Z Tutorial for PHP

Visit below link for A to Z Tutorial for PHP

http://www.php-mysql-tutorial.com/php-tutorial/
Read more...

Free Download Wamp( Php mysql apache)

Readymade Package of PHP , apche and mysql nothing to do just install and
enjoy

http://www.wampserver.com/en/download.php
Read more...

How to install PHP IIS 6?

Use below link

http://www.peterguy.com/php/install_IIS6.html#phpInstall

i already test it works fine
Read more...

How to restore the browser's scroll position after a postback Asp.net C#?

Set the SmartNavigation attribute to true.
Read more...

How to read the comma seperated values from a string asp.net C#?

string myString = "A, B, C, D";
string delimStr = " ,";
char[] delimiter = delimStr.ToCharArray();
foreach (string s in myString.Split(delimiter))
{
Response.Write (s.ToString ()+ "
");
}
Read more...

How to get list of all files in the directory asp.net c#?

DirectoryInfo dirInfo = new DirectoryInfo(Server.MapPath(""));
DataGrid1.DataSource = dirInfo.GetFiles("*.aspx");
DataGrid1.DataBind();
Read more...

How to do text encryption and decryption Asp.net?

Read more...

How to convert a string to HTML format asp.net C#?

string mystring=”Tom & Jerry”;
Response.Write (HttpUtility.HtmlDecode (mystring));
Read more...

How to specify a line break in a Label's Text Asp.net C#?

Label1.Text = "" + "
" + "";
Read more...

How to get the IP address of the host accessing my site Asp.net C#?

Response.Write (Request.UserHostAddress.ToString ());
Read more...

How to format a Telphone number in the xxx-xxx-xxxx format Asp.net C#?

double Telno= double.Parse(ds.Tables[0].Rows[0]["TelNo"].ToString());
Response.Write(Telno.ToString("###-###-####"));
Read more...

What is the difference between Server.Transfer and Server.Execute Asp.net C#?

Server.Transfer is used to End the current weform and begin executing a new webform. This method works only when navigating to a Web Forms page (.aspx)
Server.Execute is used to begin executing a new webform while still displaying the current web form. The contents of both forms are combined. This method works only when navigating to a webform page(.aspx)
Read more...

How to change the Page Title dynamically Asp.net C#?

C#
//Declare
protected System.Web.UI.HtmlControls.HtmlGenericControl Title1 ;
//In Page_Load
Title1.InnerText ="Page 1" ;
Read more...

How to get the hostname or IP address of the server Asp.net C#?

You can use either of these:
HttpContext.Current.Server.MachineName
HttpContext.Current.Request.ServerVariables["LOCAL_ADDR"]
Read more...

How to convert string to a DateTime and compare it with another DateTime Asp.net C#?

bool blntimeIsOk = (DateTime.Parse("15:00") < DateTime.Parse("08:00"));
Response.Write (blntimeIsOk);
Read more...

How to validate that a string is a valid date Asp.net C#?

bool blnValid=false;
try
{
DateTime.Parse(MyString);
blnValid=true;
}
catch
{
blnValid=false;
}
Read more...

How to include multiple vb/cs files in the source Asp.net?

You can do this using assembly directives.
<%@ assembly src="test1.vb" %>
<%@ assembly src="test2.vb" %>
or
<%@ assembly src="test1.cs" %>
<%@ assembly src="test2.cs" %>
Read more...

How to convert milliseconds into time Asp.net?

TimeSpan ts = TimeSpan.FromMilliseconds(10000);
Response.Write (ts.ToString () );
Read more...

What is the difference between URL and URI?

A URL is the address of some resource on the Web, which means that normally you type the address into a browser and you get something back. There are other type of resources than Web pages, but that's the easiest conceptually. The browser goes out somewhere on the Internet and accesses something.
A URI is just a unique string that uniquely identifies something, commonly a namespace. Sometimes they look like a URL that you could type into the address bar of your Web browser, but it doesn't have to point to any physical resource on the Web. It is just a unique set of characters, that, in fact, don't even have to be unique.
URI is the more generic term, and a URL is a particular type of URI in that a URL has to uniquely identify some resource on the Web.
Read more...

What is the best way to output only time and not Date?

Response.Write(DateTime.Now.ToString("hh:mm:ss"));
Read more...

How to Convert VB.net code to C# ?

Read more...

How to Convert C# code to VB.net ?

Read more...

How to Compare time in Asp.net C#?

string t1 = DateTime.Parse("3:30 PM").ToString("t");
string t2 = DateTime.Now.ToString("t");
if (DateTime.Compare(DateTime.Parse (t1), DateTime.Parse (t2)) < 0 )
{
Response.Write(t1.ToString() + " is < than " + t2.ToString());
}
else
{
Response.Write(t1.ToString() + " is > than " + t2.ToString());
}
Read more...

Is there a way to force garbage collection?

Yes. Set all references to null and then call System.GC.Collect(). If you need to have some objects destructed, and System.GC.Collect() doesn’t seem to be doing it for you, you can force finalizers to be run by setting all the references to the object to null and then calling System.GC.RunFinalizers().
Read more...

Is there any sample C# code for simple threading?

using System;
using System.Threading;
class ThreadTest
{
public void runme()
{
Console.WriteLine("Runme Called");
}
public static void Main(String[] args)
{
ThreadTest b = new ThreadTest();
Thread t = new Thread(new ThreadStart(b.runme));
t.Start();
}
}
Read more...

what are the differences between Datalist DataGrid and datarepeater ?

DataList*Has table appearence by default*Has no autoformat option*has no default paging & sorting options*can define separators between elements using template

DataGrid*Has a grid appearence by default*has a autoformat option*has default paging and sorting*has no separator between elements

DataRepeater
simple,read-only output, has no built in support for selecting or editing items, has no DEFAULT APPEARENCE,has no default paging.
Read more...

what is the purpose of “base” keyword in c# ?

1) used to access a base class constructor

2) used to access a base class member in the derived class.

Read more...

what is the difference between ref and out parameters ?

ref –> inout

out –> Out

Argument passed as ref must be initialized before it is passed to the method,where as incase of Out it’s not neccssary.but after a call to the method as an out parameter the variable must be initialized .out parameter can be used when you want to return more than one value from a method.

Read more...

Describe the difference between inline and code behind - which is best in a loosely coupled solution?

Inline Versus Code-Behind Programming ModelsASP.NET supports two modes of page development:Page logic code that is written inside blocks within an .aspx file and dynamically compiled the first time the page is requested on the server.Page logic code that is written within an external class that is compiled prior to deployment on a server and linked “behind” the .aspx file at run time.
Read more...

Diffrence between Sever.transfer and respone.redirect

Server.Transfer() : client is shown as it is on the requesting page only, but the all the content is of the requested page. Data can be persist accros the pages using Context.Item collection, which is one of the best way to transfer data from one page to another keeping the page state alive.

Response.Dedirect() :client know the physical loation (page name and query string as well). Context.Items loses the persisitance when nevigate to destination page
Read more...

Explain the differences between Server-side and Client-side code?

ASP is a “server side scripting” which is used in a web pages like e-commerce, database, guest book, etc. Server side scripting means that all the script will be executed by the server and interpreted as needed.ASP doesn’t have some of the functionality like sockets, uploading, etc. For these you have to make a custom components usually in VB or VC++.
Client side scripting means that the script will be executed immediately in the browser such as form field validation, clock, email validation, etc. Client side scripting is usually done in VBScript or JavaScript.
VBScript , JavaScript ???
VBScript is the client side scripting (script which is executed in your browser). This script looks like VB and it is only supported by Internet Explorer.JavaScript is also another client side scripting based on Java. This script is supported by Internet Explorer and also Netscape browser
Read more...

what is difference between .dll & .exe?

ACTIVEX DLL:
An in-process component, or ActiveX DLL, runs in another application’s process.In-process components are used by applications or other in-process components. this allows you to wrap up common functionality (like an ActiveX Exe).

ACTIVEX EXE:
An out-of-process component, or ActiveX EXE, runs in its own address space. The client is usually an application running in another process.The code running in an ActiveX Exe is running in a separate process space. You would usually use this in N-Tier programming. An ActiveX EXE runs out of process while an ActiveX DLL runs in the same process space as VB app. Also, and ActiveX EXE can be run independent of your application if desired.

Read more...

What is the difference between boxing and unboxing???

A: Boxing allows us to convert value types to reference types. Basically, the runtime creates a temporary reference-type box for the object on heap.Eg:int i=20;object o=i;
Read more...

Describe garbage collection (in simple terms).

Garbage collection eliminates uneeded objects.1. the new statement allocates memory for an object on the heap.2. When no objects reference the object it may be removed from the heap (this is a non deterministic process).3. Finalize is called just before the memory is released.
Read more...

What is the transport protocol you use to call a Web service?

SOAP is not the transport protocol. SOAP is the data encapsulation protocol that is used but the transport protocol is fairly unlimited. Generally HTTP is the most common transport protocol used though you could conceivanly use things like SMTP or any others. SOAP is not dependant on any single transport protocol or OS, it is a syntactical and logical definition, not a transport protocol.
Read more...

Whats an assembly?

Assemblies are the building blocks of .NET Framework applications; they form the fundamental unit of deployment, version control, reuse, activation scoping, and security permissions. An assembly is a collection of types and resources that are built to work together and form a logical unit of functionality. An assembly provides the common language runtime with the information it needs to be aware of type implementations. To the runtime, a type does not exist outside the context of an assembly.
Read more...

What is the difference between a.Equals(b) and a == b?

a == b is used to compare the references of two objects
a.Equals(b) is used to compare two objects
Read more...

difference between thread and process?

Thread - is used to execute more than one program at a time.
process - executes single program
Read more...

What does connection string consist of?

Connection String for .Net & SQL Server consist of:
1.Data Source = “./SQLEXPRESS”; serverName\instanceName as Data Source to use a specific SQL Server instance
2.Initial Catalog = “DATABASE_NAME”;
Either3.Uid=”UserID for SQL server” ;4.Password= “Password for SQL server”;ORIntegrated Security=”True”; Use Windows security
5.Provider Name =”System.Data.SqlClient”;
Read more...

What are the 2 types of polymorphism supports in .NET?

1. Polymorphism via Inheritance
2. Polymorphism via Interfaces
Read more...

What are interface in .NET?

Interface similar to class But it contains abstract methods only.It supports Multiple interface instead of multiple inheritance.It does’t support accessibility modifiers. Hence it is not implemented. It is implemented by class.
Read more...

What are indexes .NET?

Indexes are set up as a subset of data from the column it is created in an index table and a set of pointers to the physical table itself. The index tables are updated when data is inserted, updated or deleted. This can actually have negative performance impact if indexes are unnecessarily created. The overuse of indexes can become as much as burden to the application as not having indexes.
Read more...

What is isPostback property?

Is postback is a property of page to check weather the page is loaded first time or in response to the client callback.
Read more...

What diff b/w overloading and overriding? How can this be .net

Overriding : derived classes follow the same base class method signatures.
Overloading : Derived classes may have different method signature with different parameters.
Read more...

About a class access specifiers and method access specifiers

1) Public : available throughout application.2) Private : available for class and its inherited class.3) Protected : restricted to that class only.4) Internal : available throughout that assembly.
Read more...

ASP.NET OBJECTS?

Request, Response, Server, Session, application,
Read more...

Explain the life cycle of an ASP .NET page.

In ASP.NET2.0 page life cycle events are fired by the following sequence.
1.PreInit, 2.Init, 3.InitComplete, 4.PreLoad, 5.Load, 6.Control events, 7.LoadComplete, 8.PreRender, 9. SaveStateComplete, 10. Render, 11.Unload
Read more...

Differences between application and session

The session object maintains state on a per client basis whereas the application object is on a per application basis and is consistent across all client requests.
Read more...

Describe the techniques for optimising your application?

. Avoid round-trips to server. Perform validation on client.

. Save viewstate only when necessary.

. Employ caching.

. Leave buffering on unless there is a dire need to disable it.

. Use connection pooling.

. Use stored procedures instead of in-line SQL or dynamic SQL.

Read more...

What are the collection classes?

Queue, Stack, BitArray, HashTable, LinkedList, ArrayList, NameValueCollection, Array, SortedList , HybridDictionary, ListDictionary, StringCollection, StringDictionary
Read more...

What are object-oriented concepts?

Class: The formal definition of an object. The class acts as the template from which an instance of an object is created at run time. The class defines the properties of the object and the methods used to control the object’s behaviour.
Object: An object is an instance of a class.
Encapsulation: hides detailed internal specification of an object, and publishes only its external interfaces. Thus, users of an object only need to adhere to these interfaces. By encapsulation, the internal data and methods of an object can be changed without changing the way of how to use the object.
Inheritance: A class that derives from another class - known as the base class - inherits the same methods and properties. This promotes reuse and maintainability.
Abstraction: the describing of objects by defining their unique and relevant characteristics (properties). Whilst an object may have 100s of properties normally only those properties of importance to the situation are described. (eg life policies premiums are normally important; whereas the time of day a policy was purchased is not usually of value).
Polymorphism: Allows objects to be represented in multiple forms. Even though classes are derived or inherited from the same parent class, each derived class will have its own behavior. (Overriding and hiding methods)
Read more...

Explain the life cycle of an ASP .NET page.

Stage Events/Method
Page Initialization Page_Init
View State Loading LoadViewState
Postback data processin LoadPostData
Page Loading Page_LoadPostBack Change Notification RaisePostDataChangedEvent
PostBack Event Handling Raise
PostBackEventPage
Pre Rendering Phase Page_PreRender
View State Saving SaveViewState
Page Rendering Page_RenderPage
Unloading Page_UnLoad
Read more...

Asp.net Data Adapter

Dim objAdapter as New OleDbDataAdapter("SELECT * FROM users", objConn)

Dim ds as Dataset = New DataSet()objAdapter.Fill(ds, "users")
objAdapter.TableMappings.Add("adbtable", "users")With objAdapter.TableMappings(0).ColumnMappings .Add("PID", "ID") .Add("LastName", "LName") .Add("StreetAddress", "Addy")End WithobjAdapter.Fill(ds)

Read more...

VS 2008 Overview

Read more...

Asp.net Sending Email with System.Net.Mail

MailMessage message = new MailMessage();
message.From = new MailAddress("sender@foo.bar.com");

message.To.Add(new MailAddress("recipient1@foo.bar.com"));
message.To.Add(new MailAddress("recipient2@foo.bar.com"));
message.To.Add(new MailAddress("recipient3@foo.bar.com"));

message.CC.Add(new MailAddress("carboncopy@foo.bar.com"));
message.Subject = "This is my subject";
message.Body = "This is the content";

SmtpClient client = new SmtpClient();
client.Send(message);
Read more...

ASP.NET 3.5 Extensions CTP Preview Released

This first ASP.NET 3.5 Extensions preview release includes:
ASP.NET AJAX Improvements: New ASP.NET AJAX features in the ASP.NET 3.5 Extensions release include better browser history support (back/forward button integration, and server-side history management support), improved AJAX content linking support with permalinks, and additional JavaScript library improvements.
ASP.NET MVC: This model view controller (MVC) framework for ASP.NET provides a structured model that enables a clear separation of concerns within web applications, and makes it easier to unit test your code and support a TDD workflow. It also helps provide more control over the URLs you publish in your applications, and more control over the HTML that is emitted from them.
ASP.NET Dynamic Data Support: The ASP.NET 3.5 Extensions release delivers new features that enable faster creation of data driven web sites. It provides a rich scaffolding framework, and will enable rapid data driven site development using both ASP.NET WebForms and ASP.NET MVC.
ASP.NET Silverlight Support: With the ASP.NET 3.5 Extensions release we'll deliver support for easily integrating Silverlight within your ASP.NET applications. Included will be new controls that make it easy to integrate Silverlight video/media and interactive content within your sites.
ADO.NET Data Services: In parallel with the ASP.NET Extensions release we will also be releasing the ADO.NET Entity Framework. This provides a modeling framework that enables developers to define a conceptual model of a database schema that closely aligns to a real world view of the information. We will also be shipping a new set of data services (codename "Astoria") that make it easy to expose REST based API endpoints from within your ASP.NET applications.

Read more...

Why does URL mapping and rewriting matter?

The most common scenarios where developers want greater flexibility with URLs are:
1) Handling cases where you want to restructure the pages within your web application, and you want to ensure that people who have bookmarked old URLs don't break when you move pages around. Url-rewriting enables you to transparently forward requests to the new page location without breaking browsers.
2) Improving the search relevancy of pages on your site with search engines like Google, Yahoo and Live. Specifically, URL Rewriting can often make it easier to embed common keywords into the URLs of the pages on your sites, which can often increase the chance of someone clicking your link. Moving from using querystring arguments to instead use fully qualified URL's can also in some cases increase your priority in search engine results. Using techniques that force referring links to use the same case and URL entrypoint (for example: weblogs.asp.net/scottgu instead of weblogs.asp.net/scottgu/default.aspx) can also avoid diluting your pagerank across multiple URLs, and increase your search results.
Read more...

Get data in database through SqlDataAdapter (C#)

String ConnStr = "Data Source=localhost;Initial Catalog=abc;User ID=sa;Password='pw';";
String SQL = "SELECT ID, FirstName FROM Employee "
+ "WHERE ID IS NOT NULL";
SqlDataAdapter TitlesAdpt = new SqlDataAdapter SQL, ConnStr);
DataSet Titles = new DataSet();
// No need to open or close the connection
// since the SqlDataAdapter will do this automatically.
TitlesAdpt.Fill(Titles);
Read more...

Matching Regular Expressions

if RegExMatch(txtPartNum.text, "^[1-9][0-9][0-9][0-9]\.[0-9][0-9]") ="False" then lblError.Text+="Part # must be in ####.## format" 'do other processingElse 'do whatever processing you need here
End If
Read more...

What is the best way to output only time and not Date?

Response.Write(DateTime.Now.ToString("hh:mm:ss"));
Read more...

Is it better to write code in C# or Visual Basic?

You can write code for your Web application in any language supported by the .NET Framework. That includes Visual Basic, C#, J#, JScript, and others. Although the languages have different syntax, they all compile to the same object code. The languages have small differences in how they support different features. For example, C# provides access to unmanaged code, while Visual Basic supports implicit event binding via the Handles clause. However, the differences are minor, and unless your requirements involve one of these small differences, the choice of programming language is one of personal preference. Once programs are compiled, they all perform identically; that is, Visual Basic programs run just as fast as C# programs, since they both produce the same object code.
Read more...

What is an interface and what is an abstract class?

In an interface, all methods must be abstract (must not be defined). In an abstract class, some methods can be defined. In an interface, no accessibility modifiers are allowed, whereas it is allowed in abstract classes.
Read more...

Describe the difference between inline and code behind.

Inline code is written along side the HTML in a page. Code-behind is code written in a separate file and referenced by the .aspx page.
Read more...

What is WSDL?

WSDL is an XML format for describing network services as a set of endpoints operating on messages containing either document-oriented or procedure-oriented information. The operations and messages are described abstractly, and then bound to a concrete network protocol and message format to define an endpoint. Related concrete endpoints are combined into abstract endpoint
Read more...

List the event handlers that can be included in Global.asax?

Application start and end event handlers
Session start and end event handlers
Per-request event handlers
Non-deterministic event handlers
Read more...

Session state vs. View state

In some cases, using view state is not feasible. The alternative for view state is session state. Session state is employed under the following situations:

Large amounts of data - View state tends to increase the size of both the HTML page sent to the browser and the size of form posted back. Hence session state is used.

Secure data - Though the view state data is encoded and may be encrypted, it is better and secure if no sensitive data is sent to the client. Thus, session state is a more secure option.

Problems in serializing of objects into view state - View state is efficient for a small set of data. Other types like DataSet are slower and can generate a very large view state.
Read more...

Differences Between XML and HTML?

XML User definable tags
HTML Defined set of tags designed for web display
XML Content driven
HTML Format driven
XML End tags required for well formed documents
HTML End tags not required
XML Quotes required around attributes values
HTML Quotes not required
XML Slash required in empty tags
HTML Slash not required
Read more...

What is ViewState?

ViewState allows the state of objects (serializable) to be stored in a hidden field on the page. ViewState is transported to the client and back to the server, and is not stored on the server or any other external source. ViewState is used the retain the state of server-side objects between postabacks.
Read more...

What is CLR, MSIL, CLS, CTS ??????????

CLR it is Common Language Runtime
It provides Services like
*Automatic Memory Management
*Thread Management
*Code Compilation & Execution
*Code Verification
*High level of security
*Structured Exception Handling
*Interoperability between Managed and Unmanaged code.

MSIL-MicroSoft INtermediate Language also called IL or CIL
It is a Language Independent
After Compiling the Source Code The CLR gives MSIL code
By using JIT compiler it converts into Native Code

CTS-Common Type System.It Provides the common data types to the compiler.

CLS-Common Language Specification.It has a set of rules to provide the Language Interaperability.And it is a subset of CTS
Read more...

ImageMap in Asp.net

Use the ImageMap control to create an image that contains defined hotspot regions. When a user clicks a hot spot region, the control can either generate a post back to the server or navigate to a specified URL. For example, you can use this control to display a map of a geographical region. When a user clicks a specific region on the map, the control navigates to a URL that provides additional data about the selected region. You can also use this control to generate a post back to the server and run specific code based on the hot spot region that was clicked. For example, you can use an ImageMap control to capture user responses such as votes.
Read more...

What's New in 2.0

Cross Page Posting - ASP.NET 2.0 allows you to post back from one page to another and you can obtain the source page values from the target page.

Wizard Control - The wizard control allows you to easily add multi-step form entry scenarios to your pages.

Validation Groups - Validation groups allow multiple forms on a page to be separately validated.

Focus API - The Focus API enables you to set focus to any control on the page, specify default buttons to submit for input controls, and more.
Compilation Build Providers - ASP.NET 2.0 includes support for compiling declarative file formats when they are placed in the App_Code directory.
No Compile Pages - Pages in ASP.NET 2.0 can be excluded from the compilation process, to be interpreted at runtime instead.

Securing Non-ASP.NET content - Under IIS 6, you can easily secure non-ASP.NET files such as static images or classic ASP pages from within an ASP.NET application.
Client-Script Features - ASP.NET 2.0 includes several new features that take advantage of client-side script.
Read more...

Diffrence Between Asp and Asp.net

ASP.NET has better language support, a large set of new controls and XML based components, and better user authentication.
ASP.NET provides increased performance by running compiled code.

ASP.NET code is not fully backward compatible with ASP.

New in ASP.NET

Better language support
Programmable controls
Event-driven programming
XML-based components
User authentication, with accounts and roles
Higher scalability
Increased performance - Compiled code
Easier configuration and deployment
Not fully ASP compatible
Read more...

ssss

sssssadf asdf asdfsad fasdf asdfasdf