ITInterviews.net
Search for  
 
Advanced Search
  Home | Add a Link | Modify a Link | Login | Register | New Listings | Most Popular | Top Ranked | Link to Us | Search | Site Map

Visual Basic

Visual Basic

Home > Interview Questions > Visual Basic

 

Visual Basic Questions Page n

Next>>

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

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 is 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.
 

Next>>

 

 

Home Fight Cancer Hardware Internet Information Technology Interview Questions Logistics Services Software Telecom




Partner Sites:  Java Interview Questions | SAP Interview Questions | Oracle DBA Interview Questions | Cisco Study Guides | CompTIA Braindumps | MCSE Braindumps | Oracle Certification | Exact Questions | IT Interview Questions | Free Oracle Training | Cheap Study Guides

Microsoft MCSE Resources  |   Cisco CCNA Resources  |   Orace OCP Resources  |   PMP Resources  |   CISSP Resources  |   Citrix Resources  |   CIW Resources  |   CompTIA A+ Resources  |   Linux Resources  |   Java SCJP Resources  |   Resources Index  |   Free Programming Tutorials  |   Free .net Training