Click here to Skip to main content
15,897,273 members
Home / Discussions / C#
   

C#

 
AnswerRe: FTP in C# Pin
Robert Rohde19-Jul-06 3:25
Robert Rohde19-Jul-06 3:25 
GeneralRe: FTP in C# Pin
RizwanSharp19-Jul-06 11:25
RizwanSharp19-Jul-06 11:25 
QuestionNHibernate Pin
Mobocracy+)19-Jul-06 3:02
Mobocracy+)19-Jul-06 3:02 
AnswerRe: NHibernate Pin
Robert Rohde19-Jul-06 3:19
Robert Rohde19-Jul-06 3:19 
QuestionC# and create SQL table and store procedures Pin
Saamir19-Jul-06 2:56
Saamir19-Jul-06 2:56 
AnswerRe: C# and create SQL table and store procedures Pin
Not Active19-Jul-06 3:06
mentorNot Active19-Jul-06 3:06 
GeneralRe: C# and create SQL table and store procedures Pin
Saamir19-Jul-06 3:26
Saamir19-Jul-06 3:26 
GeneralRe: C# and create SQL table and store procedures Pin
Gavin Roberts19-Jul-06 5:08
Gavin Roberts19-Jul-06 5:08 
say you have

create procedure dbo.GetUsers

@Enabled bit

as

select * from tUsers where enabled = @Enabled


now that above code can be set as the command text and which ever database you set as the intial db will have this code executed and a stored procedure call GetUsers will be created.

So if you create a function that loads an .Sql file and reads it, then tells the sqlcommand to execute the code returned from the sql file, which ever database you set as the intial database will have a new table or stored procedure.

Gav
Questionupdate statements using classes [modified] Pin
Mamphekgo19-Jul-06 2:54
Mamphekgo19-Jul-06 2:54 
AnswerRe: update statements using classes Pin
Not Active19-Jul-06 3:09
mentorNot Active19-Jul-06 3:09 
AnswerRe: update statements using classes Pin
Mairaaj Khan19-Jul-06 3:10
professionalMairaaj Khan19-Jul-06 3:10 
Questionflicking effect Pin
Sabry190519-Jul-06 0:54
Sabry190519-Jul-06 0:54 
AnswerRe: flicking effect Pin
alexey N19-Jul-06 1:01
alexey N19-Jul-06 1:01 
GeneralRe: flicking effect Pin
Sabry190519-Jul-06 2:21
Sabry190519-Jul-06 2:21 
GeneralRe: flicking effect Pin
Robert Rohde19-Jul-06 2:23
Robert Rohde19-Jul-06 2:23 
AnswerHow much ram do you have? Pin
Ennis Ray Lynch, Jr.19-Jul-06 2:49
Ennis Ray Lynch, Jr.19-Jul-06 2:49 
GeneralRe: How much ram do you have? Pin
Sabry190519-Jul-06 3:20
Sabry190519-Jul-06 3:20 
GeneralRe: How much ram do you have? Pin
AB777119-Jul-06 3:45
AB777119-Jul-06 3:45 
GeneralRe: How much ram do you have? Pin
Sabry190519-Jul-06 6:25
Sabry190519-Jul-06 6:25 
Questionarraylist /hashtable Pin
lavate malllik19-Jul-06 0:43
lavate malllik19-Jul-06 0:43 
AnswerRe: arraylist /hashtable Pin
S020035619-Jul-06 1:04
S020035619-Jul-06 1:04 
Questionobject declaration and Initialization in CodeDom [modified] Pin
mansimani19-Jul-06 0:40
mansimani19-Jul-06 0:40 
QuestionResuming a sleeping thread Pin
PeteConc19-Jul-06 0:25
PeteConc19-Jul-06 0:25 
AnswerRe: Resuming a sleeping thread Pin
alexey N19-Jul-06 0:30
alexey N19-Jul-06 0:30 
GeneralRe: Resuming a sleeping thread Pin
PeteConc19-Jul-06 0:36
PeteConc19-Jul-06 0:36 

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.