Reputation:
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#
Upvotes: 0
Views: 687
Reputation: 8067
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.
Upvotes: 1