Assembly: System.Web (in system.web.dll)
The DataControlCommands class contains public fields for data-bound control command names. The class constructor is private, so you cannot create an instance of the class; however, because it only contains const string resources, you can use it and its public fields just as you would any static class.
Using the command names of the DataControlCommands class enables all the ASP.NET data-bound controls and their respective designer classes to use the same string resources for common commands, such as "Edit" or "Update", and correctly handle events posted by an IPostBackEventHandler instance. The following classes use the DataControlCommands:
- AspNetHostingPermission for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.