I'm disappointed to see that no one answered this accurately. Maybe the question wasn't clear enough.
The <asp:table> represents the declarative syntax for the System.Web.UI.WebControls.Table class which is a WebControl. Being a WebControl, it has a much more powerful programming interface and provides a more object like interface providing for a high level of control. The <table> tag on the other hand when used with the runat="server" attribute represents the System.Web.UI.HtmlControls.HtmlTable class which is a HtmlControl. Being a HtmlControl, it is very basic and provides much lesser programmatic control over it's properties. That said, I almost always prefer simple HtmlTables because they're much lighter. I normally do not need to build elaborate table structures in the code. As Brandon mentioned, however, if you're structuring your page with Tables, you're obsolete. Try CSS and DIV's. On Nov 26, 10:52 am, Sreenivas <[EMAIL PROTECTED]> wrote: > Hi everybody , > I am new to dotnet , I would like to know the > difference between <asp:table> and > <table> tags ,I dont know which i should prefer to other?
