Articles in this section
Category / Section

Datatable Should be bind at-least one row.

1 min read

Datatable Should contain at-least one data row” while bind it to Grid control

When data table is bind as data source for grid control, the get action should pass at least one data row to Grid otherwise it will throw the following exception,

 

Fig

 

This exception will be thrown in both Server and JSON mode and this because we need at least one Data Row to bind the column values into the grid otherwise we are not able to get the column values if the column is null. So empty Data Row binding is not possible in Data Table.

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied