Any way to make the last null row of datagrid invisible?

  • Thread starter Thread starter greg chu
  • Start date Start date
G

greg chu

Hi,
I will only allow user to change the existing data in the rows. How do
I make the last null row invisible?

Thanks!

Greg
 
Greg chu

When the datasource is a datatable.

directcast(mydatagrid.datasource.defaultview,datatable).alownew = false

or any otherway that you set the defaultview (dataview) alownew to false.

I hope this helps,

Cor
 

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