Click here to Skip to main content
15,860,972 members
Home / Discussions / C#
   

C#

 
QuestionAny latest good books or tutorial on WPF-MVVM ? Pin
Vijay Kanda11-Nov-12 19:19
Vijay Kanda11-Nov-12 19:19 
AnswerRe: Any latest good books or tutorial on WPF-MVVM ? Pin
Abhinav S11-Nov-12 19:43
Abhinav S11-Nov-12 19:43 
GeneralRe: Any latest good books or tutorial on WPF-MVVM ? Pin
Vijay Kanda11-Nov-12 20:32
Vijay Kanda11-Nov-12 20:32 
QuestionThe input stream is not a valid binary format. Pin
RB@Emphasys11-Nov-12 18:53
RB@Emphasys11-Nov-12 18:53 
GeneralRe: The input stream is not a valid binary format. Pin
Eddy Vluggen12-Nov-12 0:56
professionalEddy Vluggen12-Nov-12 0:56 
GeneralRe: The input stream is not a valid binary format. Pin
RB@Emphasys12-Nov-12 1:42
RB@Emphasys12-Nov-12 1:42 
AnswerRe: The input stream is not a valid binary format. Pin
Ennis Ray Lynch, Jr.12-Nov-12 6:44
Ennis Ray Lynch, Jr.12-Nov-12 6:44 
QuestionApp.Config Pin
Aduu11-Nov-12 13:52
Aduu11-Nov-12 13:52 
Hi, I am trying to access a MS Access database using Windows form. I added my connection string in App.congig file.
XML
 <?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <connectionStrings>

    <clear/>
    <add name="Constr" providerName="System.Data.OleDb" 
         connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Users\\XXXX\\Documents\\YYYYY.accdb; Persist Security Info=False;"/>
    
  </connectionStrings>
</configuration>


Code I added in my code to read this is

C#
string  connectionstring = ConfigurationManager.ConnectionStrings["Constr"].ConnectionString;



but I am getting following error on this line.

System.NullReferenceException was unhandled
Message=Object reference not set to an instance of an object.
Source=LoadTrackingTool.

I am not getting why I am getting this error. Can anyone please help me out in this. I am new in this functionality.

Thnx,
Aduu
QuestionRe: App.Config Pin
Super Lloyd11-Nov-12 16:23
Super Lloyd11-Nov-12 16:23 
AnswerRe: App.Config Pin
ZurdoDev12-Nov-12 5:30
professionalZurdoDev12-Nov-12 5:30 
AnswerRe: App.Config Pin
Simon_Whale12-Nov-12 5:49
Simon_Whale12-Nov-12 5:49 
Questionis Windows-8 can run Webservice that work with FrameWork3.5? Pin
goldsoft11-Nov-12 9:08
goldsoft11-Nov-12 9:08 
AnswerRe: is Windows-8 can run Webservice that work with FrameWork3.5? Pin
Eddy Vluggen11-Nov-12 11:17
professionalEddy Vluggen11-Nov-12 11:17 
Questionselection of similar words in textbox c# Pin
MOR8911-Nov-12 6:26
MOR8911-Nov-12 6:26 
AnswerRe: selection of similar words in textbox c# Pin
Dave Kreskowiak11-Nov-12 7:09
mveDave Kreskowiak11-Nov-12 7:09 
GeneralRe: selection of similar words in textbox c# Pin
MOR8912-Nov-12 4:39
MOR8912-Nov-12 4:39 
GeneralRe: selection of similar words in textbox c# Pin
Dave Kreskowiak12-Nov-12 4:50
mveDave Kreskowiak12-Nov-12 4:50 
QuestionXML Serialization with large objects Pin
Kishore Hyd10-Nov-12 12:31
Kishore Hyd10-Nov-12 12:31 
AnswerRe: XML Serialization with large objects Pin
Eddy Vluggen10-Nov-12 23:35
professionalEddy Vluggen10-Nov-12 23:35 
QuestionInheritance of an Abstract Class Pin
ASPnoob10-Nov-12 10:45
ASPnoob10-Nov-12 10:45 
AnswerRe: Inheritance of an Abstract Class Pin
Mycroft Holmes10-Nov-12 13:21
professionalMycroft Holmes10-Nov-12 13:21 
AnswerRe: Inheritance of an Abstract Class Pin
Alan N10-Nov-12 13:27
Alan N10-Nov-12 13:27 
GeneralRe: Inheritance of an Abstract Class Pin
ASPnoob10-Nov-12 14:24
ASPnoob10-Nov-12 14:24 
AnswerRe: Inheritance of an Abstract Class Pin
Richard Deeming12-Nov-12 2:09
mveRichard Deeming12-Nov-12 2:09 
QuestionC# issue: connection string to app.config file Pin
rachel_m10-Nov-12 8:05
rachel_m10-Nov-12 8:05 

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.