Click here to Skip to main content
15,885,757 members
Home / Discussions / C#
   

C#

 
QuestionHow to transfer data without using dataset Pin
Ersan Ercek19-Jun-09 1:53
Ersan Ercek19-Jun-09 1:53 
AnswerRe: How to transfer data without using dataset Pin
Not Active19-Jun-09 2:10
mentorNot Active19-Jun-09 2:10 
GeneralRe: How to transfer data without using dataset Pin
SilimSayo19-Jun-09 2:16
SilimSayo19-Jun-09 2:16 
GeneralRe: How to transfer data without using dataset Pin
Not Active19-Jun-09 2:35
mentorNot Active19-Jun-09 2:35 
GeneralRe: How to transfer data without using dataset Pin
Ersan Ercek19-Jun-09 4:31
Ersan Ercek19-Jun-09 4:31 
GeneralRe: How to transfer data without using dataset Pin
Not Active19-Jun-09 5:06
mentorNot Active19-Jun-09 5:06 
GeneralRe: How to transfer data without using dataset Pin
Ersan Ercek24-Jun-09 5:37
Ersan Ercek24-Jun-09 5:37 
QuestionEventLog logging with log4net Pin
Jammer19-Jun-09 1:08
Jammer19-Jun-09 1:08 
Hi All,

I've been poking around Google / Apache.org trying to get to the bottom of this with no luck. There isn't a lot of info anywhere on configuring log4net using pure C# so I thought I'd try here now.

I can log to the "Application" log with no problems. I can also create "MyLog" event log without problems as well, however, writing to "MyLog" fails to actually write an event log entry. The code I'm using to configure an EventLogAppener is:

public static void ConfigureEventLogAppender(string appName, string logName)
{
PatternLayout layout = GetDefaultLayout();
_eventLogAppender = new EventLogAppender();
_eventLogAppender.ApplicationName = appName;
_eventLogAppender.Layout = layout;
_eventLogAppender.LogName = logName;
_eventLogAppender.Threshold = Level.All;
_eventLogAppender.ActivateOptions();

BasicConfigurator.Configure(_eventLogAppender);
}

Has anyone managed to get this working?

Cheers,


QuestionCheck system date when form load Pin
KIDYA19-Jun-09 1:03
KIDYA19-Jun-09 1:03 
AnswerRe: Check system date when form load Pin
Manas Bhardwaj19-Jun-09 1:10
professionalManas Bhardwaj19-Jun-09 1:10 
AnswerRe: Check system date when form load Pin
dan!sh 19-Jun-09 1:14
professional dan!sh 19-Jun-09 1:14 
JokeRe: Check system date when form load Pin
Eddy Vluggen19-Jun-09 1:19
professionalEddy Vluggen19-Jun-09 1:19 
GeneralRe: Check system date when form load Pin
dan!sh 19-Jun-09 1:28
professional dan!sh 19-Jun-09 1:28 
GeneralRe: Check system date when form load Pin
KIDYA19-Jun-09 1:39
KIDYA19-Jun-09 1:39 
GeneralRe: Check system date when form load Pin
harold aptroot19-Jun-09 2:45
harold aptroot19-Jun-09 2:45 
GeneralRe: Check system date when form load Pin
PIEBALDconsult19-Jun-09 6:58
mvePIEBALDconsult19-Jun-09 6:58 
GeneralRe: Check system date when form load Pin
harold aptroot19-Jun-09 1:31
harold aptroot19-Jun-09 1:31 
QuestionDatagridview shows same record again Pin
KIDYA18-Jun-09 23:48
KIDYA18-Jun-09 23:48 
AnswerRe: Datagridview shows same record again Pin
Christian Graus18-Jun-09 23:50
protectorChristian Graus18-Jun-09 23:50 
AnswerRe: Datagridview shows same record again Pin
padmanabhan N19-Jun-09 0:46
padmanabhan N19-Jun-09 0:46 
AnswerRe: Datagridview shows same record again Pin
CrazyCoder2619-Jun-09 2:14
CrazyCoder2619-Jun-09 2:14 
QuestionSet Control Values on Form from other class Pin
Programm3r18-Jun-09 23:46
Programm3r18-Jun-09 23:46 
AnswerRe: Set Control Values on Form from other class Pin
Christian Graus18-Jun-09 23:49
protectorChristian Graus18-Jun-09 23:49 
GeneralRe: Set Control Values on Form from other class Pin
dan!sh 18-Jun-09 23:57
professional dan!sh 18-Jun-09 23:57 
GeneralRe: Set Control Values on Form from other class Pin
Christian Graus18-Jun-09 23:59
protectorChristian Graus18-Jun-09 23: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.