We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,983 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

SQL query result sent to aspx page to be used by Jquery

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 Months
Discussion Span
1 Month Ago
Last Updated
8
Views
maracaibolago
Newbie Poster
17 posts since Nov 2009
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

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

LastMitch
Industrious Poster
4,155 posts since Mar 2012
Reputation Points: 132
Solved Threads: 334
Skill Endorsements: 45

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0626 seconds using 2.76MB