Click here to Skip to main content
16,005,181 members
Home / Discussions / Database
   

Database

 
QuestionERROR:"SQL Server is terminating this process"?? [pls help~] Pin
campbells26-Oct-06 19:45
campbells26-Oct-06 19:45 
AnswerRe: ERROR:"SQL Server is terminating this process"?? [pls help~] Pin
Mike Dimmick27-Oct-06 4:22
Mike Dimmick27-Oct-06 4:22 
GeneralRe: ERROR:"SQL Server is terminating this process"?? [pls help~] Pin
Aby Thomas Varghese27-Oct-06 9:05
Aby Thomas Varghese27-Oct-06 9:05 
QuestionXML Related with SQL Pin
NICE TO MEET26-Oct-06 19:20
NICE TO MEET26-Oct-06 19:20 
QuestionDataReader vs. DataSet Pin
MrRedLion26-Oct-06 10:26
MrRedLion26-Oct-06 10:26 
AnswerRe: DataReader vs. DataSet Pin
Eric Dahlvang26-Oct-06 11:19
Eric Dahlvang26-Oct-06 11:19 
GeneralRe: DataReader vs. DataSet Pin
MrRedLion26-Oct-06 19:03
MrRedLion26-Oct-06 19:03 
GeneralRe: DataReader vs. DataSet Pin
Colin Angus Mackay27-Oct-06 1:10
Colin Angus Mackay27-Oct-06 1:10 
MrRedLion wrote:
If ceReader.Read Then
While ceReader.Read()
ListFind.Items.Add(Mid(CStr(ceReader(strField)), 1, 30))
End While
End If


Your problem is here. Every time you call Read() it moves onto the next row in the result set. Your If statement is effectively skipping the first row. All you need is the While loop because it will never loop if the very first call of Read() returns false (indicating there are no rows returned). So, remove the If statement.


GeneralRe: DataReader vs. DataSet Pin
MrRedLion27-Oct-06 1:43
MrRedLion27-Oct-06 1:43 
Questionhow to use sql to read the arabic languag Pin
ashraf hakiem25-Oct-06 21:36
ashraf hakiem25-Oct-06 21:36 
AnswerRe: how to use sql to read the arabic languag Pin
MrRedLion26-Oct-06 10:39
MrRedLion26-Oct-06 10:39 
Questiondifference between delete, truncate and drop in sql server Pin
NICE TO MEET25-Oct-06 21:10
NICE TO MEET25-Oct-06 21:10 
AnswerRe: difference between delete, truncate and drop in sql server Pin
Colin Angus Mackay25-Oct-06 23:15
Colin Angus Mackay25-Oct-06 23:15 
GeneralRe: difference between delete, truncate and drop in sql server Pin
Paddy Boyd27-Oct-06 3:58
Paddy Boyd27-Oct-06 3:58 
GeneralRe: difference between delete, truncate and drop in sql server Pin
Colin Angus Mackay27-Oct-06 6:28
Colin Angus Mackay27-Oct-06 6:28 
GeneralRe: difference between delete, truncate and drop in sql server Pin
Paddy Boyd27-Oct-06 6:31
Paddy Boyd27-Oct-06 6:31 
QuestionReturning more than one value from a stored procedure? [modified] Pin
Belfast Child25-Oct-06 1:36
Belfast Child25-Oct-06 1:36 
AnswerRe: Returning more than one value from a stored procedure? Pin
Belfast Child25-Oct-06 2:14
Belfast Child25-Oct-06 2:14 
GeneralRe: Returning more than one value from a stored procedure? Pin
Elina Blank25-Oct-06 2:19
sitebuilderElina Blank25-Oct-06 2:19 
AnswerRe: Returning more than one value from a stored procedure? Pin
Elina Blank25-Oct-06 2:18
sitebuilderElina Blank25-Oct-06 2:18 
AnswerRe: Returning more than one value from a stored procedure? Pin
Scott Serl25-Oct-06 8:00
Scott Serl25-Oct-06 8:00 
GeneralRe: Returning more than one value from a stored procedure? Pin
Belfast Child30-Oct-06 22:43
Belfast Child30-Oct-06 22:43 
QuestionCalculated Field Pin
Dayekh25-Oct-06 0:00
Dayekh25-Oct-06 0:00 
AnswerRe: Calculated Field Pin
Colin Angus Mackay25-Oct-06 0:57
Colin Angus Mackay25-Oct-06 0:57 
GeneralRe: Calculated Field Pin
Dayekh25-Oct-06 1:45
Dayekh25-Oct-06 1:45 

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.