asp.net

Guide to the HyperLinkField

Language

If we use GridViewin asp.net, we see Hyperlinkfield, at first time we thought that it is very easy to use but at another second we get confuse how to use it so I am going to focus on using it in a Gridview which is populated from database the main thing of HyperLinkField is work like a regular hyperlink in our GridView. The main four properties are here concerned are: 1). DataTextField,

Replace “\n” with “<BR\>”

Language

We got some problem in storing newline character in database. This will help the developers in most of the development conditions.There are lot of times we accept user input in a textarea or a multiline textbox and save it to a database. But while displaying the data from the database, you will find that the line breaks are not displayed properly, infact there will be no line breaks. We will need to convert all the new line characters (”\n” character) to “