L
Luqman
I have used a single objectDataSource for GridView and DetailView, and when
I load the page, the GridView shows all the entries of Invoice, and
DetailView shows the 1st entry of Invoice, thats all ok.
Now what I want is to click on Select Button of DetailView and that row
should appear in DetailView, using the same ObjectDataSource, any idea ?
I tried using :
DetailView1.SelectedValue=GridView1.SelectedDataKey.Value
But it gives error: that DetailView1.SelectedValue is Readonly.
What am i Missing, please help ?
Best Regards,
Luqman
I load the page, the GridView shows all the entries of Invoice, and
DetailView shows the 1st entry of Invoice, thats all ok.
Now what I want is to click on Select Button of DetailView and that row
should appear in DetailView, using the same ObjectDataSource, any idea ?
I tried using :
DetailView1.SelectedValue=GridView1.SelectedDataKey.Value
But it gives error: that DetailView1.SelectedValue is Readonly.
What am i Missing, please help ?
Best Regards,
Luqman