This example shows the use of the GridDeleteButtons property.
    LastName FirstName BirthDate
1 Davolio Nancy 12/8/1948
2 Fuller Andrew 2/19/1952
3 Leverling Janet 8/30/1963
4 Peacock Margaret 9/19/1937
5 Buchanan Steven 3/4/1955
LastName Davolio
FirstName Nancy
Title Sales Representative
BirthDate 12/8/1948
This is the code implementing the example:
<!--#include file="VBSdb/inc.asp"-->
<%
   VbsDbNew objVbsDb
   objVbsDb( "MdbPath" ) = "data/nwind.mdb"
   objVbsDb( "Sql" ) = "select LastName,FirstName,Title,BirthDate from Employees"
   objVbsDb( "GridHideFields" ) = "Title"
   objVbsDb( "EditTableName" ) = "Employees"
   objVbsDb( "EditKeyFields" ) = "LastName;FirstName;BirthDate"
   objVbsDb( "GlobalImageDir" ) = "VBSdb/images"
   objVbsDb( "GridUpdateButtons" ) = true
   objVbsDb( "GridDeleteButtons" ) = true
   VbsDb objVbsDb
%>
This demonstrative program connects to Nwind.mdb, the well known Microsoft Access sample database: the names of companies, products, people, characters, and/or data mentioned herein are fictious and are in no way intended to represent any real individual, company, product, or event. To download a copy of Nwind.mdb, please visit Microsoft's site.