Maybe I'm not using the correct wording, but what I am trying to find is how to have a textbox display the value of a ms sql database field. I am using ASP.NET C#.
My presumption was to use the string <%# fieldname %> in the Text property. From what I have seen this is correct, but i have no idea how to bind on the c# side. I've been searching and searching, and it is driving me insane. On the php side it was simple, create a datasource reference the return set, and simply <?php echo $datasource ['fieldname']; ?>. I can't imagine it being any more different than that, but I cant seem to find or understand a method for assigning a data source to a textbox.
