Click here to Skip to main content
16,005,734 members
Home / Discussions / C#
   

C#

 
QuestionLog4net: one loggfile a day Pin
stephan_00710-Feb-09 1:49
stephan_00710-Feb-09 1:49 
QuestionIdea for reading ad writing at the same time Pin
Admin88710-Feb-09 1:38
Admin88710-Feb-09 1:38 
AnswerRe: Idea for reading ad writing at the same time Pin
musefan10-Feb-09 1:45
musefan10-Feb-09 1:45 
GeneralRe: Idea for reading ad writing at the same time Pin
Admin88710-Feb-09 2:01
Admin88710-Feb-09 2:01 
GeneralRe: Idea for reading ad writing at the same time Pin
musefan10-Feb-09 2:09
musefan10-Feb-09 2:09 
GeneralRe: Idea for reading ad writing at the same time Pin
Admin88710-Feb-09 2:22
Admin88710-Feb-09 2:22 
GeneralRe: Idea for reading ad writing at the same time Pin
musefan10-Feb-09 2:31
musefan10-Feb-09 2:31 
QuestionObject casting Pin
Mycroft Holmes10-Feb-09 1:20
professionalMycroft Holmes10-Feb-09 1:20 
I have a solution with various projects, normally I gather the logon credentials via the UI and settings and pass 1 copy to the DAL. In this project there will be multiple DAL implementations all requiring a set of credentials. Credentials is declared as a class in the intermediate layer (server,DB,User & password) which is referenced by the UI.

Now I have the requirement of passing the creds to many objects which do not reference where the Credentials class resides. I initially created a copy of the Credentials class in the target object and attempted to pass Credentials as an object and then converting to the local Credentials type.

DAL.Server = (Creds as Credentials).Server;

This gets an error to use NEW. Creds is an object and has data in it.

Any recommendations on how to do this properly

Never underestimate the power of human stupidity
RAH

AnswerRe: Object casting Pin
SeMartens10-Feb-09 2:14
SeMartens10-Feb-09 2:14 
GeneralRe: Object casting Pin
Mycroft Holmes10-Feb-09 12:08
professionalMycroft Holmes10-Feb-09 12:08 
GeneralRe: Object casting Pin
Mycroft Holmes10-Feb-09 13:20
professionalMycroft Holmes10-Feb-09 13:20 
Questionproblem occurred while working with ce 5. Pin
prasadbuddhika9-Feb-09 23:51
prasadbuddhika9-Feb-09 23:51 
QuestionAssembly.LoadFile Question Pin
Programm3r9-Feb-09 23:07
Programm3r9-Feb-09 23:07 
AnswerRe: Assembly.LoadFile Question Pin
Programm3r9-Feb-09 23:13
Programm3r9-Feb-09 23:13 
GeneralRe: Assembly.LoadFile Question Pin
J4amieC9-Feb-09 23:20
J4amieC9-Feb-09 23:20 
JokeRe: Assembly.LoadFile Question Pin
musefan9-Feb-09 23:27
musefan9-Feb-09 23:27 
GeneralRe: Assembly.LoadFile Question Pin
Pete O'Hanlon9-Feb-09 23:32
mvePete O'Hanlon9-Feb-09 23:32 
GeneralRe: Assembly.LoadFile Question Pin
musefan9-Feb-09 23:35
musefan9-Feb-09 23:35 
QuestionHow to find the child nodes in treeview. Pin
Gonxh Aniket9-Feb-09 23:06
Gonxh Aniket9-Feb-09 23:06 
AnswerRe: How to find the child nodes in treeview. Pin
musefan9-Feb-09 23:12
musefan9-Feb-09 23:12 
AnswerRe: How to find the child nodes in treeview. Pin
Kaushal Arora9-Feb-09 23:30
Kaushal Arora9-Feb-09 23:30 
GeneralRe: How to find the child nodes in treeview. Pin
musefan9-Feb-09 23:45
musefan9-Feb-09 23:45 
AnswerRe: How to find the child nodes in treeview. Pin
Abdul Rahman Hamidy10-Feb-09 1:02
Abdul Rahman Hamidy10-Feb-09 1:02 
QuestionCombobox Selection from Sql Pin
boiDev9-Feb-09 22:44
boiDev9-Feb-09 22:44 
AnswerRe: Combobox Selection from Sql Pin
musefan9-Feb-09 22:59
musefan9-Feb-09 22:59 

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.