Click here to Skip to main content
16,005,222 members
Home / Discussions / C#
   

C#

 
AnswerRe: run c# application on solaris Pin
Vasudevan Deepak Kumar3-Jul-07 22:02
Vasudevan Deepak Kumar3-Jul-07 22:02 
Questionhow can i read/write data to excel 2007 with C#.net consolde application? Pin
neodeaths3-Jul-07 19:57
neodeaths3-Jul-07 19:57 
AnswerRe: how can i read/write data to excel 2007 with C#.net consolde application? Pin
Jimmanuel4-Jul-07 10:25
Jimmanuel4-Jul-07 10:25 
QuestionPassing Custom control Properties in Query String Pin
SivabalanK3-Jul-07 19:56
SivabalanK3-Jul-07 19:56 
AnswerRe: Passing Custom control Properties in Query String Pin
Michael Sync3-Jul-07 20:02
Michael Sync3-Jul-07 20:02 
QuestionRunning a T-SQL script file using C# Pin
wasife3-Jul-07 19:49
wasife3-Jul-07 19:49 
AnswerRe: Running a T-SQL script file using C# Pin
Michael Sync3-Jul-07 19:59
Michael Sync3-Jul-07 19:59 
AnswerRe: Running a T-SQL script file using C# Pin
Colin Angus Mackay3-Jul-07 22:31
Colin Angus Mackay3-Jul-07 22:31 
wasife wrote:
I have a T-SQL Script file which i want to run without opening it and reading its contents. Please tell me how can i do it using ADO.Net or any other way.


If you want to use ADO.NET you need to open it and read its contents. Then pass those contents onto to a SqlCommand.

If you want to use any other process then that will have to open and read the contents too. There is no way around that.

Why do you have an aversion to opening and reading the file?



Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...

"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."

Ready to Give up - Your help will be much appreciated.


My website

Questioninstaller package Pin
DKalepu3-Jul-07 19:28
DKalepu3-Jul-07 19:28 
AnswerRe: installer package Pin
wasife3-Jul-07 19:46
wasife3-Jul-07 19:46 
GeneralRe: installer package Pin
DKalepu3-Jul-07 20:15
DKalepu3-Jul-07 20:15 
Questioncalling a super class method from a derived class Pin
Kanjinghat3-Jul-07 18:31
Kanjinghat3-Jul-07 18:31 
AnswerRe: calling a super class method from a derived class Pin
Sathesh Sakthivel3-Jul-07 19:05
Sathesh Sakthivel3-Jul-07 19:05 
GeneralRe: calling a super class method from a derived class Pin
Kanjinghat3-Jul-07 19:15
Kanjinghat3-Jul-07 19:15 
GeneralRe: calling a super class method from a derived class [modified] Pin
Martin#3-Jul-07 19:50
Martin#3-Jul-07 19:50 
GeneralRe: calling a super class method from a derived class Pin
Kanjinghat3-Jul-07 20:24
Kanjinghat3-Jul-07 20:24 
GeneralRe: calling a super class method from a derived class Pin
Martin#4-Jul-07 5:46
Martin#4-Jul-07 5:46 
AnswerRe: calling a super class method from a derived class Pin
PIEBALDconsult3-Jul-07 19:54
mvePIEBALDconsult3-Jul-07 19:54 
QuestionDataGridView Pin
sangramkp3-Jul-07 18:19
sangramkp3-Jul-07 18:19 
AnswerRe: DataGridView Pin
Gopal.S4-Jul-07 1:40
Gopal.S4-Jul-07 1:40 
GeneralRe: DataGridView Pin
sangramkp4-Jul-07 2:42
sangramkp4-Jul-07 2:42 
QuestionRead StatusStrip Text from Another Program Pin
anamorphism3-Jul-07 15:10
anamorphism3-Jul-07 15:10 
AnswerRe: Read StatusStrip Text from Another Program Pin
Michael Sync3-Jul-07 17:14
Michael Sync3-Jul-07 17:14 
GeneralRe: Read StatusStrip Text from Another Program Pin
anamorphism3-Jul-07 19:43
anamorphism3-Jul-07 19:43 
QuestionOpenIcon not restoring window to former size Pin
theFrenchHornet3-Jul-07 12:11
theFrenchHornet3-Jul-07 12:11 

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.