Solved

What Grid it is better to use (that came with visual studio) ?

Posted on 2002-06-07
7
198 Views
Last Modified: 2010-05-02
Hi Experts.

What Grid it is better to use (that came with visual studio) ? and i don't meen to grid that came with

out supplier like "True DB grid".

i need to do work with the standard microsoft controls.

Thanks
Alon.

0
Comment
Question by:Alon10003
7 Comments
 
LVL 22

Expert Comment

by:mnasman
ID: 7061470
Hello

  There's two grids came, Data Grid, and MS Flex Grid

  both of them not allow you to edit the data, so i think if you could have another one, it's will be better
0
 
LVL 43

Expert Comment

by:TimCottee
ID: 7061491
What do you want to use the grid for?

There are a variety of grids with different properties:

DBGrid : Compatible with DAO and allows in-cell editing but not complex formatting of cells such as colours etc.
Datagrid: Similar to DBGrid but also supports ADO.
Flexgrid : Supports DAO and to some extent ADO but does allow complex formatting of cells but not in-cell editing though this can be successfully simulated
MSHFlexgrid : Similar to flexgrid but also supports hierarchical recordsets.

If you can summarise your requirements for the grid then I can recommend the appropriate one for your requirements and also help you work-around some of the limitations of the grid that is chosen.
0
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 7061499
Check these links

http://www.codeproject.com/atl/gridctrl_atl.asp
http://www.dutchthewiz.com/vb/db/

some interesting Custom Grid Controls.

GOOD LUCK
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 2

Accepted Solution

by:
priya_pbk earned 250 total points
ID: 7061517
I always think, the DataGrid is a better tool to use if one has to edit, update and delete the records and for just displaying the records, the MSHFlexgrid is a good one.

Both of these controls can be bound to Adodc control.

I would not prefer to choose the Msflexgird and the DBgrid coz both of them are more compatible with DAO and not ADO, which i think is used more often in Vb applications

Again, choose that which your application needs to run it effeciently.

-priya
0
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 7061817
You already asked this question on May 26 and had accepted the FlexGrid. What else do you want?

Anyway, have a look at http://vbaccelerator.com/codelib/sgrid/sgrid.htm
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7873331
Hi Alon10003,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Split points between: TimCottee and priya_pbk

Alon10003, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
ID: 7925006
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange

TimCottee points for you at:
http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20509021.html
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now