|
-
Jan 19th, 2005, 01:01 PM
#1
Thread Starter
PowerPoster
easier way of doing this...
i was wondering, is there a better/easier way of doing the following:
i am trying to create a forum type site using asp.net (vb.net)
it gets information about threads from SQL Server. I can retrieve all the information i need - great
how do i display on one page, for every item retrieved, some graphic (or table) and within that, the title of the thread (given by SQL from the tbale) but also making that a link/hyperlink?
Thanks
-
Jan 19th, 2005, 03:44 PM
#2
Frenzied Member
Re: easier way of doing this...
Why not use a datagrid....it is easy to bind to a SQL table and you can make Hyperlink buttons for columns of the table.
Sean
Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.
-
Jan 19th, 2005, 07:15 PM
#3
Thread Starter
PowerPoster
Re: easier way of doing this...
completly forgot....thanks
-
Jan 24th, 2005, 05:34 AM
#4
Thread Starter
PowerPoster
Re: easier way of doing this...
how can i add graphics/style to the datagrid?
so for every post that there is (every record) i want every other row to be a different cell color?
also - when binding - when we have set the "text" for each column to bind with, is there a way of peforming other functions on the "text"? Where can i set this from?
for example one field maybe the UserID, i dont want the userID to display but the username - i know how to do the select statement for this from SQL but how can i alter the "text" of that data to do this?
Last edited by Techno; Jan 24th, 2005 at 05:41 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|