- I have a user control with data of person. iN this user control is subroutine which storing data to database of person.
- On my ASPX page I've implemented this control and another form with data which ii'm storing.
- On button click on ASPX page, i want to store all my data including data from my user control or subroutine in that user control which storing data of person.
- I want to make sqltransaction, so only one connection for aspx page and user control.
car as string
color as string
call myusercontorl() 'for storing person's data
subrutine(connection, command) ...
Is it right choice to pass connection to subrutine in usercontrol.
Please how to do that? I need advice.
The point of my question is how to interact between my clas
View Complete Post