User1283705980 posted
Hi,
Firstly, I can't understand what you need.
I suggest you could explain more about your requirement.
Do you mean your master table has some texbox and your detail table has the gridview?
The gridview contains the information which is selected in the database according to the textbox value.
Secondly, we will not write a all codes for you.
As you know, this forum is a support forum, not a free work team.
So we will just tell you how to do it not do everything for you.