Click here to Skip to main content
15,908,013 members
Home / Discussions / C#
   

C#

 
AnswerRe: Return key Pin
stancrm20-Jul-06 0:28
stancrm20-Jul-06 0:28 
AnswerRe: Return key Pin
albCode20-Jul-06 0:42
albCode20-Jul-06 0:42 
QuestionDataSet/DataTable from ListView Control Pin
satsumatable19-Jul-06 22:26
satsumatable19-Jul-06 22:26 
AnswerRe: DataSet/DataTable from ListView Control Pin
Ed.Poore19-Jul-06 22:28
Ed.Poore19-Jul-06 22:28 
GeneralRe: DataSet/DataTable from ListView Control Pin
satsumatable19-Jul-06 23:44
satsumatable19-Jul-06 23:44 
GeneralRe: DataSet/DataTable from ListView Control Pin
Ed.Poore20-Jul-06 12:08
Ed.Poore20-Jul-06 12:08 
QuestionOutlook: print with/without attachments [modified] Pin
mariogc19-Jul-06 21:56
mariogc19-Jul-06 21:56 
QuestionDAAB Question Pin
Brendan Vogt19-Jul-06 21:50
Brendan Vogt19-Jul-06 21:50 
Hi,

I'm using Microsoft's DAAB, and I am just a bit confused as to what variables I must "dereference".

I have the following peace of code (not all code is shown):

Database db = DBHelper.GetDefaultDatabase;

using (dbCommand = db.GetStoredProcCommand("sp_OrderTypes_GetAllOrderTypes"))
{
using (rdr = db.ExecuteReader(dbCommand))
{
while (rdr.Read())
{
....
}
}
}

The rdr and dbCommand variables are taken care of by the using block, but what about the db variable? Is it ok as it is? Don't I have to close or "dereference" it anywhere?

Please can someone help with my confusion.

Thanks
ma se
AnswerRe: DAAB Question Pin
Stefan Troschuetz19-Jul-06 22:12
Stefan Troschuetz19-Jul-06 22:12 
QuestionHow to make Windows service interactive in .net 2.0 Please help ??? Pin
Waqas Nasir19-Jul-06 21:32
Waqas Nasir19-Jul-06 21:32 
AnswerRe: How to make Windows service interactive in .net 2.0 Please help ??? [modified] Pin
Mike Dimmick20-Jul-06 0:04
Mike Dimmick20-Jul-06 0:04 
Questioncontrol label Pin
aqui_i19-Jul-06 21:30
aqui_i19-Jul-06 21:30 
AnswerRe: control label Pin
Christian Graus19-Jul-06 21:37
protectorChristian Graus19-Jul-06 21:37 
QuestionRe: control label Pin
Martin#19-Jul-06 22:38
Martin#19-Jul-06 22:38 
AnswerRe: control label Pin
Mike Dimmick20-Jul-06 0:07
Mike Dimmick20-Jul-06 0:07 
AnswerRe: control label Pin
Christian Graus20-Jul-06 0:50
protectorChristian Graus20-Jul-06 0:50 
GeneralRe: control label [modified] Pin
Martin#20-Jul-06 1:14
Martin#20-Jul-06 1:14 
GeneralRe: control label Pin
J4amieC20-Jul-06 1:25
J4amieC20-Jul-06 1:25 
GeneralRe: control label Pin
Martin#20-Jul-06 1:42
Martin#20-Jul-06 1:42 
GeneralRe: control label Pin
Martin#20-Jul-06 1:05
Martin#20-Jul-06 1:05 
QuestionRe: control label [modified] Pin
Martin#20-Jul-06 1:08
Martin#20-Jul-06 1:08 
AnswerRe: control label Pin
Christian Graus20-Jul-06 9:20
protectorChristian Graus20-Jul-06 9:20 
GeneralRe: control label Pin
Martin#20-Jul-06 20:17
Martin#20-Jul-06 20:17 
Questionmonitoring running process Pin
Gulfaraz19-Jul-06 21:29
Gulfaraz19-Jul-06 21:29 
AnswerRe: monitoring running process Pin
RizwanSharp19-Jul-06 21:58
RizwanSharp19-Jul-06 21:58 

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.