I want following code using C# and ASP.NET 2.0?
1. How to read log file which is located in directory(C:\WINDOWS\system32\Logfiles\W3SVC1) using C# and ASP.NET 2.0?
2. How to store the content of that log file in database using SQL Server 2000?
Log file contain following information. I want to store that information in database.
Information like-
IIS version, Client IP Address, Access Time, Date, OS used by client, etc.
Please give me detailed procedure for this.
I will be thankful if anyone provide me such code.