| dbImagrDir |
dbImageDir is used by ASP-DB throughout to locate image files for button, bar charts etc. For example, if the current directory is datafile and the image directory is images then dbImageDir="../images". This is a system directory and do not mix it up with your application images.
| Property Syntax |
Obj.dbImageDir = "Location of virtual directory that holds the image files from the executing asp file"
| Example |
| <% Set X=Server.CreateObject("ASP.DB") X.dbUnit=5 X.dbDSN="Nwind" X.dbMode="grid" X.dbGridInc=5 X.dbColor="3" X.dbNavigationIcon="std" X.dbImageDir="images/" X.dbDBType="ACCESS" X.dbSQL="SELECT OrderID, CustomerID, EmployeeID FROM Orders" X.ASPdb Set Y=Server.CreateObject("AspDB.EP") Y.dbQuickProps="2;NWIND;;Grid;6;std;images/;ACCESS;5" Y.dbSQL="SELECT OrderID, CustomerID, EmployeeID FROM Orders" Y.ASPdb %> |
| Output |
![]() |