Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
575
DataKeyField problem
posted

I'm binding a DataTable to a WebDataGrid, and setting the DataKeyField. Is it normal that a "Invalid DataKeyField" exception is thrown if the case sensitivity of column names is wrong? For example, if my ColumnName is "CustomerCode" and I specify "customercode" as DataKeyField it doesn't work...

  • 49378
    Verified Answer
    posted

    Hi elvandar,

    Thank you for posting in the community.

    To answer your question - the DataKeyField(s) specified for WebDataGrid are case-sensitive and the behavior you have observed is an expected one.

    Please feel free to contact me if you have any questions.