Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...