hi guysi have the following sqldatasource<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [DOB] FROM [Patient_Basic_Info] WHERE ([Vdate] = @Vdate)">
<asp:ControlParameter ControlID="Vdate" Name="Vdate" PropertyName="Text"
</asp:SqlDataSource> and in my code i have the following which apparently is not working Bdate.Text = Convert.ToString(SqlDataSource1)Running the page i get this in my Bdate textboxSystem.Web.UI.WebControls.SqlDataSourcei know its completely wrong but maybe you guys can help me on how to pass the value returned from the sqldatasource to the Bdate textboxthank you
View Complete Post