|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to bind a textbox to a data sourceThe problem is that, in VS2003 using web forms, the text control had a
property - "Databinding" that simplified connecting the control to a datasource. It could be done visually during design and was very simple to modify. In VS2005, I want to do the same thing: I want to add a textbox to a form and then bind it to a datasource, and I want to do it visually, without having to go to the HTML source and add something like, text='<%# DataBinder.Eval(HelpDeskDV, "[0].ContactName", "{0}") %>'. So the question is: how do I assign a datasource to an existing textbox on a web form? Regards, Fred *** Sent via Developersdex http://www.developersdex.com *** Fred wrote:
> The problem is that, in VS2003 using web forms, the text control had a See the discussion with the same subject one week ago in this newsgroup.> property - "Databinding" that simplified connecting the control to a > datasource. It could be done visually during design and was very > simple to modify. > > In VS2005, I want to do the same thing: I want to add a textbox to a > form and then bind it to a datasource, and I want to do it visually, > without having to go to the HTML source and add something like, > text='<%# DataBinder.Eval(HelpDeskDV, "[0].ContactName", "{0}") %>'. > > So the question is: how do I assign a datasource to an existing > textbox on a web form? -- Riki
How to bind a textbox to an a data source
Problem with Hyperlink to text files asp:Menu, DynamicItemTemplate and formating text asp:menu control and underline on menuitem text asp.net ajac and cacheRolesInCookie Links to functions in the CS file inside a GridView How to read a value in a Formview ? subject Validation Summary MessageBox Validation Summary MessageBox |
|||||||||||||||||||||||