I would suggest you to HTMLEncode before showing on the page rather than doing it while storing data into the database.
Why do you need to store the encoded string on the database.
As I said, It is almost same.When we do something there is a tradeoff associated.Breaking it into multiple function will just add very few LOC in if you convert it in Machine language.Those lines won't take significant time.But this will surely help u a lot while managing the code which is more important.
Also,You can prioritise and implement as per your requirement.
while writing text in the iframe it is getting correctly .but when appending the text to the iframe through vb code it is getting every time paragraph tag and the text is appending in the down how can i sole this problem
I'm trying to develop a web page after modifying solution from vs2005 to 2008. I can't multi-select controls and position them on the screen, which i understand is a performance downgrade as it was doable in vs2005, nor does the Layout tab work for me in 2008. But worst of all when I try to program controls in the .aspx html file and hen view design again, the IDE randomly applies who know what to the page and the controls end up all over the place. Its driving me nuts. Very difficult to learn web-page development, let alone make a project deadline.
I have a form with a Gridview, MultiView and Menu control on one aspx page.
Sequence of events:
User selects Gridview record A, multiview displays tab 1 and 2
Tab 1 displays record A data
Tab 2 displays record A data
Gridview record B is selected, multiview displays tab 1 and 2
Tab 1 displays record B data
Tab 2 displays record "A" data (this is the problem)
Each tab is a formview populated via seperate SqlDataSources
Does anyone know why the previous record is being displayed?
Does anyone know how I can trace what is "really" being sent to second SqlDataSource?
My debug watch shows the correct record id but second datasource is not returning the correct record info.
Last Visit: 31-Dec-99 19:00 Last Update: 9-Dec-23 21:50