C
Carlos Javier
I have a web user control (1 textbox, 1 linkbutton, and 1 dropdownlist). When I know the code of my client I just have to type in the textbox and clic the linkbutton, the dropdownlist is refreshed with the 1 only code. But, If I do no know the code I can write the first letters of the name and click the linkbutton (same) and the dropdownlist is populated with all the clients those names start with those letters. Fine
I use that web user control on all the reports form, good. Now I am trying to use it on a data entry form, for adding records very nice, but now when I try to use it with update or canceling records, the textbox and dropdownlists are blank because I can not put the Dst on it because they are web user control
How can I create a property or a piece of code for auto databinding the complete web user control with the data retrieved from SQL Server, I have a sub that when invoked, it looks for the text on the textbox and call the stored procedure for finding the client(s), but I do not know how to pass the information of the code to the web user control for auto refresh on me.databind of the form, table or whatever.
I use that web user control on all the reports form, good. Now I am trying to use it on a data entry form, for adding records very nice, but now when I try to use it with update or canceling records, the textbox and dropdownlists are blank because I can not put the Dst on it because they are web user control
How can I create a property or a piece of code for auto databinding the complete web user control with the data retrieved from SQL Server, I have a sub that when invoked, it looks for the text on the textbox and call the stored procedure for finding the client(s), but I do not know how to pass the information of the code to the web user control for auto refresh on me.databind of the form, table or whatever.