what are the three main differences between flexgrid
control and dbgrid(Data bound Grid) control



what are the three main differences between flexgrid control and dbgrid(Data bound Grid) control..

Answer / 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

More Visual Basic Interview Questions

Is a foo VBX/DLL available as shareware/freeware?

0 Answers  


How many File System Controls are there ? Explain.

0 Answers  


which argument can be used to make a menu item into bold?

2 Answers  


With in the form we want to check all the text box control are typed or not? How?

0 Answers  


How many types of API functions are availble in VB?

1 Answers  






What is the use of Hyperlink control for DHTML applications?

0 Answers  


what are the types of combo box?

1 Answers   Satyam,


What is DAO?

2 Answers  


What is the use of OLE?

0 Answers   IBM,


Which ADO object is used to perform commit / rollback ? Is it command or connection or recordset I am not sure of the options given. So please let me know the answer if it is something else.

4 Answers   Infosys,


which arguments will be used to run a executable program in shell function ?

1 Answers  


What do you mean by ADO?

1 Answers  


Categories