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

C#

 
AnswerRe: How to Make EXE Pin
Tyler455-Jan-07 12:14
Tyler455-Jan-07 12:14 
QuestionDateTime.CompareTo() runtime miss Pin
swjam4-Jan-07 18:17
swjam4-Jan-07 18:17 
AnswerRe: DateTime.CompareTo() runtime miss Pin
Christian Graus4-Jan-07 18:32
protectorChristian Graus4-Jan-07 18:32 
AnswerRe: DateTime.CompareTo() runtime miss Pin
Phillip M. Hoff4-Jan-07 18:41
Phillip M. Hoff4-Jan-07 18:41 
AnswerRe: DateTime.CompareTo() runtime miss Pin
Russell Jones4-Jan-07 21:56
Russell Jones4-Jan-07 21:56 
QuestionCPU Usage in % Pin
Praveen Raghuvanshi4-Jan-07 17:14
professionalPraveen Raghuvanshi4-Jan-07 17:14 
AnswerRe: CPU Usage in % Pin
Phillip M. Hoff4-Jan-07 18:24
Phillip M. Hoff4-Jan-07 18:24 
Questionconnect db to crystal report Pin
amilapradeep4-Jan-07 17:12
amilapradeep4-Jan-07 17:12 
i,m using c#2005 and sqlexpress.

in my projects i use separate class for db connection and call that on project.
there i use connection string as

ConnectionString = "Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\Database\\stock.mdf;Integrated Security=True;User Instance=True";

as i understand this db created on project location and it attached to sql server when project(or build exe) running. after successfully build project i could see db had attached to server as "D:\Equipmanager\Equipmanager\bin\Debug\Database\stock.mdf"

everything ok.db connection works fine.
but problem comes when i start reports.
there i tried on ADO.net and OLE DB.but wizard shows only default dbs.master etc....(actually my project db attached to server when running.show how it show there?)
here's my problem...

1. can i use this connection string...is there any problem...
2. how to use project db for reporting(use crystal report)..?should i attached db manually and do report?

if i use sql 2000 this problem ok.because there every db is attached and not separate file.

currently i get db details by code and pass those to report(actually this connection string fine.because when deploying db is automatically attached.no need to do it manually)

but passing parameter is not good when long report.that's why i want to find way connect db to report?


AnswerRe: connect db to crystal report Pin
Tyler454-Jan-07 21:34
Tyler454-Jan-07 21:34 
GeneralRe: connect db to crystal report Pin
amilapradeep5-Jan-07 2:07
amilapradeep5-Jan-07 2:07 
AnswerRe: connect db to crystal report Pin
Tyler455-Jan-07 12:22
Tyler455-Jan-07 12:22 
GeneralRe: connect db to crystal report Pin
amilapradeep6-Jan-07 18:58
amilapradeep6-Jan-07 18:58 
QuestionDo you know of a MS COM object that raises events? Pin
JoeRip4-Jan-07 16:39
JoeRip4-Jan-07 16:39 
AnswerRe: Do you know of a MS COM object that raises events? Pin
Phillip M. Hoff4-Jan-07 18:15
Phillip M. Hoff4-Jan-07 18:15 
GeneralRe: Do you know of a MS COM object that raises events? Pin
JoeRip4-Jan-07 18:34
JoeRip4-Jan-07 18:34 
GeneralRe: Do you know of a MS COM object that raises events? Pin
JoeRip4-Jan-07 18:41
JoeRip4-Jan-07 18:41 
GeneralRe: Do you know of a MS COM object that raises events? Pin
Phillip M. Hoff4-Jan-07 19:08
Phillip M. Hoff4-Jan-07 19:08 
GeneralRe: Do you know of a MS COM object that raises events? Pin
Phillip M. Hoff4-Jan-07 19:50
Phillip M. Hoff4-Jan-07 19:50 
GeneralRe: Do you know of a MS COM object that raises events? Pin
JoeRip4-Jan-07 20:04
JoeRip4-Jan-07 20:04 
GeneralRe: Do you know of a MS COM object that raises events? Pin
Phillip M. Hoff4-Jan-07 20:22
Phillip M. Hoff4-Jan-07 20:22 
GeneralRe: Do you know of a MS COM object that raises events? Pin
JoeRip4-Jan-07 20:31
JoeRip4-Jan-07 20:31 
GeneralRe: Do you know of a MS COM object that raises events? Pin
JoeRip4-Jan-07 20:45
JoeRip4-Jan-07 20:45 
GeneralRe: Do you know of a MS COM object that raises events? Pin
Phillip M. Hoff4-Jan-07 21:05
Phillip M. Hoff4-Jan-07 21:05 
GeneralRe: Do you know of a MS COM object that raises events? Pin
JoeRip4-Jan-07 21:12
JoeRip4-Jan-07 21:12 
GeneralRe: Do you know of a MS COM object that raises events? Pin
Phillip M. Hoff4-Jan-07 21:25
Phillip M. Hoff4-Jan-07 21:25 

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.