0

i have a <h1> that has a news title in it and i want to insert the content of this <h1> into sql server 2008 database how can i do this using c#

2
  • 1
    Move to stackoverflow... maybe after some editing? Commented Oct 5, 2009 at 18:17
  • I wonder where do you get the content of this <h1> from. Either edit your question, or it will get closed. Commented Oct 6, 2009 at 10:36

1 Answer 1

1

Put a server control between your html tag. For example: In this way you can access the lblTitle.Text property from the code behind and then pass it to the database.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.