Click here to Skip to main content
15,899,754 members
Home / Discussions / Database
   

Database

 
GeneralRe: Unisntall sql server 2000 service pack 3 Pin
Colin Angus Mackay11-Jan-05 5:30
Colin Angus Mackay11-Jan-05 5:30 
GeneralRe: Unisntall sql server 2000 service pack 3 Pin
Mekong River13-Jan-05 5:45
Mekong River13-Jan-05 5:45 
GeneralRe: Unisntall sql server 2000 service pack 3 Pin
Mike Dimmick11-Jan-05 6:23
Mike Dimmick11-Jan-05 6:23 
Generalvalidation problm Pin
Member 165962410-Jan-05 23:12
Member 165962410-Jan-05 23:12 
GeneralRe: validation problm Pin
Colin Angus Mackay10-Jan-05 23:24
Colin Angus Mackay10-Jan-05 23:24 
GeneralSyncing different DataAdapters Pin
Jim_Stanley10-Jan-05 11:44
Jim_Stanley10-Jan-05 11:44 
Generalbig problem Pin
WDI10-Jan-05 11:33
WDI10-Jan-05 11:33 
Generala very big problem Pin
WDI10-Jan-05 11:29
WDI10-Jan-05 11:29 
hi
i have a problem.
this code doesn't work why? and what should i do plz?????Mad | :mad:

public void GetData( )
{

SqlConnection sqlConnection;
SqlCommand sqlCommand;

sqlConnection = new SqlConnection ( ConfigurationSettings.AppSettings["DataBaseConnection"] );
sqlConnection.Open();

sqlCommand = new SqlCommand ( "storedProcedure_2" , sqlConnection );
sqlCommand.CommandType = CommandType.StoredProcedure;

SqlDataReader sqlDataReader = sqlCommand.ExecuteReader();

while ( sqlDataReader.Read() )
{

do somethings...

SqlCommand sqlCommand_2 ;

sqlCommand_2 = new SqlCommand ( "storedProcedure_2" , sqlConnection );
sqlCommand_2.CommandType = CommandType.StoredProcedure;

SqlDataReader sqlDataReader_2 = sqlCommand_2.ExecuteReader();

while ( sqlDataReader_2.Read() )
{
do somethings...
}
sqlDataReader_2.Close();
}

sqlDataReader.Close();


sqlConnection.Close();
}
GeneralRe: a very big problem Pin
Colin Angus Mackay10-Jan-05 13:16
Colin Angus Mackay10-Jan-05 13:16 
GeneralExcelt and ADO .NET !!! made me cry now!!! Pin
fadee10-Jan-05 5:32
fadee10-Jan-05 5:32 
GeneralRe: Excelt and ADO .NET !!! made me cry now!!! Pin
Rob Graham10-Jan-05 13:53
Rob Graham10-Jan-05 13:53 
GeneralRe: Excelt and ADO .NET !!! made me cry now!!! Pin
fadee10-Jan-05 17:02
fadee10-Jan-05 17:02 
GeneralSQL Job Failed Pin
sayhigh9-Jan-05 16:09
sayhigh9-Jan-05 16:09 
GeneralProblem is.... Pin
KORCARI8-Jan-05 8:20
KORCARI8-Jan-05 8:20 
GeneralRe: Problem is.... Pin
mysorian9-Jan-05 3:35
professionalmysorian9-Jan-05 3:35 
QuestionHow can I... Pin
KORCARI7-Jan-05 13:33
KORCARI7-Jan-05 13:33 
AnswerRe: How can I... Pin
Roger Wright7-Jan-05 14:01
professionalRoger Wright7-Jan-05 14:01 
GeneralMy problem... Pin
KORCARI7-Jan-05 13:30
KORCARI7-Jan-05 13:30 
GeneralRe: My problem... Pin
Colin Angus Mackay8-Jan-05 6:59
Colin Angus Mackay8-Jan-05 6:59 
GeneralSQL Statement Problem Pin
Anonymous7-Jan-05 5:24
Anonymous7-Jan-05 5:24 
GeneralRe: SQL Statement Problem Pin
Mike Ellison7-Jan-05 5:33
Mike Ellison7-Jan-05 5:33 
GeneralRe: SQL Statement Problem Pin
Anonymous7-Jan-05 8:22
Anonymous7-Jan-05 8:22 
GeneralRe: SQL Statement Problem Pin
Mike Ellison7-Jan-05 9:14
Mike Ellison7-Jan-05 9:14 
GeneralRe: SQL Statement Problem Pin
Anonymous7-Jan-05 10:23
Anonymous7-Jan-05 10:23 
GeneralRe: SQL Statement Problem Pin
Colin Angus Mackay7-Jan-05 10:39
Colin Angus Mackay7-Jan-05 10:39 

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.