Skip to content
Advertisement

Why am I getting System.Data.DataRow here?

Im unsure as to why Im getting this because I have the same code elsewhere and there is no problem.

Thanks for your help.

Output

Advertisement

Answer

Thanks to @MathiasR.Jessen

Change the getKeyCode function to only return the column value you want rather than the entire row:

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement