pruebens Posted December 19, 2002 Posted December 19, 2002 Okay first to Derek and Robby.....you guys are just ADO .NET genius's Anyway, I'm trying to get away from using the data adapters because they are turning out to be just one big headache. Now I have my webform all set and is complete with the correct SQL and connection statements. MY next question is what is the syntax to connect the text of say a label control to a specific column in a database? I tried doing it as I would in a regular windows form but I don't get the "Add" option (label.databindings.add("Text", <dataset>,"<Table.Column>")) like I do so I'm obviously not doing it right. Quote
Moderators Robby Posted December 19, 2002 Moderators Posted December 19, 2002 I think you meant to say Derek and Divil are geniuses, I help out with the easy stuff. I'll test a few thing out regarding you question. Quote Visit...Bassic Software
pruebens Posted December 19, 2002 Author Posted December 19, 2002 No you've helped me as well.......and I believe in giving props to those that deserve it. I appreciate your help. Quote
*Gurus* Derek Stone Posted December 19, 2002 *Gurus* Posted December 19, 2002 Data binding definately should not be used in web pages. Reasons of security and lack of validation are just two of many. Try going at it using a DataAdapter, and if you need help doing so we're only a few clicks away. Quote Posting Guidelines
pruebens Posted December 19, 2002 Author Posted December 19, 2002 Thanks Derek........I did have it originally bound using the built in data adapter. If that is what you mean then I'll just put those back on. My only problem then is getting the database to update (yes I'm still struggling with that). Thanks again. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.