Problem in displaying images in my webpage and Datalist

Category: ASP.NET Questions, Dot Net Questions, Latest Questions, Latest Topics    |    0 views    |    Add a Comment

Hi Every body

i am working on a web site. it has a master page in which i would like to display some images(like some advertising images) which are in Images folder in my project.   the code i have written is

<a title="Home" style="width: 200px; height: 100px" href="http://www.gmail.com">

<img src="Images/gmail-logo.jpg" style="width: 200px; height: 100px" >       </a>

 it shows nothing error in the code but still i am not able to display the images… insterd i am getting a blank image…..

the same case with the images in the datalist alsoo…. code for datalist is

<img alt="" src="Images/client/<%# DataBinder.Eval(Container.DataItem, "image1")%>" style="cursor:hand;width:30%"/></a>

note: when i debuged first they displayed buy not now……..

 help me please………

Share/Save/Bookmark

 

publish

Category: ASP.NET Questions, Dot Net Questions, Latest Questions, Latest Topics    |    0 views    |    Add a Comment

1. I clicked Build > Published website
2. It created all the files in a seperate folder.
3. I went to IIS > Web sites > Default Web Sites > right clicked > New > Virtual Directory and point it to the published directory.
4. But my site does not come up locally. http://localhost/TT2/Login.aspx and I get following Error.
    

Server Error in '/TT2' Application.


Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load the assembly 'App_Web_tazji97g'. Make sure that it is compiled before accessing the page.

Source Error:

Line 1:  <%@ master language="C#" inherits="MasterPage_master, App_Web_tazji97g" %>
Line 2:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Line 3:  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >

Source File: /TT2/MasterPage.master    Line: 1


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

Share/Save/Bookmark

 

Server error

Category: ASP.NET Questions, Dot Net Questions, Latest Questions, Latest Topics    |    0 views    |    Add a Comment

 Hi

I  just downloaded personal website starter but when i try to run i get error-

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Can anyone help why i am getting this error!!

I checked the sql server configuration..it is allowing both remote and local connections.

Since i am new to this fascinating and adventrous world of .net.So Help needed!

Regards!

Share/Save/Bookmark

 

Can i bind data to calendar controle?

Category: ASP.NET Questions, Dot Net Questions, Latest Questions, Latest Topics    |    0 views    |    Add a Comment

Hi All ;

I need to bind data from sql table to Calendar controle

my case :

I have a table contain dates i want this date showed & displayed  in the calendar controle but with another color and a tool tip todefine this date

my question is

is there a way to bind data to calendar control or not ?

if yes plz told me the way and i'll go throw it

if not plz told me to change my idea

i make a search but i dont found any result the only result is there is a third party controle make this idea

 

thanks for ur help

 

Share/Save/Bookmark