what are the three main differences between flexgrid
control and dbgrid(Data bound Grid) control
Answer Posted / guest
The Microsoft FlexGrid (MSFlexGrid) control displays and
operates on tabular data.
It allows complete flexibility to sort, merge, and format
tables containing strings and pictures.
When bound to a Data control, MSFlexGrid displays read-only
data.Adaptation to existing Visual Basic code for the data-
bound grid (DBGrid).
dbgrid id A spreadsheet-like bound control that displays a
series of rows and columns representing records and fields
from a Recordset object.
The data grids are bound controls; that is, they require a
data source that actually connects to a database and
retrieves their data. And it seems that the root of the
problem with DBGrid is that there's no data source that can
be readily included along with the DBGrid control.
In Visual Basic, the solution is simply to include the Data
Control on the same form as DBGrid.
But the Data Control is an intrinsic control; it's
unavailable to anything outside of the Visual
Basic environment itself.
and VB 6.0 has a new set of data controls (DataGrid,
DataList, DataCombo, MSHFlexGrid, MSFlexGrid)
that once again are bound controls. Unlike DBGrid, though,
they support OLE DB, and therefore rely on the an ADO Data
Source (and in particular the ActiveX Data Objects Data
Control, or ADO DC) for data access. Unlike the Data
Control, the ADO DC is a custom control (that is, an .OCX)
that can be added to any project. In short, if you add ADO
DC to your project along with the DataGrid control.
| Is This Answer Correct ? | 22 Yes | 6 No |
Post New Answer View All Answers
what are the Default cursor Type and LockEdit type in DAO?
How do I call a DLL?
____ is the difference between Listindex and Tab index.
What is the use of ActiveX Documents?
What is the use of Data Form Wizard?
Can a VB application be an OLE server?
Difference between ActiveX Exe and Dll.
What is the use of Hyperlink control for DHTML applications?
by writing MACRO CODE,i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI). ex: custdetails custname lastname locaton mobile pincode custdetails raj tony hyd 555555 521245 servcreqrd srvce# srvcename location srvcepincode servcreqrd 754 drilling hyd 521784 for the above example in the another workbook retrive data like this custname Raj srvce# 754 srvcepincode 521784. while retrieving data control will search cell by cell for each row.
How can you filter out specific type of file using file system controls?
Draw Sequence Modal of DAO? Explain.
What is the use of command Object?What are the various types of variables?
Explain about creating VB applications in excel?
Explain the working of templates?
___ property is used to change to ___ value to access a identity column'in datacontrols.