howto access html sqldatasource info from code
Is there any way of accessing the information selected by a sqldatasource control in the html area from the codebehind area?
so for example i have an sqldatasource setup as so:
<asp:SqlDataSource ID="SqlLocations" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" SelectCommand="SELECT [id], [companyname], [address], [city], [province], [postalcode], [contact], [phonenumber], [faxnumber], [contactemail] FROM [locations] WHERE [id] = 1">
and from the code area i want to access what information was selected for [companyname] or [address]
anybody know of how to accomplish this?
How about SqlLocations.SelectCommand in code??
By Dralion in forum VB Classic
Last Post: 02-01-2006, 04:06 PM
By Phil Weber in forum .NET
Last Post: 10-01-2003, 12:00 AM
Last Post: 09-26-2002, 08:48 PM
By Mike Mitchell in forum .NET
Last Post: 09-13-2002, 05:41 PM
By Michelle in forum VB Classic
Last Post: 04-19-2002, 05:01 PM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center