| | |
Creating Columns At Runtime
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Apr 2008
Posts: 75
Reputation:
Solved Threads: 0
I m creating columns at runtime,I want to know how add delete & edit buttons in each row & to create them at runtime..Foll code create columns at runtime -
C# Syntax (Toggle Plain Text)
protected void Page_Load(object sender, EventArgs e) { try { if (!IsPostBack) { DataTable dt = new DataTable(); dt.Columns.Add("SNo"); dt.Columns.Add("First Name"); dt.Columns.Add("Last Name"); dt.Columns.Add("EMail"); dt.Columns.Add("Address"); dt.Columns.Add("Phone No"); } } catch (Exception ex) { Label1.Text = ex.Message.ToString(); } }
![]() |
Similar Threads
- Creating an Executable in runtime (C++)
- Hiding DataGridview Columns runtime (C#)
- creating table at runtime in msaccess (Visual Basic 4 / 5 / 6)
- creating database in runtime (Visual Basic 4 / 5 / 6)
- SQL TimeStamp in DataViewGrid (C#)
- LocalReport show/hide columns in report (ASP.NET)
- Creating controls during runtime (VB.NET)
- Pls Help me creating a page in runtime.. pls.. (ASP.NET)
- Creating ENUM Runtime (Visual Basic 4 / 5 / 6)
- Creating controls in runtime? (C#)
Other Threads in the C# Forum
- Previous Thread: Upload PDF, Zip, DOC, any file type to MS SQL DB
- Next Thread: Text file encoding
| Thread Tools | Search this Thread |
.net access algorithm array asp.net barchart bitmap box broadcast c# check checkbox client combobox control conversion csharp custom database databaseconnection datagrid datagridview dataset datetime dbconnection degrees design development draganddrop drawing encryption enum event eventhandlers excel file firefox form format forms function gdi+ grantorrevokepermissionthroughc#.net httpwebrequest image index input install java label libraries list listbox loop mandelbrot marshalbyrefobject math mouseclick movingimage mysql mysql.data.client operator path photoshop php picturebox pixelinversion post programming radians regex remoting resourcefile richtextbox server sleep socket sql statistics stream string study system.servicemodel table tcpclientchannel text textbox thread time timer update usercontrol validation visualstudio webbrowser windows winforms wpf wpfc# xml






