Click here to Skip to main content
15,915,800 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to add stylesheet using code-behind Pin
eggsovereasy28-Jul-06 8:56
eggsovereasy28-Jul-06 8:56 
GeneralRe: How to add stylesheet using code-behind Pin
Rukmini T28-Jul-06 9:23
Rukmini T28-Jul-06 9:23 
Questionc program mini project Pin
haarika reddy28-Jul-06 7:18
haarika reddy28-Jul-06 7:18 
AnswerRe: c program mini project Pin
Ravi Bhavnani28-Jul-06 10:18
professionalRavi Bhavnani28-Jul-06 10:18 
AnswerRe: c program mini project Pin
likefood28-Jul-06 13:58
likefood28-Jul-06 13:58 
AnswerRe: c program mini project Pin
stancrm28-Jul-06 18:32
stancrm28-Jul-06 18:32 
QuestionAttaching a database with my C# application Pin
wasife28-Jul-06 5:45
wasife28-Jul-06 5:45 
AnswerRe: Attaching a database with my C# application Pin
Steve Maier28-Jul-06 9:55
professionalSteve Maier28-Jul-06 9:55 
This would be better in the SQL forum, but here you go... my company does this and distributes the .mdf file and then runs a SQL script to attach to the database. I think it is a better solution to build a SQL script for the database and have it create the tables, stored procedures, etc instead of distributing the .mdf file. But if you must, you can put the .mdf file anyplace on the drive and use the sp_attach_db stored procedure.
sp_attach_db @dbname = 'Pat', 
     @filename1 = 'C:\db\Pat.mdf', 
     @filename2 = 'C:\db\Pat_log.ldf'


Steve Maier, MCSD MCAD MCTS

QuestionDataGridViewImageColumn Pin
e_LA28-Jul-06 4:56
e_LA28-Jul-06 4:56 
AnswerRe: DataGridViewImageColumn Pin
Judah Gabriel Himango28-Jul-06 6:06
sponsorJudah Gabriel Himango28-Jul-06 6:06 
GeneralRe: DataGridViewImageColumn Pin
e_LA30-Jul-06 22:24
e_LA30-Jul-06 22:24 
GeneralRe: DataGridViewImageColumn Pin
Judah Gabriel Himango31-Jul-06 6:02
sponsorJudah Gabriel Himango31-Jul-06 6:02 
GeneralRe: DataGridViewImageColumn Pin
e_LA31-Jul-06 21:31
e_LA31-Jul-06 21:31 
GeneralRe: DataGridViewImageColumn Pin
e_LA31-Jul-06 23:24
e_LA31-Jul-06 23:24 
GeneralIt works Pin
e_LA1-Aug-06 1:26
e_LA1-Aug-06 1:26 
QuestionCombining results of queries problem Pin
coolestCoder28-Jul-06 4:46
coolestCoder28-Jul-06 4:46 
AnswerIs there an index on field 2? Pin
Ennis Ray Lynch, Jr.28-Jul-06 4:58
Ennis Ray Lynch, Jr.28-Jul-06 4:58 
GeneralRe: Is there an index on field 2? Pin
coolestCoder28-Jul-06 5:24
coolestCoder28-Jul-06 5:24 
GeneralRe: Is there an index on field 2? Pin
Ennis Ray Lynch, Jr.28-Jul-06 6:37
Ennis Ray Lynch, Jr.28-Jul-06 6:37 
QuestionLIstViewItem.Remove() after label edit throws exception Pin
alekyork28-Jul-06 4:31
alekyork28-Jul-06 4:31 
AnswerRe: LIstViewItem.Remove() after label edit throws exception Pin
Rob Graham28-Jul-06 5:25
Rob Graham28-Jul-06 5:25 
QuestionProblems with state management of the DataGridViewCheckBox. HELP! Pin
LongRange.Shooter28-Jul-06 4:25
LongRange.Shooter28-Jul-06 4:25 
AnswerRe: Problems with state management of the DataGridViewCheckBox. HELP! Pin
Judah Gabriel Himango28-Jul-06 6:05
sponsorJudah Gabriel Himango28-Jul-06 6:05 
GeneralRe: Problems with state management of the DataGridViewCheckBox. HELP! Pin
LongRange.Shooter28-Jul-06 8:41
LongRange.Shooter28-Jul-06 8:41 
QuestionText in a Web Application Pin
orentuil28-Jul-06 3:22
orentuil28-Jul-06 3:22 

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.