1
Answer

Access controls on a page from a class method ( C# )

Ask a question
Churchill A

Churchill A

14y
2.3k
1
Lets assume I have:
<asp:TextBox ID="txtFamName" runat="server"></asp:TextBox>

I have a class that queries the db and returns a datatable. I want to have a method that takes the datatable and loads the page with the data. I don't want to write most of the codes on the page.cs

Thanks



Answers (1)