| | |
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 barchart bitmap box broadcast c# check checkbox client combobox control conversion csharp custom customactiondata database datagrid datagridview dataset datastructure date/time datetime datetimepicker degrees development dll draganddrop drawing encryption enum event excel file filename files form format forms function gdi+ gis gtk hash httpwebrequest image index input install java label list listbox mandelbrot math mouseclick mysql operator outlook2003 path photoshop picturebox pixelinversion pixelminversion post programming radians regex remoting richtextbox server sleep snooze socket sql statistics stream string table tables tcp text textbox thread time timer update usercontrol usercontrols validation visualstudio webbrowser webcam wia windows winforms wpf xml






