Click here to Skip to main content
15,920,630 members
Home / Discussions / C#
   

C#

 
GeneralRe: IE DOM in C# Pin
Dave Kreskowiak30-Mar-04 1:49
mveDave Kreskowiak30-Mar-04 1:49 
QuestionHow to change URL of a WebService? Pin
User-37793628-Mar-04 23:44
User-37793628-Mar-04 23:44 
AnswerRe: How to change URL of a WebService? Pin
jillellamudi29-Mar-04 0:23
jillellamudi29-Mar-04 0:23 
AnswerRe: How to change URL of a WebService? Pin
Heath Stewart29-Mar-04 4:08
protectorHeath Stewart29-Mar-04 4:08 
GeneralRe: How to change URL of a WebService? Pin
User-37793630-Mar-04 4:42
User-37793630-Mar-04 4:42 
Generalopen DataReader associated with this Connection which must be closed first Pin
dabuskol28-Mar-04 23:09
dabuskol28-Mar-04 23:09 
GeneralRe: open DataReader associated with this Connection which must be closed first Pin
Colin Angus Mackay28-Mar-04 23:44
Colin Angus Mackay28-Mar-04 23:44 
GeneralRe: open DataReader associated with this Connection which must be closed first Pin
dabuskol29-Mar-04 1:35
dabuskol29-Mar-04 1:35 
Hi,

Your're correct I 'm seleceting records from the first table using ofcourse the Connection. then, while selecting ip/ports from my first table i'm also at the same time inserting data into the 2nd table with the same connection. That's why I got this error message.

Solution: all data selected from the 1st table is temporarily inserted into an array variable and from it I try to run connect and insert retrieved data into SQL using a different connection. At the same time I use a Connection Polling.

SqlConnection sqlconn = new SqlConneciotn(connstring)
open connection
Select from table1
insert into array variable
close connection


SqlConnection sqlconn = new SqlConneciotn(connstring)
open connection
insert into SQL
close connection

It work so far. Thank you very much and God Bless you.
/dabuskol

Ps : My program is running for 1 1/2 hour now with no problem registering to the log file and console.
GeneralRe: open DataReader associated with this Connection which must be closed first Pin
Colin Angus Mackay29-Mar-04 2:00
Colin Angus Mackay29-Mar-04 2:00 
GeneralBorderless CheckBox control Pin
Andy H28-Mar-04 22:16
Andy H28-Mar-04 22:16 
GeneralRe: Borderless CheckBox control Pin
jillellamudi29-Mar-04 1:00
jillellamudi29-Mar-04 1:00 
GeneralNumeric Pin
quocbao28-Mar-04 21:57
quocbao28-Mar-04 21:57 
GeneralRe: Numeric Pin
Colin Angus Mackay28-Mar-04 22:16
Colin Angus Mackay28-Mar-04 22:16 
GeneralRe: Numeric Pin
bertcox28-Mar-04 22:45
bertcox28-Mar-04 22:45 
GeneralRe: Validating data during row changes Pin
Mazdak28-Mar-04 21:52
Mazdak28-Mar-04 21:52 
Generalhooking keyboard and mouse messages Pin
Saleh Alshadheli28-Mar-04 21:46
Saleh Alshadheli28-Mar-04 21:46 
GeneralRe: hooking keyboard and mouse messages Pin
Mazdak28-Mar-04 21:50
Mazdak28-Mar-04 21:50 
GeneralRe: hooking keyboard and mouse messages Pin
oOomen28-Mar-04 22:08
oOomen28-Mar-04 22:08 
GeneralRe: hooking keyboard and mouse messages Pin
Heath Stewart29-Mar-04 4:13
protectorHeath Stewart29-Mar-04 4:13 
Questionscrolling listView ?? Pin
azusakt28-Mar-04 21:21
azusakt28-Mar-04 21:21 
AnswerRe: scrolling listView ?? Pin
Heath Stewart29-Mar-04 3:45
protectorHeath Stewart29-Mar-04 3:45 
GeneralRe: scrolling listView ?? Pin
azusakt29-Mar-04 15:05
azusakt29-Mar-04 15:05 
GeneralRe: scrolling listView ?? Pin
Heath Stewart29-Mar-04 17:20
protectorHeath Stewart29-Mar-04 17:20 
GeneralThe connection is already Open (state=Open). Pin
dabuskol28-Mar-04 21:04
dabuskol28-Mar-04 21:04 
GeneralRe: The connection is already Open (state=Open). Pin
Colin Angus Mackay28-Mar-04 21:56
Colin Angus Mackay28-Mar-04 21:56 

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.