Quality Interior Design
 
EzTools Software Logo Quality Windows Programming Tools
Because Presentation is Everything
   See how to build Dynamic WPF
User Interfaces with EasyScript
 
Home  Downloads  Buy Support Services About Us

SQLitePlus Grid ActiveX Control

 

Product Quicklist  
  Database Products
SQLitePlus & SQLite++  
Database Explorer  
COM DLL  
SQLite++  
Compression & Encryption  
Stored Scripts  
Grid ActiveX  
FAQ  
Licensing  
SQLite.NET DLL  
SqlWeb COM DLL  
  HSP System
Overview  
HTML Scripting Pages  
EzWeb Compiler  
EzWeb Copy Protection  
  ActiveX & .NET Components
EditListView Enhanced ListView  
WOW WebBrowser  
BrowserList HTML Listbox  
HotButton ActiveX  
HotLink HTML HyperLink  
HotList HTML Listbox  
SuperCombo HTML Droplist  
TabStrip ActiveX  
  Other Products
Simple XML Editor  
RegDb COM DLL  
Zip COM DLL  
EzComm Messaging DLL  
EasyScript.NET  

 

One of the first things you will probably need to do with SQLitePlus is display query results in your application.  If you are not using our WOW control with HSP, or if you need a Grid control, then you should consider using the SQLitePlus Grid control.  It is very easy to use.  In fact, you only need to set a SQLitePlus Dataset into the Grid control and it will automatically display it.  Here's a screenshot:


Here's a VB example of how to use the Grid control:


Dim db As New SqliteDb
Dim ds As Dataset

m_db.Init "sqlt307.dll"
db.Open App.Path & "\northwind.db", eReadWrite

Set ds = m_db.Exec("SELECT * FROM Suppliers")

Set SqlitePlusGrid1.Dataset = ds

db.Close

The SQLitePlus Database Explorer uses the Grid control to display its result sets.

Editable Datasets

The SQLitePlus Grid control can be used to directly edit a table.  The table must have been opened using the "OPEN TABLE" command.  Double-clicking on a field changes it to an edit box.  Here is how you would create an editable Dataset with the OPEN TABLE command:


Dim db As New SqliteDb
Dim ds As Dataset

m_db.Init "sqlt307.dll"
db.Open App.Path & "\northwind.db", eReadWrite

Set ds = m_db.Exec("OPEN TABLE Suppliers")

Set SqliteGrid1.Dataset = ds

db.Close

Its Free

Use the Grid freely in your SqlitePlus applications.




 

Copyright © EzTools Software2001-2010 All rights reserved. Trademarks and Disclaimer:
All trademarks belong to their respective companies.