Tag Archives: ASP.

Code to do an Image Preview for my asp. net website

I am trying to do an image preview function on my asp.net website. When the user uploads an image through the fileupload function, a preview would be shown next to it. My current javascript code looks like this… <script type=”text/javascript”> … Continue reading

Steps for profiling SQL related operations in ASP. Net Web application using Mini profiler

I have seen very good documentation for MVC Mini profiler. But I need similar good documentation for Mini profiler for ASP.Net Web application. Please help me in setting up.

Localization in asp. net Web Forms on the basis of Time-zone

Is there a way to provide Localization in my asp.net Web-Form on the basis of local time-zone of my system ? I want to change the page’s Culture (CurrentCulture and CurrentUICulture) from the time-zone. I have already implemented this by … Continue reading

asp Textbox : regex should allow only “negative numbers” and “zero”– in asp. net

It should allow only negative numbers and a zero

When using ASP. NET MVC and LINQ, should you be creating stored procedures in your SQL database?

This is something I don’t understand. The conventional wisdom for stored procedures is to always create them if you know know a query that will be executed as part of your application and can describe it in terms of paramaters … Continue reading