How to Put Data in Data Bound Grid at run time

Hello
      I am getting a problem to put data in grid(FlexGrid,DBGRID)at run time .
       Please help me.
                        Amitesh
ami12Asked:
Who is Participating?
 
BahnassConnect With a Mentor Commented:
On the other hand
 flexgrid is colored DBGrid is not
flexgrid proparties can be handled per CELL not only per col
0
 
ami12Author Commented:
Thanks
0
 
BahnassCommented:
FOR FLEXGRID
USE TEXTMATRIX


FLX.TEXTMATRIX(R,C)= VALUEUNEED

DBGRID  MORE TRICKY

G.ROW=...   G.COL=...    G.TEXT =.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
priya_pbkCommented:
Try this for the start:

Open a new project and add a Adodc and Datagrid control on to the form and write this code in the form load event

Private Sub Form_Load()
'for datagrid control
Set DataGrid1.DataSource = Adodc1

'for mshflexgrid control
Set MSHFlexGrid1.DataSource = Adodc1

End Sub

You can do lot of things in datagrid control, ie add, delete or updata records but not so with mshflexgrid which is uneditable

-priya
0
 
DanRollinsCommented:
Hi ami12,
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:

    Accept Bahnass's comment(s) as an answer.

ami12, 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
 
SpideyModCommented:
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0
All Courses

From novice to tech pro — start learning today.