Tag Archives: c#

Disconnecting users from sql server database via c#

I’ve been setting up an automated build for our project. Our project has a very large SQL server database that we write “upgrade” scripts for – basically anything that modifies the schema – like adding new columns, modifying data etc … Continue reading

Posted in technical | Tagged , , , , , , | Leave a comment

truncating decimal points in c#

Ran into an interesting problem today. I need to truncate a number to 2 decimal places, which basically means chopping off the extra digits. Eg: 2.919 -> 2.91 2.91111 -> 2.91 Why? This is what SQL server is doing when … Continue reading

Posted in technical | Tagged , | Leave a comment

Friendly URLs with ASP.NET

I am rather excited because I’ve set up friendly URLs for the unique handbags website that I’ve been doing. What this means is that the links to the handbags look like this: Party Bag Mercedes Handbag Red And Black And … Continue reading

Posted in technical | Tagged , , | Leave a comment