Write the code in your checkbox event!!!
As you check the corresponding check box their related event gets generated.
In the event when the check selection changes selection event is generated [Make use of the Tag ]
Use properties to hold the values that u get from your database and Pass the Parameter and get the Values [Make use of data readers]
and assign the values to the textboxes.
You can Ref this link
Example