|
-
Jul 3rd, 2008, 09:45 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] [2005] custom form databinding
Hey I have quite a fiew fields for a specific form I'm writing. So instead of using a gridview, or detailsview, or formview, I just slapped a bunch of aps:controls on the page and setup my DropDownLists to get their values from the appropriate database tables. Now I don't see a <FORM> tag in design time, but when I run it and view source it shows up so I'm assuming its working fine and has something to do with my masterpage, but whats the easiest way to bind the data to the controls without having to do it manually at Page_Load on each control?? Is it as easy as when you use a GridView or FormView? Can I do the Bind and Eval methods in my asp code or will that not work?
NOTE I do have strongly typed tableadapters with methods for getting my data, I'm just not sure how to get it into these controls without using a GridView, formview, etc...
Thanks!

In the unlikely event that I answer your question correctly, please Rate my post
Using Visual Studio 2005 Professional 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|