• Material 3
  • Fluent
  • Bootstrap v5
  • Tailwind CSS
  • High Contrast
Preferences
Theme Selection
Theme Modes
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

Example of Mongo and SQL Query in ASP.NET MVC Query Builder Control

This sample demonstrates the Query Builder control by showing different types of queries such as SQL and MongoDB . The query preview can be changed using the tab control. Queries can be imported to the Query Builder using the import dropdown button.

DEMO
SOURCE
SQL
Mongo

                                        

                                        

In this demo, Query Builder features include exporting and importing the query as an SQL query and MongoDB queries. MongoDB Query Builder is a tool that allows users to search for error logs in a MongoDB database. It provides a user-friendly interface for constructing and executing queries and allows users to filter, sort, and export the results for further analysis.

In mobile mode, the control is shown vertically.

The following methods were used in this sample to perform mongo and SQL query related changes.

  • setMongoQuery
  • getMongoQuery
  • setParameterizedSQL
  • getParameterizedSQL
  • setParameterizedNamedSQL
  • getParameterizedNamedSQL

More information about Query Builder can be found in this documentation section .

Transform your ASP.NET MVC web apps today with Syncfusion ASP.NET MVC components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE