GST Billing Software

header image

Preferred Settings in Dialog Box

Erachana Line

40. How to make the Advanced Search Form load without any data on Load ?


Create the Expression by overriding the query of the Datagrid and Associate it to the Load event. On the particular control when data changes, Append to query with required condition and for Clear Button click event. Then Execute the query which is formed from Appended query and Assign the Query to Data grid with Grid_Id. Select the Data Source and Associate the Expression Which executes the Query to List Button Click event.

Example:

string str = "select * from Bill where BillId=-1”;

dgrData.DataSource = SqlInterpreter.GetData(str);