Click here to Skip to main content
15,891,654 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionwhen interface and abstract class be used in developing projects Pin
MD1223-Sep-07 21:43
MD1223-Sep-07 21:43 
AnswerRe: when interface and abstract class be used in developing projects Pin
Parwej Ahamad23-Sep-07 22:02
professionalParwej Ahamad23-Sep-07 22:02 
AnswerRe: when interface and abstract class be used in developing projects Pin
VenkataRamana.Gali23-Sep-07 23:19
VenkataRamana.Gali23-Sep-07 23:19 
GeneralRe: when interface and abstract class be used in developing projects Pin
MD1223-Sep-07 23:30
MD1223-Sep-07 23:30 
GeneralRe: when interface and abstract class be used in developing projects Pin
VenkataRamana.Gali23-Sep-07 23:52
VenkataRamana.Gali23-Sep-07 23:52 
GeneralRe: when interface and abstract class be used in developing projects Pin
MD1224-Sep-07 22:20
MD1224-Sep-07 22:20 
QuestionRe: when interface and abstract class be used in developing projects Pin
MD1224-Sep-07 1:47
MD1224-Sep-07 1:47 
QuestionDBCommandWrapper object error Pin
saravanan0523-Sep-07 21:36
saravanan0523-Sep-07 21:36 
hi
In enterpriselibray 2.0

i add name space

using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary.Data.Sql;

this is my code

Database db = DatabaseFactory.CreateDatabase("pubs");

String sqlCommand = "SELECT * FROM TableName" ;




DBCommandWrapper dbCommandWrapper= db.GetSqlStringCommandWrapper(sqlCommand);

DataGrid1.DataSource = db.ExecuteReader(dbCommandWrapper);
DataGrid1.DataBind();

DBCommandWrapper object show the error like this:

The type or namespace name 'DBCommandWrapper' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\admin\My Documents\Visual Studio 2005\WebSite6\Default.aspx.cs 28 6 C:\...\WebSite6\

can u help me??

regards
saravanan
QuestionI had a problem in the web.config [modified] Pin
Big Ralph23-Sep-07 21:17
Big Ralph23-Sep-07 21:17 
Questionerror when sending email [modified] Pin
kirtiarora23-Sep-07 21:17
kirtiarora23-Sep-07 21:17 
AnswerRe: error when sending email [modified] Pin
Sebastian T Xavier23-Sep-07 23:15
Sebastian T Xavier23-Sep-07 23:15 
Questionvalidation for birth date [modified] Pin
Milind Panchal23-Sep-07 21:15
Milind Panchal23-Sep-07 21:15 
AnswerRe: validation for birth date Pin
varshavmane23-Sep-07 21:30
varshavmane23-Sep-07 21:30 
AnswerRe: validation for birth date Pin
Sandeep Akhare23-Sep-07 22:55
Sandeep Akhare23-Sep-07 22:55 
QuestionError in Running Page PLZ Help .....? Pin
codingrocks23-Sep-07 21:14
codingrocks23-Sep-07 21:14 
Questiondatabinding Pin
Sonia Gupta23-Sep-07 21:11
Sonia Gupta23-Sep-07 21:11 
QuestionAdding reference Pin
IamAmit23-Sep-07 20:49
IamAmit23-Sep-07 20:49 
AnswerRe: Adding reference Pin
John-ph23-Sep-07 21:08
John-ph23-Sep-07 21:08 
GeneralRe: Adding reference Pin
IamAmit23-Sep-07 21:58
IamAmit23-Sep-07 21:58 
GeneralRe: Adding reference Pin
John-ph23-Sep-07 22:26
John-ph23-Sep-07 22:26 
GeneralRe: Adding reference Pin
IamAmit23-Sep-07 22:38
IamAmit23-Sep-07 22:38 
GeneralRe: Adding reference Pin
John-ph23-Sep-07 22:58
John-ph23-Sep-07 22:58 
GeneralRe: Adding reference Pin
IamAmit23-Sep-07 23:26
IamAmit23-Sep-07 23:26 
GeneralRe: Adding reference Pin
John-ph23-Sep-07 23:41
John-ph23-Sep-07 23:41 
GeneralRe: Adding reference Pin
John-ph23-Sep-07 23:24
John-ph23-Sep-07 23:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.