show images and texts in datagrid or other server controls

Discussion in 'ASP .Net' started by masoud, Jun 10, 2004.

  1. masoud

    masoud Guest

    Hello.

    I have a question.
    I want make a news board but i dont know how can i put an image for
    each news,i save images to database and retrive them,then i make a
    template in datagrid and put a table with 2 rows in it,one row
    contains an image control and another row contains a textbox
    control,but in this way image apeare in top of text,i want for
    example show my image in center of text(through text) or at least in
    top and left side of my text such as this:


    ****** sdjfhajsdhf
    ****** sdfasdfasd
    ****** sdfasdfasd
    sdfasdfasdfasdfdsff
    sdfasdfasdfasdfasd
    sadfasdfsadfsdfsda
    dfgsdgsdfgsdfgdsfg
    dfgsdgsdfgsdfgdsfg


    or :
    dfgsdgsdfgsdfgdsfg
    dfgsdgsdfgsdfgdsfg
    dfgs*******fgdsfg
    dfds*******ffghfhi
    fdfsi*******aSDAi
    dssll*******hfhgAi
    sdfasdfadfsfsdfsdfd
    safsdfasdfasdfsadsi
    asfsafasdfasdfsfafsi


    Could you please help me?
    thank you.
    /\/\asoud.


    Posted Via Usenet.com Premium Usenet Newsgroup Services
    ----------------------------------------------------------
    ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
    ----------------------------------------------------------
    http://www.usenet.com
    masoud, Jun 10, 2004
    #1
    1. Advertising

  2. masoud

    masoud Guest

    Re: show images and texts in datagrid or other server contro

    > masoudwrote:
    Hello.
    >
    > I have a question.
    > I want make a news board but i dont know how can i put an image for

    each news,i save images to database and retrive them,then i make a
    template in datagrid and put a table with 2 rows in it,one row
    contains an image control and another row contains a textbox
    control,but in this way image apeare in top of text,i want for
    example show my image in center of text(through text) or at least in
    top and left side of my text such as this:
    >
    >
    > ****** sdjfhajsdhf
    > ****** sdfasdfasd
    > ****** sdfasdfasd
    > sdfasdfasdfasdfdsff
    > sdfasdfasdfasdfasd
    > sadfasdfsadfsdfsda
    > dfgsdgsdfgsdfgdsfg
    > dfgsdgsdfgsdfgdsfg
    >
    >
    > or :
    > dfgsdgsdfgsdfgdsfg
    > dfgsdgsdfgsdfgdsfg
    > dfgs*******fgdsfg
    > dfds*******ffghfhi
    > fdfsi*******aSDAi
    > dssll*******hfhgAi
    > sdfasdfadfsfsdfsdfd
    > safsdfasdfasdfsadsi
    > asfsafasdfasdfsfafsi
    >
    >
    > Could you please help me?
    > thank you.
    > /\/\asoud.


    :?:


    Posted Via Usenet.com Premium Usenet Newsgroup Services
    ----------------------------------------------------------
    ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
    ----------------------------------------------------------
    http://www.usenet.com
    masoud, Jun 11, 2004
    #2
    1. Advertising

  3. masoud

    masoud Guest

    :?:
    masoud, Jul 12, 2004
    #3
  4. Re: re:show images and texts in datagrid or other server controls

    "masoud" <-spam.invalid> wrote in message
    news:40f1c73b$...
    > :?:


    Use a TemplateColumn. Put an <img> in the TemplateColumn.
    --
    John Saunders
    johnwsaundersiii at hotmail
    John Saunders, Jul 12, 2004
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. HDL Book Seller
    Replies:
    0
    Views:
    896
    HDL Book Seller
    Dec 1, 2004
  2. hdl_book_seller
    Replies:
    0
    Views:
    439
    hdl_book_seller
    Jan 3, 2005
  3. Replies:
    0
    Views:
    318
  4. Wenjie
    Replies:
    2
    Views:
    104
    Joe Smith
    Jun 20, 2004
Loading...

Share This Page