scharkmann
New Member
I'm using Quick sharp, a light weight IDE for .NET and I'm trying to create an ASP.NET web application. It's not recognizing my web controls in my code behind file!Code behind code:\[code\]tab.DataSource=table;tab.DataBind();\[/code\].ASPX file:\[code\]<%@ Page Language="C#" AutoEventWireup="true" Inherits="QuickSharp.Ranking" CodeBehind="Ranking.aspx.cs" %><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head runat="server"> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <link type="text/css" rel="stylesheet" href="http://stackoverflow.com/questions/15597259/Site.css" /> </head><body> <form id="inputrank" runat="server"> <asp:GridView id="tab" runat="server"> </asp:GridView> </form></body></html>\[/code\]The error is "tab does not exist in the current context"