index | search | no replies | posting guidelines | help | login | register |
Index » Products » ASP DataGrid |
| |||||||
Feb 20 2005, 10:55 AM |
| ||||||
ray_mayukh since: Feb 20, 2005 from: Calcutta, India | I am getting this error message while using Datagrid object (When i click on the link like EXCEL,DOC,XML)--- Command text was not set for the command object I am using this object in Win 98 with PWS and MDAC 2.8 Environment | ||||||
Feb 20 2005, 4:27 PM |
| ||||||
whichman from: Laurel, MD | What version of the AWSReportWizard2.dll are you using? Also make sure that your datagrid is not within any <form></form> tags. ------------------------- Master of the Game | ||||||
Feb 22 2005, 9:00 PM |
| ||||||
ray_mayukh since: Feb 20, 2005 from: Calcutta, India | I am using Report wizard version 2 which i download from ur site. I also does not use it with in the <form></form> tag | ||||||
Feb 24 2005, 11:06 AM |
| ||||||
ghost from: Washington, DC | Make sure you create your connection before adding any HTML tags to your .asp page as shown below: <% 'decalre your object Dim objGrid 'create an instance Set objGrid = Server .CreateObject("AspWebSolution.DataGrid" ) 'set your parameters With objGrid 'Set your command statement .Command = "SELECT * FROM Orders" 'set other parameters if required .ShowInactiveButtons = True End With 'Create a databse connection objWiz.CreateConnection(strConn) %> <html> <head><title>Inventory Reports</title></head> <body> <% 'Display the data grid objGrid.Display Set objGrid = Nothing %> </body> </html> ------------------------- Ghost | ||||||
Pages: (1) [1] |