Posts

Showing posts with the label Dynamic Controls

Creating Dynamic Tables in Code Behind File

Create Panel in .aspx.......                                                23-Sep-2011 <asp:Panel ID="pnTable" runat="server">     </asp:Panel> Code Behind File...... using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; using System.Data; using System.Configuration; public partial class DyanmicTable : System.Web.UI.Page {     string connection = Convert.ToString(ConfigurationManager.ConnectionStrings["Test"].ConnectionString);     protected void Page_Load(object sender, EventArgs e)     {         SqlConnection conn ...