Click here to Skip to main content
15,885,365 members
Home / Discussions / C#
   

C#

 
QuestionRunning an sql query in c# Pin
nomsnoms21-Apr-06 4:45
nomsnoms21-Apr-06 4:45 
AnswerRe: Running an sql query in c# Pin
Colin Angus Mackay21-Apr-06 5:50
Colin Angus Mackay21-Apr-06 5:50 
GeneralRe: Running an sql query in c# Pin
Paul Conrad21-Apr-06 7:54
professionalPaul Conrad21-Apr-06 7:54 
AnswerRe: Running an sql query in c# Pin
Paul Brower21-Apr-06 5:56
Paul Brower21-Apr-06 5:56 
GeneralRe: Running an sql query in c# Pin
Paul Conrad21-Apr-06 7:55
professionalPaul Conrad21-Apr-06 7:55 
QuestionHelp Me in DirectX !! Pin
hdv21221-Apr-06 4:39
hdv21221-Apr-06 4:39 
AnswerRe: Help Me in DirectX !! Pin
Judah Gabriel Himango21-Apr-06 5:13
sponsorJudah Gabriel Himango21-Apr-06 5:13 
Questiondatabase script status Pin
ddpn4221-Apr-06 3:42
ddpn4221-Apr-06 3:42 
I want to add a progress bar to a small app but once i pass a script to the database i have no control until the script finishes. The app reads a script from a file modifies it slightly and then connect and pass the script to the database. I pass the script using the ExecuteNonQuery method. Here is that section of code. can anyone help?

here is my connection string format:

"Server=Server;Database=pubs;User ID=sa;Password=asdasd;Trusted_Connection=False"


int RowsAffected;
DBConnect.Open();

SqlCommand sqlscript = new SqlCommand(SQLFileReplace, DBConnect);

sqlscript.CommandTimeout = 5000000;
RowsAffected = sqlscript.ExecuteNonQuery();
AnswerRe: database script status Pin
Dave Kreskowiak21-Apr-06 7:28
mveDave Kreskowiak21-Apr-06 7:28 
QuestionProblem getting HWND for PictureBox Pin
Tim Smartcom21-Apr-06 3:30
Tim Smartcom21-Apr-06 3:30 
QuestionHandle "send to" sent files from windows Pin
gubber21-Apr-06 2:41
gubber21-Apr-06 2:41 
AnswerRe: Handle "send to" sent files from windows Pin
Robert Rohde21-Apr-06 3:09
Robert Rohde21-Apr-06 3:09 
GeneralRe: Handle "send to" sent files from windows Pin
gubber21-Apr-06 3:48
gubber21-Apr-06 3:48 
GeneralRe: Handle "send to" sent files from windows Pin
Robert Rohde21-Apr-06 4:10
Robert Rohde21-Apr-06 4:10 
GeneralRe: Handle "send to" sent files from windows Pin
gubber21-Apr-06 4:45
gubber21-Apr-06 4:45 
Question.NET Pin
_Tom_21-Apr-06 2:27
_Tom_21-Apr-06 2:27 
AnswerRe: .NET Pin
User 665821-Apr-06 2:36
User 665821-Apr-06 2:36 
GeneralRe: .NET Pin
_Tom_22-Apr-06 9:31
_Tom_22-Apr-06 9:31 
Questionhow to configure .net project Pin
ranandbe21-Apr-06 2:18
ranandbe21-Apr-06 2:18 
AnswerRe: how to configure .net project Pin
Dave Kreskowiak21-Apr-06 7:24
mveDave Kreskowiak21-Apr-06 7:24 
Questionhashtable question Pin
spin vector21-Apr-06 1:57
spin vector21-Apr-06 1:57 
AnswerRe: hashtable question Pin
Guffa21-Apr-06 2:15
Guffa21-Apr-06 2:15 
GeneralRe: hashtable question Pin
spin vector21-Apr-06 2:30
spin vector21-Apr-06 2:30 
GeneralRe: hashtable question Pin
Paul Brower21-Apr-06 3:34
Paul Brower21-Apr-06 3:34 
AnswerRe: hashtable question Pin
wout de zeeuw21-Apr-06 2:28
wout de zeeuw21-Apr-06 2:28 

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.