Rowupdating not working

You'll be able to ask questions about coding or chat with the community and help others.

rowupdating not working-33rowupdating not working-49

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free.

Please review the stack trace for more information about the error and where it originated in the code. Format Exception: String must be exactly one character long. i find it hard to understand that since you do not have template fields, and you are using bound fields, there is no way possible that parsing it into a textbox would work, considering there is no textbox(es) in your gridview to being with.

i get that you're are just taking the "text" from the imaginary textbox in your gridview, and putting it into a string. also throw a breakpoint on your Update Method to see what the variables are holding when passing in.

I removed everything I did with View State and edited the original post again with what I currently got. I cannot sort the Grid View because I'm trying to sort with Your code doesn't have Data Source ID.