Click here to Skip to main content
15,914,289 members
Home / Discussions / Database
   

Database

 
GeneralRe: Date functions Pin
Anonymous13-May-03 21:04
Anonymous13-May-03 21:04 
GeneralBacking up and restoring tables in SQL Server Pin
prinju philip12-May-03 20:58
sussprinju philip12-May-03 20:58 
GeneralRe: Backing up and restoring tables in SQL Server Pin
Arjan Einbu20-May-03 20:19
Arjan Einbu20-May-03 20:19 
GeneralRe: Backing up and restoring tables in SQL Server Pin
John Fisher23-May-03 11:49
John Fisher23-May-03 11:49 
QuestionBeginners help? Pin
Anonymous12-May-03 5:44
Anonymous12-May-03 5:44 
AnswerRe: Beginners help? Pin
Mike Osbahr19-May-03 11:34
Mike Osbahr19-May-03 11:34 
QuestionHow to Filter a database with the help of a combobox ? Pin
geraldschaller10-May-03 2:26
geraldschaller10-May-03 2:26 
GeneralExecuteReader question Pin
kensai10-May-03 1:14
kensai10-May-03 1:14 
Hi. I'm trying to use ExecuteReader method in my code I'm getting an error. Could you please tell me what am I doing wrong? Here's the code:

SqlConnection tmpconn = new SqlConnection(this.connString);
tmpconn.Open();

string tmpsql = "select id from tbldeneme where username='a'";

SqlCommand tmpcmd = new SqlCommand(tmpsql,tmpconn);
Response.Write(tmpcmd.ExecuteScalar().ToString()); //<-- error line


Here's the error:

System.NullReferenceException: Object reference not set to an instance of an object.
GeneralRe: ExecuteReader question Pin
jeff_martin12-May-03 7:38
jeff_martin12-May-03 7:38 
GeneralPerl Project Help Pin
micahk9-May-03 1:05
micahk9-May-03 1:05 
GeneralWriting a DataTable As DBF (Long Post) Pin
Mark Sanders8-May-03 10:32
Mark Sanders8-May-03 10:32 
GeneralRe: Writing a DataTable As DBF (Long Post) Pin
Daniel Turini8-May-03 10:58
Daniel Turini8-May-03 10:58 
GeneralSamples Pin
Mark Sanders9-May-03 8:10
Mark Sanders9-May-03 8:10 
GeneralBest Way Pin
Mark Sanders12-May-03 9:53
Mark Sanders12-May-03 9:53 
GeneralRe: Writing a DataTable As DBF (Long Post) Pin
User 31295915-May-03 2:27
User 31295915-May-03 2:27 
GeneralSQL Statment Question... Pin
Jason Weibel8-May-03 5:29
Jason Weibel8-May-03 5:29 
GeneralRe: SQL Statment Question... Pin
basementman12-May-03 6:01
basementman12-May-03 6:01 
GeneralRe: SQL Statment Question... Pin
Nick Parker28-Jul-03 8:03
protectorNick Parker28-Jul-03 8:03 
GeneralRe: SQL Statment Question... Pin
Jason Weibel28-Jul-03 8:07
Jason Weibel28-Jul-03 8:07 
GeneralRe: SQL Statment Question... Pin
Nick Parker31-Jul-03 10:30
protectorNick Parker31-Jul-03 10:30 
GeneralDetermining the oledbconnection is from oracle database Pin
Syed Abdul Khader7-May-03 23:46
Syed Abdul Khader7-May-03 23:46 
GeneralMaster-Detail WinForm Pin
itawil7-May-03 8:03
itawil7-May-03 8:03 
GeneralMS access relationships and ASP Pin
Sarvesvara (BVKS) Dasa6-May-03 22:40
Sarvesvara (BVKS) Dasa6-May-03 22:40 
GeneralRe: MS access relationships and ASP Pin
Jean-Marc Molina29-May-03 13:32
Jean-Marc Molina29-May-03 13:32 
Questionhow to access Paradox database? Pin
GreatSolar6-May-03 16:12
GreatSolar6-May-03 16:12 

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.