On Sunday 11 March 2007 11:29, Kelie wrote:
> Paul McNett <p <at> ulmcnett.com> writes:
> > dGrid is designed to show data, so you specify the number of columns
> > using ColumnCount, or you add the columns you want explicitly.
> >
> > You specify the number of rows by assigning a DataSource or a DataSet to
> > the grid, and the grid displays all the rows in the DataSource or
> > DataSet.
>
> Thanks John, Paul. I tried setting RowCount and found out it's readOnly and
> i assumed ColumnCount is readOnly as well. but i still have the same
> question, can i insert/delete row from a dGrid object? or i should modify
> the dataSource and dGrid will automatically adjust itself?
Depends - but I think you should just adjust/retrieve the dataset/datasource 
and refresh the grid.  The requery will also refresh the grid.
-- 
John Fabiani

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to