Click here to Skip to main content
15,887,776 members
Home / Discussions / Database
   

Database

 
AnswerRe: sql server 2000 millisecond issue Pin
Pete O'Hanlon16-Mar-07 2:15
mvePete O'Hanlon16-Mar-07 2:15 
Questiona loop that increments a value in the selection clause? Pin
Red_Wizard_Shot_The_Food15-Mar-07 2:30
Red_Wizard_Shot_The_Food15-Mar-07 2:30 
AnswerRe: a loop that increments a value in the selection clause? Pin
Marcus J. Smith15-Mar-07 3:00
professionalMarcus J. Smith15-Mar-07 3:00 
AnswerRe: a loop that increments a value in the selection clause? Pin
andyharman15-Mar-07 5:49
professionalandyharman15-Mar-07 5:49 
GeneralRe: a loop that increments a value in the selection clause? Pin
Marcus J. Smith15-Mar-07 6:10
professionalMarcus J. Smith15-Mar-07 6:10 
GeneralRe: Connecting SQL Server Express 2005 to remote database file Pin
BRShroyer15-Mar-07 2:27
BRShroyer15-Mar-07 2:27 
GeneralRe: Connecting SQL Server Express 2005 to remote database file Pin
Colin Angus Mackay15-Mar-07 5:33
Colin Angus Mackay15-Mar-07 5:33 
QuestionEnterprise Library Data access application block 2.0 Pin
saltcode15-Mar-07 1:36
professionalsaltcode15-Mar-07 1:36 
Hi guys,
Please help,I am having an issue with data access block connection to the database from my class library project.
using the data access block to connect to database works fine in my website project. but i try creating a separate class library project to connect to the database i now receive an error message.

"The value can not be null or an empty string."

and this is the code:

<br />
Database motomandb = DatabaseFactory.CreateDatabase();<br />
DbCommand motomandbCommand = motomandb.GetSqlStringCommand(query);<br />
<br />
using(DbConnection motomanConnection = motomandb.CreateConnection())<br />
{<br />
DbTransaction motomanTransaction = motomanConnection.BeginTransaction();<br />
try<br />
{<br />
rowsaffected = motomandb.ExecuteNonQuery(motomandbCommand, motomanTransaction);<br />
motomanTransaction.Commit();<br />
}<br />
catch (Exception e)<br />
{<br />
motomanTransaction.Rollback();<br />
}<br />
}<br />


thanks in advance
Questionhow can i store jpg files in sql or oracle (blob) Pin
Member 392135215-Mar-07 1:22
Member 392135215-Mar-07 1:22 
AnswerRe: how can i store jpg files in sql or oracle (blob) Pin
coolestCoder15-Mar-07 2:16
coolestCoder15-Mar-07 2:16 
AnswerRe: how can i store jpg files in sql or oracle (blob) Pin
Rocky#15-Mar-07 6:18
Rocky#15-Mar-07 6:18 
QuestionSaving File in Oracle BLOB datatype directly from client location. Pin
Ram Shankar14-Mar-07 17:20
Ram Shankar14-Mar-07 17:20 
QuestionCorrect deleting from MS SQL Pin
turtle_box14-Mar-07 11:09
turtle_box14-Mar-07 11:09 
AnswerRe: Correct deleting from MS SQL Pin
kubben14-Mar-07 12:14
kubben14-Mar-07 12:14 
AnswerRe: Correct deleting from MS SQL Pin
N a v a n e e t h15-Mar-07 1:20
N a v a n e e t h15-Mar-07 1:20 
QuestionConnecting SQL Server Express 2005 to remote database file Pin
BRShroyer14-Mar-07 10:18
BRShroyer14-Mar-07 10:18 
AnswerRe: Connecting SQL Server Express 2005 to remote database file Pin
Colin Angus Mackay14-Mar-07 23:31
Colin Angus Mackay14-Mar-07 23:31 
QuestionSynchronizing Sql 2000 database. Need help. Pin
JustmeNick14-Mar-07 6:51
JustmeNick14-Mar-07 6:51 
AnswerRe: Synchronizing Sql 2000 database. Need help. Pin
Hayder Marzouk16-Mar-07 3:42
Hayder Marzouk16-Mar-07 3:42 
QuestionProblem generating a typed dataset with xsd schema [modified] Pin
goldoche14-Mar-07 4:20
goldoche14-Mar-07 4:20 
QuestionRegarding saving and deleting record Pin
roma_sayed14-Mar-07 1:29
roma_sayed14-Mar-07 1:29 
AnswerRe: Regarding saving and deleting record Pin
N a v a n e e t h14-Mar-07 4:07
N a v a n e e t h14-Mar-07 4:07 
GeneralRe: Regarding saving and deleting record Pin
roma_sayed14-Mar-07 20:30
roma_sayed14-Mar-07 20:30 
QuestionSQL Server 2005 Compact Edition (3.1) Pin
Dmitry Ivanov14-Mar-07 0:42
Dmitry Ivanov14-Mar-07 0:42 
QuestionTable Permissions Pin
N a v a n e e t h14-Mar-07 0:32
N a v a n e e t h14-Mar-07 0:32 

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.