Click here to Skip to main content
15,887,676 members
Home / Discussions / C#
   

C#

 
QuestionHow i Create connection module whish take DataSource from txt Pin
shafikshafik21-Aug-07 22:01
shafikshafik21-Aug-07 22:01 
Questionneeds advice in xmlserialize arraylist. [modified] Pin
cyn821-Aug-07 21:43
cyn821-Aug-07 21:43 
AnswerRe: needs advice in xmlserialize arraylist. Pin
Hessam Jalali22-Aug-07 0:26
Hessam Jalali22-Aug-07 0:26 
Question[Message Deleted] Pin
svignesh21-Aug-07 21:29
svignesh21-Aug-07 21:29 
AnswerRe: Connection string Pin
Giorgi Dalakishvili21-Aug-07 21:59
mentorGiorgi Dalakishvili21-Aug-07 21:59 
AnswerRe: Connection string Pin
J4amieC21-Aug-07 22:00
J4amieC21-Aug-07 22:00 
QuestionHow to use Syste,.data.common.DbConnection variable ? Pin
nicolus21-Aug-07 21:24
nicolus21-Aug-07 21:24 
AnswerRe: How to use Syste,.data.common.DbConnection variable ? Pin
Talal Sultan21-Aug-07 21:31
Talal Sultan21-Aug-07 21:31 
The problem is that your object mConnection has not been instantiated. You need to instantiate a class to be able to use it. Instantiating means creating an instance, exactly what the exception message is telling you Smile | :) You do this by calling the constructor of the class.

// Create the class mConnection. Now the class has a place in memory.
public Dbconnection mConnection = new DbConnection();
mConnection.ConnectionString = value; // this should work now as the class exists.

Voila Smile | :)

Talal

-- If this is a post that has been helpful to you, please vote for it. Thank you!

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook

GeneralRe: How to use Syste,.data.common.DbConnection variable ? Pin
Colin Angus Mackay21-Aug-07 22:22
Colin Angus Mackay21-Aug-07 22:22 
GeneralRe: How to use Syste,.data.common.DbConnection variable ? Pin
Talal Sultan21-Aug-07 22:33
Talal Sultan21-Aug-07 22:33 
GeneralRe: How to use Syste,.data.common.DbConnection variable ? Pin
Vasudevan Deepak Kumar21-Aug-07 23:40
Vasudevan Deepak Kumar21-Aug-07 23:40 
AnswerRe: How to use Syste,.data.common.DbConnection variable ? Pin
Nissim Salomon21-Aug-07 21:56
Nissim Salomon21-Aug-07 21:56 
AnswerRe: How to use Syste,.data.common.DbConnection variable ? Pin
nicolus21-Aug-07 22:19
nicolus21-Aug-07 22:19 
QuestionListbox control Pin
Ankit Aneja21-Aug-07 21:20
Ankit Aneja21-Aug-07 21:20 
AnswerRe: Listbox control Pin
Giorgi Dalakishvili21-Aug-07 22:01
mentorGiorgi Dalakishvili21-Aug-07 22:01 
GeneralRe: Listbox control Pin
Ankit Aneja21-Aug-07 23:51
Ankit Aneja21-Aug-07 23:51 
GeneralRe: Listbox control Pin
Giorgi Dalakishvili22-Aug-07 0:02
mentorGiorgi Dalakishvili22-Aug-07 0:02 
AnswerRe: Listbox control Pin
Hessam Jalali21-Aug-07 22:09
Hessam Jalali21-Aug-07 22:09 
GeneralRe: Listbox control Pin
Ankit Aneja22-Aug-07 0:53
Ankit Aneja22-Aug-07 0:53 
GeneralRe: Listbox control Pin
Hessam Jalali22-Aug-07 1:12
Hessam Jalali22-Aug-07 1:12 
GeneralRe: Listbox control Pin
Hessam Jalali22-Aug-07 1:17
Hessam Jalali22-Aug-07 1:17 
QuestionIdentifying file is in use Pin
N a v a n e e t h21-Aug-07 21:16
N a v a n e e t h21-Aug-07 21:16 
AnswerRe: Identifying file is in use Pin
Giorgi Dalakishvili21-Aug-07 22:03
mentorGiorgi Dalakishvili21-Aug-07 22:03 
GeneralRe: Identifying file is in use Pin
Martin#21-Aug-07 22:24
Martin#21-Aug-07 22:24 
GeneralRe: Identifying file is in use Pin
Giorgi Dalakishvili21-Aug-07 22:26
mentorGiorgi Dalakishvili21-Aug-07 22:26 

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.