locked
Edit Images and fill data in images usind data from database RRS feed

  • Question

  • User1803653922 posted

    Hi

    I have jpg image and i want add some text in diff boxes as image hve rectabgular boxes in it.i want to fill data in dese boxes from database ..

    Wednesday, March 10, 2010 2:23 AM

Answers

  • User236141260 posted


    <table border="0" style="background-image:url('images/nopic.jpeg'); background-repeat:no-repeat width:200px; height:200px;">
                <tr>
                    <td style="width:50px;">
                        <asp:Label ID="lbl1" runat="server" Text="asdfasdf asdfasdsfds"></asp:Label>
                    </td>
                    <td style="width:50px;">
                        <asp:Label ID="lbl2" runat="server" Text="asdfasdf asdfasdsfds"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="width:50px;">
                        <asp:Label ID="lbl3" runat="server" Text="asdfasdf asdfasdsfds"></asp:Label>
                    </td>
                    <td style="width:50px;">
                        <asp:Label ID="lbl4" runat="server" Text="asdfasdf asdfasdsfds"></asp:Label>
                    </td>
                </tr>
            </table>


    Now write code for data access from DB, and bind these label control with database values.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, March 12, 2010 5:06 AM

All replies

  • User236141260 posted

    put image in bachground of html table, make td's inside table  for boxes. Add lable control in each td and set text property of label control from database column values.

    Wednesday, March 10, 2010 7:24 AM
  • User1803653922 posted

    hi

    Thanks for reply i cant understand plz illustrate



    Friday, March 12, 2010 4:44 AM
  • User236141260 posted


    <table border="0" style="background-image:url('images/nopic.jpeg'); background-repeat:no-repeat width:200px; height:200px;">
                <tr>
                    <td style="width:50px;">
                        <asp:Label ID="lbl1" runat="server" Text="asdfasdf asdfasdsfds"></asp:Label>
                    </td>
                    <td style="width:50px;">
                        <asp:Label ID="lbl2" runat="server" Text="asdfasdf asdfasdsfds"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="width:50px;">
                        <asp:Label ID="lbl3" runat="server" Text="asdfasdf asdfasdsfds"></asp:Label>
                    </td>
                    <td style="width:50px;">
                        <asp:Label ID="lbl4" runat="server" Text="asdfasdf asdfasdsfds"></asp:Label>
                    </td>
                </tr>
            </table>


    Now write code for data access from DB, and bind these label control with database values.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, March 12, 2010 5:06 AM
  • User1803653922 posted

    Thnks

    can u plz temme how to place td and tr for kundali type pictures /images.Hope u know abt kundali n all

    Saturday, March 13, 2010 8:53 AM
  • User236141260 posted

    Sorry dont know kundali.

    Please explain more.

    Saturday, March 13, 2010 4:31 PM
  • User1803653922 posted

    Kundali means we can display our birth chart  lagan chart etc...Do u know about  vedic astrology its related to dat only i m working on dis website and want to display birth chart in dat format i m not able to paste image here plz search in google lz plz reply

    Sunday, March 14, 2010 1:29 AM