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

Member Avatar for LastMitch

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

The solution to the issue you are having is here:

http://forums.asp.net/t/1827882.aspx/1

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.