How to define Page Property as int


How do I define the page property to be int so I can feed the textbox with a integer instead of a string?

To define page property as int set value to 0 then property type will be inferred as int. You can always input integer in textboxes, to restrict numeric only data input for string datatype use Mask component instead.

Is there a way to feed the parameter for a mssql stored procedure that is displayed in a DataGrid, from a TextBox instead of defining it in a method? I want to be able to observe a corresponding change in the DataGrid when the stored procedure is fed a new parameter in the TextBox.

You need to create a Page property as shown in your screenshot above and bind it to TextBox.


Now you can pass this page property ex: country to your store procedure.