.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Sandeep Singh
Melody Anderson
Eminent IT

Home >> Forum >> .NET Framework >> Post New QuestionBookmark and Share Subscribe to Forum

What is NameSpace?

Posted By: krishana singh     Posted Date: December 08, 2010    Points:2   Category :.NET Framework
What is NameSpace?

Author: duraikannan             
Posted Date: December 15, 2010     Points: 5   


* The Namespace is a collection of logical related class in .net Assmebly.
* The Namespace can be used one more .net assembly like using keywork in C#.net and import keywork in VB.Net
* If you have work with database connectivity in your project. You should add the following namespace in your program.

* Examples (C#,VB).Net

using System;
using System.Data; ==> DataColumn,DataRow,DataSet,DataRelation,DataTable.....
using System.Data.SqlClient ==>SqlConnection,SqlCommand,SqlDataAdpter,SqlDataReader...

imports System
imports System.Data ==> DataColumn,DataRow,DataSet,DataRelation,DataTable.....
imports System.Data.SqlClient ==>SqlConnection,SqlCommand,SqlDataAdpter,SqlDataReader...

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend