howto display an empty datagrid?

  • Thread starter Thread starter Jimmy
  • Start date Start date
J

Jimmy

Hi

I want to display an empty datagrid if my datasource has zero results. How
to do this?

thanks

J.
 
DO you mean that you want to display column heading of the grid with zero
records in it. If so then you can set the tablestyle proepty of the grid &
simply put datasource to null.

Reg.
Prasad.
 
If the data source has zero record, after data binding, the datagrid only
shows header.

HTH

Elton Wang
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top