views:

122

answers:

1

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#

A: 

Hi. 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.

Teddy