gridview Help
Not sure why this is not working but for example I have 2 records within a sql database. When I run my query within code it will only get the last record. If there are 3 records than my gridview will show the last 2. Not sure why I am unable to get the first record. My query is select * from mytable where myid = ddl.selectedvalue. Pretty straight forward. Any help or ideas would be very helpful. Thanking you in advance.
Not sure why this is not working but for example I have 2 records within a sql database. When I run my query within code it will only get the last record. If there are 3 records than my gridview will show the last 2. Not sure why I am unable to get the first record. My query is select * from mytable where myid = ddl.selectedvalue. Pretty straight forward. Any help or ideas would be very helpful. Thanking you in advance.
Last edited: