Argument data type text is invalid for argument 1 of lower function.

0 Answers 119 Views
Grid
onivia
Top achievements
Rank 1
onivia asked on 06 Oct 2022, 01:13 AM

Is there any way to solve this problem if the data type is text in my DB?

 

// Code 

result = await _db.Productos.Include(p => p.CodigoEstadoNavigation)
                                            .Include(p => p.IdCategoriaProductoNavigation)
                                            .ToDataSourceResultAsync(request);
Marin Bratanov
Telerik team
commented on 08 Oct 2022, 09:14 AM

This sounds like a mismatch between what the grid thinks the field type is, and what it is in the database. Please make sure that they match (e.g., the grid model has an int where the column is int, not a string).

No answers yet. Maybe you can help?

Tags
Grid
Asked by
onivia
Top achievements
Rank 1
Share this question
or