Issue with dropdown box and submit - ASP.NET
Posted on 2004-03-24
this should be easy, but for some reason I have a problem. I am using VB.NET and ASP.NET
I have a table in SQL DB where all info that user enters are stored. Each record includes a date info.
I want to show info from the table for a specific date.
As a part of testing process I created a page that shows all info from the SQL table, and that works fine. For better look I placed all info into a HTML table. So, my insert into a table and reading info from a table work fine.
I created a page with a dropdown list and connected it to a date column of the SQL table. This part works fine - I can see all dates available in my dropdown.
My plan is:
When a user choose a specific date, and clicks submit button, all info/record from the table for that specific date should be shown on this page. (the page with dropdown list will be replaced with a page that consists the info)
I can not get this part to work.
Do you have some code examples?
Thank you for your help.