Hi,
I am using DataGrid to display the data from the database. I have used the event ItemDataBound to encode the data coming from the database before being displayed in the grid. Is there any other efficient/recommended method to avoid XSS issue while using DataGrid for displaying data from the database?

Thanks,
Umesh D K

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.