M
Midway
Hi there,
I am using a GridView and displaying details in a Detailsview control. Now
then I select a Row in the Gridview the details on for that record shows on
the Detailsview control, but when there is/are not related records on the
detailsview, the detailsview does not show at all. the functionality that I'm
looking for is when I select a Row on the Gridview, if that specific record
does not have a related record or the PrimaryKey does not exist on the
details table, I want the detailsview to automatically goes on Insert Mode so
the user can star creating detail records for the parent record.
Now, how can I tell when the detailsview control did not bring any records
from the database?
Thanks very much.
Midway
I am using a GridView and displaying details in a Detailsview control. Now
then I select a Row in the Gridview the details on for that record shows on
the Detailsview control, but when there is/are not related records on the
detailsview, the detailsview does not show at all. the functionality that I'm
looking for is when I select a Row on the Gridview, if that specific record
does not have a related record or the PrimaryKey does not exist on the
details table, I want the detailsview to automatically goes on Insert Mode so
the user can star creating detail records for the parent record.
Now, how can I tell when the detailsview control did not bring any records
from the database?
Thanks very much.
Midway