Hi,
In asp.net 2.0 i am using dropdownlist box,gridview and an detail view.
Master record are choosed from dropdown list box and an child record are displayed in gridview.On clicking of select button of gridview ,detailview is displayed with edit and new button.I had bind all three control using sqldatasource.
My problem is if there is no record in child table a gridview is not displayed.And i have no access to detailview.I want to insert a new record in detailview if there no child record .All three are controls are in same page.
Thanks in advance if any one had a solution for this prob.
Regards,
preet
In asp.net 2.0 i am using dropdownlist box,gridview and an detail view.
Master record are choosed from dropdown list box and an child record are displayed in gridview.On clicking of select button of gridview ,detailview is displayed with edit and new button.I had bind all three control using sqldatasource.
My problem is if there is no record in child table a gridview is not displayed.And i have no access to detailview.I want to insert a new record in detailview if there no child record .All three are controls are in same page.
Thanks in advance if any one had a solution for this prob.
Regards,
preet