tom

String or binary data would be truncated — ASP .NET C# MSSQL

Recently I ran into this problem when I was building out a form for a client’s website and for the life of me I couldn’t figure out what the problem was.  After dissecting all the values that I was sending to ensure that they were within the right limits as well as checking that these [...]

ASP.NET and MSSQL

Lately I’ve been making a large usage of ASP.NET and MSSQL for a project I have been working on and I’ve found these links to be of some help. http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.formview.changemode.aspx http://www.beansoftware.com/ASP.NET-Tutorials/FormView-Control.aspx http://support.microsoft.com/kb/976112 http://msdn.microsoft.com/en-us/library/ms972975.aspx Have a database parameter that you want to pass in as null?  Set its value as DBNull.Value; http://msdn.microsoft.com/en-us/library/system.dbnull.aspx References for Sizes of [...]

Dawn of a New Age

Life.  Albeit a bit crazy it has a way of working out from time to time.  Over the past year I’ve seen my life go through valleys and over mountains while I pulled my way out of college and eased my way into the workforce.  I’ve been more broke than I have ever been and [...]