You are here: Home > Technical Articles > ASP.NET Error - Value cannot be null. Parameter name: propName

ASP.NET Error - Value cannot be null. Parameter name: propName


Solution:
Make sure you are NOT passing NULL value to the GridView DataKeyNames property.


Published On: 04 Aug 2009