Click here to Skip to main content
16,007,885 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Path over 260 characters Pin
Dave Kreskowiak20-May-07 18:05
mveDave Kreskowiak20-May-07 18:05 
QuestionNonlinear Least Squares Curve Fitting Pin
not_starman20-May-07 12:37
not_starman20-May-07 12:37 
AnswerRe: Nonlinear Least Squares Curve Fitting Pin
SamM22-May-07 4:20
SamM22-May-07 4:20 
QuestionCustom Controls With Collections Pin
The ANZAC20-May-07 11:18
The ANZAC20-May-07 11:18 
Questionlistbox saving problem in vb.net Pin
getknr20-May-07 3:51
getknr20-May-07 3:51 
AnswerRe: listbox saving problem in vb.net Pin
Dave Kreskowiak20-May-07 4:29
mveDave Kreskowiak20-May-07 4:29 
There's several problems with this. You're creating a new SqlConnection and SqlCommand object, complete with parameters, on every line in your list. Don't. Create all the stuff first, outside the loop, then open the connection, reuse the command and parameters inside the loop, just filling in the parameters and calling .ExecuteNonQuery, NOT ExecuteReader! Close the connection after the Next in your loop and it's done.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


Questionimplementing thread Pin
balakpn19-May-07 21:52
balakpn19-May-07 21:52 
AnswerRe: implementing thread Pin
Joseph Guadagno20-May-07 4:10
Joseph Guadagno20-May-07 4:10 
Questioninserting values in bounded combobox Pin
Ajeet mittal19-May-07 21:47
Ajeet mittal19-May-07 21:47 
AnswerRe: inserting values in bounded combobox Pin
Dave Kreskowiak20-May-07 4:12
mveDave Kreskowiak20-May-07 4:12 
QuestionOutlook Express Automation Pin
isidor719-May-07 8:17
isidor719-May-07 8:17 
AnswerRe: Outlook Express Automation Pin
Dave Kreskowiak20-May-07 4:10
mveDave Kreskowiak20-May-07 4:10 
AnswerRe: Outlook Express Automation Pin
Sonia Gupta20-May-07 18:52
Sonia Gupta20-May-07 18:52 
QuestionProblem with AxMozillaBrowser !!!!!!! Pin
softwarejaeger19-May-07 6:04
softwarejaeger19-May-07 6:04 
AnswerRe: Problem with AxMozillaBrowser !!!!!!! Pin
MatrixCoder19-May-07 12:31
MatrixCoder19-May-07 12:31 
AnswerRe: Problem with AxMozillaBrowser !!!!!!! Pin
Dave Kreskowiak19-May-07 18:09
mveDave Kreskowiak19-May-07 18:09 
GeneralRe: Problem with AxMozillaBrowser !!!!!!! Pin
softwarejaeger19-May-07 23:12
softwarejaeger19-May-07 23:12 
QuestionCOM+ Pin
sunder vel19-May-07 5:59
sunder vel19-May-07 5:59 
AnswerRe: COM+ Pin
Dave Kreskowiak20-May-07 4:51
mveDave Kreskowiak20-May-07 4:51 
QuestionVB.net Email Client Pin
al96819-May-07 4:22
al96819-May-07 4:22 
AnswerRe: VB.net Email Client Pin
MatrixCoder19-May-07 15:10
MatrixCoder19-May-07 15:10 
QuestionDifference between Debug and Release Folder Pin
Rupesh Kumar Swami19-May-07 4:02
Rupesh Kumar Swami19-May-07 4:02 
QuestionRe: Difference between Debug and Release Folder Pin
CPallini19-May-07 10:12
mveCPallini19-May-07 10:12 
AnswerRe: Difference between Debug and Release Folder Pin
Joseph Guadagno19-May-07 10:49
Joseph Guadagno19-May-07 10:49 
QuestionProblem in Bounded Combobox In vb.net Pin
Ajeet mittal19-May-07 1:35
Ajeet mittal19-May-07 1:35 

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.