Click here to Skip to main content
15,867,568 members
Home / Discussions / C#
   

C#

 
AnswerRe: importing table to another database Pin
Mycroft Holmes24-Jun-09 20:45
professionalMycroft Holmes24-Jun-09 20:45 
GeneralRe: importing table to another database Pin
leone25-Jun-09 1:15
leone25-Jun-09 1:15 
GeneralRe: importing table to another database Pin
Mycroft Holmes25-Jun-09 1:48
professionalMycroft Holmes25-Jun-09 1:48 
QuestionDifference between commandtype.storedprocedure and commandtype.text in terms of speed. Pin
Ersan Ercek24-Jun-09 20:28
Ersan Ercek24-Jun-09 20:28 
AnswerRe: Difference between commandtype.storedprocedure and commandtype.text in terms of speed. Pin
Mycroft Holmes24-Jun-09 20:51
professionalMycroft Holmes24-Jun-09 20:51 
JokeRe: Difference between commandtype.storedprocedure and commandtype.text in terms of speed. Pin
Ersan Ercek24-Jun-09 21:05
Ersan Ercek24-Jun-09 21:05 
GeneralRe: Difference between commandtype.storedprocedure and commandtype.text in terms of speed. Pin
Mycroft Holmes24-Jun-09 23:10
professionalMycroft Holmes24-Jun-09 23:10 
QuestionPassing SQL Statement --- What am I doing Wrong? --- Pin
JollyMansArt24-Jun-09 20:13
JollyMansArt24-Jun-09 20:13 
All I want the procedure to do is execute the sql statement that I pass it. I do not want or need any result to be passed back as the stored procedures will update or or insert to the tables.



private void SQLExecution(string WhatismyConnectionString, string MySQLStatement)
{
//This is the command I am passing in the SQL Statement...
//It is a stored procedure that simply does a deletion to the table.
//WhatismyConnectionString = "sp_vc_NoLongerExist + @MachineName + @UserName + @AppName"

SqlConnection conn = new SqlConnection(WhatismyConnectionString);
SqlCommand command = conn.CreateCommand();
command.CommandText = MySQLStatement;

command.CommandType = CommandType.Text;

// execute the command that returns a SqlDataReader
object returnvalue = command.ExecuteScalar();


MessageBox.Show("YEA?");
}
AnswerRe: Passing SQL Statement --- What am I doing Wrong? --- Pin
himanshu256124-Jun-09 20:29
himanshu256124-Jun-09 20:29 
AnswerRe: Passing SQL Statement --- What am I doing Wrong? --- Pin
AtinMaheshwari24-Jun-09 20:38
AtinMaheshwari24-Jun-09 20:38 
AnswerRe: Passing SQL Statement --- What am I doing Wrong? --- Pin
Niladri_Biswas25-Jun-09 6:04
Niladri_Biswas25-Jun-09 6:04 
QuestionXML to DataTable Pin
Abdul Rahman Hamidy24-Jun-09 19:52
Abdul Rahman Hamidy24-Jun-09 19:52 
AnswerRe: XML to DataTable Pin
himanshu256124-Jun-09 20:03
himanshu256124-Jun-09 20:03 
GeneralRe: XML to DataTable Pin
Cracked-Down24-Jun-09 20:21
Cracked-Down24-Jun-09 20:21 
General[Message Deleted] Pin
Abdul Rahman Hamidy24-Jun-09 20:38
Abdul Rahman Hamidy24-Jun-09 20:38 
GeneralRe: XML to DataTable Pin
Cracked-Down24-Jun-09 20:52
Cracked-Down24-Jun-09 20:52 
GeneralRe: [Message Deleted] Pin
0x3c024-Jun-09 21:03
0x3c024-Jun-09 21:03 
GeneralRe: [Message Deleted] Pin
Abdul Rahman Hamidy24-Jun-09 21:07
Abdul Rahman Hamidy24-Jun-09 21:07 
AnswerRe: XML to DataTable Pin
Rajesh Anuhya24-Jun-09 21:08
professionalRajesh Anuhya24-Jun-09 21:08 
QuestionHow to download .jar file to Mobile using asp.net and c# Pin
rekhashiji24-Jun-09 18:29
rekhashiji24-Jun-09 18:29 
QuestionChange a forums start up position [modified] Pin
2TammyB24-Jun-09 15:42
2TammyB24-Jun-09 15:42 
AnswerRe: Change a forums start up position Pin
Christian Graus24-Jun-09 16:19
protectorChristian Graus24-Jun-09 16:19 
AnswerRe: Change a forums start up position Pin
Mycroft Holmes24-Jun-09 19:16
professionalMycroft Holmes24-Jun-09 19:16 
QuestionDataGridViews and ComboBoxes Pin
Illegal Operation24-Jun-09 14:02
Illegal Operation24-Jun-09 14:02 
AnswerRe: DataGridViews and ComboBoxes Pin
Illegal Operation24-Jun-09 15:43
Illegal Operation24-Jun-09 15:43 

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.