0

Hello,
I have a question and I thank everyone for helping me in advance.
I am using Visual Studio 2010, ASP.NET and C#.

I have a table in SQL server DB.
Server page (news.aspx.cs) is collecting all the data from the table (select * from news).
Using container.Controls.Add(new LiteralControl(news.ToString())); I am sending the query results to front page (news.aspx).
Now, I have that data put in separate DIV tags, one news in one DIV tag, and my idea was to hover over one div and to expand that same DIV with one small picture and more text (small picture url and the text are all stored in the same SQL table news.)

When I hover over a div, it expands, but it shows only the picture and the text that is stored in the first row ,n the SQL table.

Question:
How do I make it, that when I hover over one DIV and get the details belonging to that row, not the first row??

Thank youuuu

2
Contributors
1
Reply
8
Views
5 Years
Discussion Span
Last Post by LastMitch
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.