Hi, I'm using VS2012.
In my Gridview control's Rowupdaiting event, I declare a GridViewRow variable then i start the try-catch-finally blocks. When I reference this GridViewRow variable and want to access the Dispose() method, the code got red underline that shows error when I hover over it, "Use of unassigned local variable..."
The variable is assigned a value and used inside of the try block. Why am I getting this variable? the scope looks fine to me and it's confusing with this error. Thank you.