Click here to Skip to main content
15,889,556 members
Home / Discussions / C#
   

C#

 
GeneralRe: Led UI CONTROL Pin
half-life6-Feb-08 8:22
half-life6-Feb-08 8:22 
GeneralRe: Led UI CONTROL Pin
half-life6-Feb-08 8:27
half-life6-Feb-08 8:27 
GeneralRe: Led UI CONTROL Pin
Ravi Bhavnani6-Feb-08 9:06
professionalRavi Bhavnani6-Feb-08 9:06 
GeneralRe: Led UI CONTROL Pin
half-life6-Feb-08 9:15
half-life6-Feb-08 9:15 
Generalexcel factory update Pin
arkiboys6-Feb-08 5:31
arkiboys6-Feb-08 5:31 
GeneralRe: excel factory update Pin
Jimmanuel6-Feb-08 7:39
Jimmanuel6-Feb-08 7:39 
GeneralRe: excel factory update Pin
arkiboys6-Feb-08 21:22
arkiboys6-Feb-08 21:22 
GeneralRe: excel factory update [modified] Pin
Jimmanuel7-Feb-08 3:48
Jimmanuel7-Feb-08 3:48 
move the
arkiboys wrote:
foreach (DataGridViewRow row in dgvSecurityPricing.Rows)

loop inside of the
arkiboys wrote:
using (DbCommand command = connection.CreateCommand())

statement. That way you're creating a new SQL command string for each row in the datagrid and using the same DbConnection and DbCommand objects over and over again instead of destroying them after each row is updated


p.s. put < pre > tags around your code in posts to preserve the formatting, that'll make it easier on the eyes

Last modified: 21mins after originally posted --



Generala little more constructive criticism . . . Pin
Jimmanuel7-Feb-08 7:48
Jimmanuel7-Feb-08 7:48 
GeneralRe: a little more constructive criticism . . . Pin
arkiboys7-Feb-08 22:14
arkiboys7-Feb-08 22:14 
GeneralOracle too slow in .Net Pin
El'Cachubrey6-Feb-08 3:58
El'Cachubrey6-Feb-08 3:58 
JokeRe: Oracle too slow in .Net Pin
Not Active6-Feb-08 4:03
mentorNot Active6-Feb-08 4:03 
AnswerRe: Oracle too slow in .Net Pin
Guffa6-Feb-08 4:56
Guffa6-Feb-08 4:56 
GeneralRe: Oracle too slow in .Net Pin
El'Cachubrey6-Feb-08 7:55
El'Cachubrey6-Feb-08 7:55 
GeneralRe: Oracle too slow in .Net Pin
Guffa6-Feb-08 8:17
Guffa6-Feb-08 8:17 
GeneralRe: Oracle too slow in .Net Pin
Ennis Ray Lynch, Jr.6-Feb-08 7:34
Ennis Ray Lynch, Jr.6-Feb-08 7:34 
GeneralRe: Oracle too slow in .Net Pin
El'Cachubrey6-Feb-08 7:50
El'Cachubrey6-Feb-08 7:50 
AnswerRe: Oracle too slow in .Net Pin
Guffa6-Feb-08 8:10
Guffa6-Feb-08 8:10 
GeneralHtml to Pdf Pin
marky7776-Feb-08 3:46
marky7776-Feb-08 3:46 
GeneralRe: Html to Pdf Pin
sabrown1006-Feb-08 7:30
sabrown1006-Feb-08 7:30 
GeneralFTP check for existing files Pin
Dreamzor6-Feb-08 3:44
Dreamzor6-Feb-08 3:44 
GeneralRe: FTP check for existing files Pin
Not Active6-Feb-08 4:01
mentorNot Active6-Feb-08 4:01 
GeneralRe: FTP check for existing files Pin
Dreamzor6-Feb-08 4:21
Dreamzor6-Feb-08 4:21 
GeneralRe: FTP check for existing files Pin
Not Active6-Feb-08 4:35
mentorNot Active6-Feb-08 4:35 
GeneralRe: FTP check for existing files Pin
Dreamzor6-Feb-08 4:46
Dreamzor6-Feb-08 4:46 

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.