formview and insert

  • Thread starter Thread starter merco
  • Start date Start date
M

merco

hi,
is it possible to automatically change default mode to insert if my
datasource hasn't any records ?

How can i do that ?


Thanks
 
Look at making this change in the PreRender method/event, testing for
existing data and then setting the DefaultMode to Insert if there isn't any
data.
 

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