I just have simple grid view which i dragged and dropped on the design page. I tried running it but it is not displaying it
Steps I took to resolve:
I tired binding the data-Still no luck
I thought i could be some issue with my VS2010-Tried Repairing it still no luck
Tried opening Chrome Browser--Displays empty page as it did in IE
I am not sure what is the problem can anyone help me on this
I tried changing the couple of properties on gridview ,AllowPaging,AutogenerateDelete/edit--still not working
DesignPage
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="GridView._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:GridView ID="gvEmpdata" runat="server">
</asp:GridView>
</div>
</form>
</body>
</html>
Code-Behind Page
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace GridView
{
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}