Can not read data from sql database table due to null value

Is there any other way for databinding using datasource in blazor. I am using IDatalayer and Datalayer and DataAccessLayer for populating data.
Here Is my code which cannot read data due to null value in sql table.

//To Get all Categories details   
        public DbSet<AssetCategory> GetAllAssetCategories()
        {
            try
            {
                return db.AssetCategory;
            }
            catch
            {
                throw;
            }
        }

2 Replies

SS Saranya Sivan Syncfusion Team December 11, 2020 08:06 PM UTC

Hi Mizanur 
  
We are checking the reported problem (Cannot read data from SQL database table due to null value) at our end. We will update the further details within two business days (15th December).  
    
   
Regards,  
Saranya Sivan.  
 



SS Saranya Sivan Syncfusion Team December 15, 2020 07:17 PM UTC

Hi Mizanur, 
  
Thanks for contacting Syncfusion support, 
  
We have prepared a sample for you to how to integrate the server-side SQL database in pivot table by using custom adaptor. Please find the sample below for your reference, 
  
  
Please contact us if you have any queries on this. 
  
Regards, 
Saranya Sivan. 


Loader.
Up arrow icon