xXProjectXx
Member
- Joined
- Apr 7, 2014
- Messages
- 11
- Programming Experience
- Beginner
Hi all,
If it's possible I need some help about the program I'm creating in vb.net.. I have a DataGridView on my form and it's got a bindingsource to my MSSQL Database where I store all my values, on the form I also Have 2 TextBox because all I want to do is this:
If a person insert for example: 1.500 in the 1st TextBox and 1.700 in the second I want The DataGrid to show me the results between those numbers in the column named "Money".. My code is this (but when I insert the values the DataGrid just goes blank and I tried all type of syntax):
Thank you for the Help, I wish you all the best!
MoneyBindingSource.Filter = String.Format ("Money" >= TextBox1.Text And "Money" <= TextBox2.Text)
If it's possible I need some help about the program I'm creating in vb.net.. I have a DataGridView on my form and it's got a bindingsource to my MSSQL Database where I store all my values, on the form I also Have 2 TextBox because all I want to do is this:
If a person insert for example: 1.500 in the 1st TextBox and 1.700 in the second I want The DataGrid to show me the results between those numbers in the column named "Money".. My code is this (but when I insert the values the DataGrid just goes blank and I tried all type of syntax):
Thank you for the Help, I wish you all the best!
MoneyBindingSource.Filter = String.Format ("Money" >= TextBox1.Text And "Money" <= TextBox2.Text)