I've taken a gridview and replaced several of the fields with dropdownlists.
The Gridview is bound to a SQLDataSource and the dropdownlists are bound to a different SQLDataSource. Generally I autoload all of the lookup table values into a dataset on page_load and bind my controls to the specific tables in the dataset. The problem I'm having is because the ddls are inside of the gridview and I can't figure out why the selectedvalue isn't being saved when I click on the UPDATE button. It's wasn't originally throwing an exception it's just wasn't saving. Now it's throwing an exception stating it "Cannot insert the value NULL". Column does not allow nulls.
In this Article, I will provide a few tips in problem and solution manner.
Opening an ASPX page in Visual studio 2003 is very slow.
To make it fast, please do follow below steps:
Open the Solution/Project.
Right click the ASPX file to b…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data.
But that feeling is fleeting. Attacks these days can happen in many w…