Click here to Skip to main content
14,330,512 members
Rate this:
Please Sign up or sign in to vote.
Hello Guys,

How are you?

There is one error that arises in my recent work and I want little suggestion about it from you guys, if you have it then please help me. this's my humble request to you all who read this query from my side.

so the query is,

There are multiple images of news and according to that news block, there is a different description of that news too.

I am working on asp.net C# with, ms access DB. when I click on one image of news that time I received the description according to that news image. but when I click the second image, I received the same description of the first one image. but here I want that second one image description, not the first one.

What I have tried:

first I create on main page different ID of News image, for example,
view description.aspx?id=1, viewdescription.aspx?id=2, viewdescription.aspx?id=3
and so on, now on viewdescription.aspx,

I have add datalist and the accessdatasource query is select * from [show_news] where ([aid])=?
then in select parameter, defaultvalue=1 and name="aid"
Posted
Updated 8-Oct-19 8:49am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100