Click here to Skip to main content
15,895,471 members
Home / Discussions / C#
   

C#

 
QuestionException when trying to write in a open Excel file Pin
Priya Prk6-Jan-10 9:03
Priya Prk6-Jan-10 9:03 
AnswerRe: Exception when trying to write in a open Excel file Pin
EliottA6-Jan-10 9:08
EliottA6-Jan-10 9:08 
AnswerRe: Exception when trying to write in a open Excel file Pin
Saksida Bojan6-Jan-10 10:06
Saksida Bojan6-Jan-10 10:06 
AnswerRe: Exception when trying to write in a open Excel file Pin
Dave Kreskowiak6-Jan-10 10:22
mveDave Kreskowiak6-Jan-10 10:22 
QuestionHow use sdf Pin
SajjadZare6-Jan-10 8:51
SajjadZare6-Jan-10 8:51 
AnswerRe: How use sdf Pin
Dimitri Witkowski6-Jan-10 8:55
Dimitri Witkowski6-Jan-10 8:55 
GeneralRe: How use sdf Pin
SajjadZare6-Jan-10 16:53
SajjadZare6-Jan-10 16:53 
GeneralRe: How use sdf Pin
Dimitri Witkowski6-Jan-10 22:12
Dimitri Witkowski6-Jan-10 22:12 
How did you initialize the connection?

I think you have used this:
C#
conn = new SqlConnection("Data Source=|DataDirectory|TMCDataBase.sd;Persist Security Info=False");

But the correct way is:
C#
conn = new SqlCeConnection("Data Source=|DataDirectory|TMCDataBase.sd;Persist Security Info=False");

In order to use SqlCeConnection class, you should reference System.Data.SqlCe.dll.

See my article about Windows 7 Taskbar timer here on CodeProject

QuestionSubscribing to System Events Pin
bovus6-Jan-10 5:26
bovus6-Jan-10 5:26 
AnswerRe: Subscribing to System Events Pin
bovus6-Jan-10 5:39
bovus6-Jan-10 5:39 
Questioncomponent for datagridview Pin
SajjadZare6-Jan-10 5:14
SajjadZare6-Jan-10 5:14 
AnswerRe: component for datagridview Pin
dan!sh 6-Jan-10 5:34
professional dan!sh 6-Jan-10 5:34 
GeneralRe: component for datagridview Pin
SajjadZare6-Jan-10 5:38
SajjadZare6-Jan-10 5:38 
GeneralRe: component for datagridview Pin
dan!sh 6-Jan-10 5:46
professional dan!sh 6-Jan-10 5:46 
QuestionHow do I access row and cell information in a bound DataGridView? Pin
arnold_w6-Jan-10 5:11
arnold_w6-Jan-10 5:11 
AnswerRe: How do I access row and cell information in a bound DataGridView? Pin
dan!sh 6-Jan-10 5:45
professional dan!sh 6-Jan-10 5:45 
GeneralRe: How do I access row and cell information in a bound DataGridView? Pin
arnold_w6-Jan-10 21:27
arnold_w6-Jan-10 21:27 
GeneralRe: How do I access row and cell information in a bound DataGridView? Pin
dan!sh 7-Jan-10 4:05
professional dan!sh 7-Jan-10 4:05 
GeneralRe: How do I access row and cell information in a bound DataGridView? Pin
arnold_w7-Jan-10 4:24
arnold_w7-Jan-10 4:24 
GeneralRe: How do I access row and cell information in a bound DataGridView? Pin
arnold_w7-Jan-10 4:30
arnold_w7-Jan-10 4:30 
GeneralRe: How do I access row and cell information in a bound DataGridView? Pin
dan!sh 7-Jan-10 6:27
professional dan!sh 7-Jan-10 6:27 
GeneralRe: How do I access row and cell information in a bound DataGridView? Pin
arnold_w7-Jan-10 22:05
arnold_w7-Jan-10 22:05 
QuestionSingleton Class and Static Class Pin
dataminers6-Jan-10 4:01
dataminers6-Jan-10 4:01 
AnswerRe: Singleton Class and Static Class Pin
#realJSOP6-Jan-10 4:07
mve#realJSOP6-Jan-10 4:07 
AnswerRe: Singleton Class and Static Class Pin
harold aptroot6-Jan-10 4:07
harold aptroot6-Jan-10 4:07 

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.