Click here to Skip to main content
       

C#

 
QuestionAny latest good books or tutorial on WPF-MVVM ? PinmemberVijay Kanda11-Nov-12 19:19 
AnswerRe: Any latest good books or tutorial on WPF-MVVM ? PinmvpAbhinav S11-Nov-12 19:43 
GeneralRe: Any latest good books or tutorial on WPF-MVVM ? PinmemberVijay Kanda11-Nov-12 20:32 
QuestionThe input stream is not a valid binary format. PinmemberRB@Emphasys11-Nov-12 18:53 
GeneralRe: The input stream is not a valid binary format. PinmemberEddy Vluggen12-Nov-12 0:56 
GeneralRe: The input stream is not a valid binary format. PinmemberRB@Emphasys12-Nov-12 1:42 
AnswerRe: The input stream is not a valid binary format. PinmemberEnnis Ray Lynch, Jr.12-Nov-12 6:44 
QuestionApp.Config PinmemberAduu11-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 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
 
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 [modified] PinmemberSuper Lloyd11-Nov-12 16:23 
AnswerRe: App.Config Pinmemberryanb3112-Nov-12 5:30 
AnswerRe: App.Config PinmemberSimon_Whale12-Nov-12 5:49 
Questionis Windows-8 can run Webservice that work with FrameWork3.5? Pinmembergoldsoft11-Nov-12 9:08 
AnswerRe: is Windows-8 can run Webservice that work with FrameWork3.5? PinmemberEddy Vluggen11-Nov-12 11:17 
Questionselection of similar words in textbox c# PinmemberMOR8911-Nov-12 6:26 
AnswerRe: selection of similar words in textbox c# PinmvpDave Kreskowiak11-Nov-12 7:09 
GeneralRe: selection of similar words in textbox c# PinmemberMOR8912-Nov-12 4:39 
GeneralRe: selection of similar words in textbox c# PinmvpDave Kreskowiak12-Nov-12 4:50 
QuestionXML Serialization with large objects [modified] PinmemberKishore Hyd10-Nov-12 12:31 
AnswerRe: XML Serialization with large objects PinmemberEddy Vluggen10-Nov-12 23:35 
QuestionInheritance of an Abstract Class [modified] PinmemberASPnoob10-Nov-12 10:45 
AnswerRe: Inheritance of an Abstract Class PinmemberMycroft Holmes10-Nov-12 13:21 
AnswerRe: Inheritance of an Abstract Class PinmemberAlan N10-Nov-12 13:27 
GeneralRe: Inheritance of an Abstract Class PinmemberASPnoob10-Nov-12 14:24 
AnswerRe: Inheritance of an Abstract Class PinmemberRichard Deeming12-Nov-12 2:09 
QuestionC# issue: connection string to app.config file Pinmemberrachel_m10-Nov-12 8:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 25 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid