PDA

Click to See Complete Forum and Search --> : easier way of doing this...


Techno
Jan 19th, 2005, 12:01 PM
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 :)

SeanGrebey
Jan 19th, 2005, 02:44 PM
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.

Techno
Jan 19th, 2005, 06:15 PM
completly forgot....thanks :)

Techno
Jan 24th, 2005, 04:34 AM
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?