Hi
I have a gridview that as one text box with a button. When I run it and add in a date and click the button it works fine. This brings in the data bound Date_submitted field for that specific date.
I want to add on another text box and enter a date from and date to and then click the button (if the button is needed) and it then returns the rows with dates from the Date_submitted field.
I can add in the textbox ok but when I run it just brings in the dates from the first textbox entered.
I have tried to change the code to some examples I found, but then the code gets corrupt and I end up back to square one.
Could someone help me add on another textbox and get it working please, a simple step by step guide perhaps. I am fairly new to asp net gridviews so going into the coding is a little problematic for me.
Thanks
I have a gridview that as one text box with a button. When I run it and add in a date and click the button it works fine. This brings in the data bound Date_submitted field for that specific date.
I want to add on another text box and enter a date from and date to and then click the button (if the button is needed) and it then returns the rows with dates from the Date_submitted field.
I can add in the textbox ok but when I run it just brings in the dates from the first textbox entered.
I have tried to change the code to some examples I found, but then the code gets corrupt and I end up back to square one.
Could someone help me add on another textbox and get it working please, a simple step by step guide perhaps. I am fairly new to asp net gridviews so going into the coding is a little problematic for me.
Thanks