Click here to Skip to main content
15,898,222 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: webservice - copy file to remote server Pin
kubben28-Jun-07 8:56
kubben28-Jun-07 8:56 
QuestionHow to called server side function on onblur event of textbox Pin
rahul.net1128-Jun-07 5:58
rahul.net1128-Jun-07 5:58 
AnswerRe: How to called server side function on onblur event of textbox Pin
kubben28-Jun-07 9:01
kubben28-Jun-07 9:01 
AnswerRe: How to called server side function on onblur event of textbox Pin
Schatak24-May-11 1:14
professionalSchatak24-May-11 1:14 
QuestionASP Menu Item Pin
gavthegenius28-Jun-07 5:48
gavthegenius28-Jun-07 5:48 
AnswerRe: ASP Menu Item Pin
martin_hughes28-Jun-07 7:29
martin_hughes28-Jun-07 7:29 
QuestionSystem Information Pin
oskardiazdeleon28-Jun-07 5:41
oskardiazdeleon28-Jun-07 5:41 
QuestionnLog Help needed Pin
Ridge Howison28-Jun-07 5:26
Ridge Howison28-Jun-07 5:26 
Hi,


Iam using nLog logger tool in my ASP.NET application to log my events and errors.Iam new to NLog and just learning the basics. I want to log events to my database and for my application I have to also log the customerid which i get on my form for every log. How do I go about it ? This is what I have in my config file.
<targets>
<target name="database" type="Database">
<dbProvider>mssql</dbProvider>
<dbHost>HOSTNAME</dbHost>
<dbDatabase>DBNAME</dbDatabase>
<dbUserName>USERID</dbUserName>
<dbPassword>PASSWORD</dbPassword>
<commandText>INSERT INTO LOG(LOG.DATE,LOG.LEVEL,LOG.LOGGER,LOG.MESSAGE) VALUES(@time_stamp,@level,@logger,@message);</commandText>
<parameter name="@time_stamp" layout="${date:format=yyyy-MM-dd HH\:mm\:ss}" />
<parameter name="@level" layout="${level}" />
<parameter name="@logger" layout="${logger}" />
<parameter name="@message" layout="${message}" />
</target>
</targets>

This works just fine. I want to add another column to the Log table called CustomerID, how do i change the config file and how do i use it in my code. Example would be great !! Iam using VB.NET and VS 2005

Thanks
RH
Questiondelete confirm in datagrid with vb asp.net Pin
DonVBguy28-Jun-07 4:56
DonVBguy28-Jun-07 4:56 
AnswerRe: delete confirm in datagrid with vb asp.net Pin
Fred_Smith28-Jun-07 7:42
Fred_Smith28-Jun-07 7:42 
GeneralRe: delete confirm in datagrid with vb asp.net Pin
DonVBguy28-Jun-07 10:21
DonVBguy28-Jun-07 10:21 
GeneralRe: delete confirm in datagrid with vb asp.net Pin
Fred_Smith28-Jun-07 10:46
Fred_Smith28-Jun-07 10:46 
Questionon focus out event for asp:textbox Pin
rahul.net1128-Jun-07 3:59
rahul.net1128-Jun-07 3:59 
AnswerRe: on focus out event for asp:textbox Pin
Senseicads28-Jun-07 4:55
Senseicads28-Jun-07 4:55 
GeneralRe: on focus out event for asp:textbox Pin
rahul.net1128-Jun-07 6:00
rahul.net1128-Jun-07 6:00 
GeneralRe: on focus out event for asp:textbox Pin
Senseicads28-Jun-07 6:02
Senseicads28-Jun-07 6:02 
GeneralRe: on focus out event for asp:textbox Pin
rahul.net1128-Jun-07 6:24
rahul.net1128-Jun-07 6:24 
GeneralRe: on focus out event for asp:textbox Pin
Senseicads28-Jun-07 6:44
Senseicads28-Jun-07 6:44 
GeneralRe: on focus out event for asp:textbox Pin
rahul.net1128-Jun-07 7:15
rahul.net1128-Jun-07 7:15 
QuestionRegular Expression for Date Pin
Khan.Bangash28-Jun-07 3:38
Khan.Bangash28-Jun-07 3:38 
AnswerRe: Regular Expression for Date Pin
Sathesh Sakthivel28-Jun-07 3:41
Sathesh Sakthivel28-Jun-07 3:41 
GeneralRe: Regular Expression for Date Pin
Khan.Bangash28-Jun-07 3:46
Khan.Bangash28-Jun-07 3:46 
GeneralRe: Regular Expression for Date Pin
Sathesh Sakthivel28-Jun-07 3:52
Sathesh Sakthivel28-Jun-07 3:52 
GeneralRe: Regular Expression for Date Pin
Khan.Bangash28-Jun-07 3:57
Khan.Bangash28-Jun-07 3:57 
GeneralRe: Regular Expression for Date Pin
Sathesh Sakthivel28-Jun-07 3:59
Sathesh Sakthivel28-Jun-07 3: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.