[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 164
  • Last Modified:

Add/Delete DBGrid ColumnFields

With DBGrid
how do I Add and Delete FieldsColumns in Run-time?
0
rainbowsoftware
Asked:
rainbowsoftware
1 Solution
 
MatveyCommented:
To add use   DBGrid1.Columns.Add

To remove use   DBGrid1.Columns[i].Destroy;

--Matvey
0
 
rainbowsoftwareAuthor Commented:
I have tried Delete and Erase but not Destroy, so thank you for your help.
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now