Click here to Skip to main content
15,924,317 members
Home / Discussions / C#
   

C#

 
AnswerRe: Exists an interface for Parse(string value) method and ToString(string format)? Pin
[Marc]15-Dec-05 14:46
[Marc]15-Dec-05 14:46 
GeneralRe: Exists an interface for Parse(string value) method and ToString(string format)? Pin
machocr15-Dec-05 17:31
machocr15-Dec-05 17:31 
GeneralRe: Exists an interface for Parse(string value) method and ToString(string format)? Pin
S. Senthil Kumar15-Dec-05 20:45
S. Senthil Kumar15-Dec-05 20:45 
GeneralRe: Exists an interface for Parse(string value) method and ToString(string format)? Pin
machocr16-Dec-05 10:47
machocr16-Dec-05 10:47 
QuestionATTACHING DATABASE FILE Pin
Bagie15-Dec-05 14:08
Bagie15-Dec-05 14:08 
AnswerRe: ATTACHING DATABASE FILE Pin
Curtis Schlak.15-Dec-05 15:21
Curtis Schlak.15-Dec-05 15:21 
GeneralRe: ATTACHING DATABASE FILE Pin
Bagie16-Dec-05 12:52
Bagie16-Dec-05 12:52 
GeneralRe: ATTACHING DATABASE FILE Pin
Curtis Schlak.17-Dec-05 4:34
Curtis Schlak.17-Dec-05 4:34 
  1. Create a backup of the database.
  2. Add it to your setup program.
  3. Create an executable that will connect to a datasource and run the following SQL statement
    RESTORE DATABASE TestDB
    FROM DISK = '[source_file]'
    WITH MOVE '[db_name]' TO '[data_file_name]',
    MOVE '[db_name]_log' TO '[log_file_name]'
    
  4. Build the execuatble and add it to your Setup project.
  5. Add the executable to the list of custom actions in the commit section.

For more information, please see the Transact-SQL Reference.

"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
GeneralRe: ATTACHING DATABASE FILE Pin
Bagie17-Dec-05 11:12
Bagie17-Dec-05 11:12 
GeneralRe: ATTACHING DATABASE FILE Pin
Curtis Schlak.19-Dec-05 18:06
Curtis Schlak.19-Dec-05 18:06 
QuestionFrom Bagie [ Important ] Pin
Bagie15-Dec-05 13:30
Bagie15-Dec-05 13:30 
AnswerRe: From Bagie [ Important ] Pin
enjoycrack15-Dec-05 13:32
enjoycrack15-Dec-05 13:32 
GeneralRe: From Bagie [ Important ] Pin
Bagie15-Dec-05 13:38
Bagie15-Dec-05 13:38 
GeneralRe: From Bagie [ Important ] Pin
enjoycrack15-Dec-05 13:42
enjoycrack15-Dec-05 13:42 
GeneralRe: From Bagie [ Important ] Pin
Bagie15-Dec-05 13:50
Bagie15-Dec-05 13:50 
GeneralRe: From Bagie [ Important ] Pin
enjoycrack15-Dec-05 13:53
enjoycrack15-Dec-05 13:53 
Questionis there any way to have a program to delete itself after running? Pin
Anthony Mushrow15-Dec-05 13:04
professionalAnthony Mushrow15-Dec-05 13:04 
AnswerRe: is there any way to have a program to delete itself after running? Pin
enjoycrack15-Dec-05 13:31
enjoycrack15-Dec-05 13:31 
GeneralRe: is there any way to have a program to delete itself after running? Pin
Dave Kreskowiak15-Dec-05 16:11
mveDave Kreskowiak15-Dec-05 16:11 
AnswerRe: is there any way to have a program to delete itself after running? Pin
Dave Kreskowiak15-Dec-05 16:18
mveDave Kreskowiak15-Dec-05 16:18 
QuestionWant to display screen coordinates of the mouse in real time Pin
...---...15-Dec-05 11:02
...---...15-Dec-05 11:02 
AnswerRe: Want to display screen coordinates of the mouse in real time Pin
Kharlog-15-Dec-05 11:45
Kharlog-15-Dec-05 11:45 
GeneralRe: Want to display screen coordinates of the mouse in real time Pin
...---...15-Dec-05 12:36
...---...15-Dec-05 12:36 
GeneralRe: Want to display screen coordinates of the mouse in real time Pin
TheGreatAndPowerfulOz15-Dec-05 13:40
TheGreatAndPowerfulOz15-Dec-05 13:40 
GeneralRe: Want to display screen coordinates of the mouse in real time Pin
...---...15-Dec-05 14:49
...---...15-Dec-05 14:49 

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.