Results 1 to 4 of 4

Thread: easier way of doing this...

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    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

  2. #2
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    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.

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    Re: easier way of doing this...

    completly forgot....thanks

  4. #4

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    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
  •  



Click Here to Expand Forum to Full Width