Hello,
I am using visual web developer 2008
I am trying to display an image in a table with a master page.
But my image is being displayed during designtime but not displayed during run time.
I used the coding below.

<form id="form1" runat="server">
    <div>
    
        <table  style="width: 100%; height: 548px;" >
        
            <tr >
                <td class="style2" colspan="3" 
                    style="border: thick groove #808000; padding: 2px; background-image: url('App_Data/2.jpg');">
                </td>
            </tr>
</table>
</div>
</form>

App_Data is only used for storing the Database Files..

You could do this one
Add a Folder Called Images in then add the files to there and call the method as

<table  style="width: 100%; height: 548px;" border="2" >
        
            <tr >
                <td class="style2" colspan="3"  runat="server"
                    style="border: thick groove #808000; padding: 2px; background-image: url('Images/Zapotec.bmp');">
                </td>
            </tr>
</table>
This question has already been answered. Start a new discussion instead.