Hi,
I have a simple web page as below named eventviewer.aspx. I host it in a server under the default website and when i browse it from the INETMGR it opens and displays teh events.
But when i try to open it from another machine, by reqyestiung the page, it just shows the heading and not the grid. Can you provide some inputs??
<% @Page Language="C#" %>
<% @Import Namespace="System.Diagnostics" %>
<script language="C#" runat="server">
void Page_Load(Object sender, EventArgs e)
{
BindGrid();
}
void LogGrid_Change(Object sender, DataGridPageChangedEventArgs e)
{
// Set CurrentPageIndex to the page the user clicked.
LogGrid.CurrentPageIndex = e.NewPageIndex;
// Rebind the data.
BindGrid();
}
void BindGrid()
{
Response.Write("adadasdadada");
EventLog aLog = new EventLog();
aLog.Log ...
Go to the complete details ...