Click here to Skip to main content
15,917,610 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCode analysis [modified] Pin
ASPnoob14-Jul-07 20:37
ASPnoob14-Jul-07 20:37 
AnswerRe: Code analysis Pin
Guffa15-Jul-07 3:46
Guffa15-Jul-07 3:46 
AnswerRe: Code analysis Pin
Paul Conrad15-Jul-07 4:59
professionalPaul Conrad15-Jul-07 4:59 
AnswerRe: Code analysis Pin
Mohammed Hameed15-Jul-07 8:21
professionalMohammed Hameed15-Jul-07 8:21 
QuestionControls are not displaying after hosting the Page Pin
Kurian_Kurian14-Jul-07 14:23
Kurian_Kurian14-Jul-07 14:23 
AnswerRe: Controls are not displaying after hosting the Page Pin
Manas Bhardwaj14-Jul-07 22:36
professionalManas Bhardwaj14-Jul-07 22:36 
AnswerRe: Controls are not displaying after hosting the Page Pin
Guffa14-Jul-07 23:02
Guffa14-Jul-07 23:02 
GeneralRe: Controls are not displaying after hosting the Page Pin
Kurian_Kurian14-Jul-07 23:29
Kurian_Kurian14-Jul-07 23:29 
The Following code is SourceCode [ HTML Code ].In the HTML Code can see one Label Control and the Text is Welcome,even that also is not displaying after hosting this page.



<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Photos.aspx.cs" Inherits="Photos" EnableSessionState="False" %>





<title>Untitled Page




   



<asp:label id="Label1" runat="server" style="z-index: 100; left: 188px; position: absolute;
top: 46px" text="Welcome" width="237px" backcolor="#0066FF" forecolor="White">

<asp:datagrid id="dgPhotos" runat="server" style="z-index: 102; left: 168px; position: absolute;
top: 79px" cellspacing="20" gridlines="None" onitemcreated="dgPhotos_ItemCreated">
<columns>
<asp:templatecolumn>
<itemtemplate>


<itemstyle font-bold="False" font-italic="False" font-overline="False" font-strikeout="False"
="" font-underline="False" horizontalalign="Center" verticalalign="Middle">












The Page Load Event as follows

protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
DataSet ds = new DataSet();
DataTable dt = new DataTable("Photos");
dt.Columns.Add("Photos", Type.GetType("System.String"));
foreach (string Files in Directory.GetFiles(Request.MapPath("Photos"), "*.jpg"))
{

dt.Rows.Add(Files);
}
ds.Tables.Add(dt);
this.dgPhotos.DataSource = ds;
this.dgPhotos.DataBind();
}
}
AnswerRe: Controls are not displaying after hosting the Page Pin
Guffa15-Jul-07 0:34
Guffa15-Jul-07 0:34 
GeneralRe: Controls are not displaying after hosting the Page Pin
Sonia Gupta15-Jul-07 0:58
Sonia Gupta15-Jul-07 0:58 
GeneralRe: Controls are not displaying after hosting the Page Pin
Guffa15-Jul-07 15:15
Guffa15-Jul-07 15:15 
GeneralRe: Controls are not displaying after hosting the Page Pin
Sonia Gupta15-Jul-07 19:05
Sonia Gupta15-Jul-07 19:05 
QuestionRequire help getting started s'il vous plait! Pin
gvanto14-Jul-07 14:20
gvanto14-Jul-07 14:20 
AnswerRe: Require help getting started s'il vous plait! Pin
just3ala215-Jul-07 6:07
just3ala215-Jul-07 6:07 
GeneralRe: Require help getting started s'il vous plait! Pin
Pete O'Hanlon15-Jul-07 10:01
mvePete O'Hanlon15-Jul-07 10:01 
GeneralRe: Require help getting started s'il vous plait! Pin
just3ala215-Jul-07 21:20
just3ala215-Jul-07 21:20 
AnswerRe: Require help getting started s'il vous plait! Pin
Pete O'Hanlon15-Jul-07 10:21
mvePete O'Hanlon15-Jul-07 10:21 
AnswerRe: Require help getting started s'il vous plait! Pin
neerubee15-Jul-07 19:37
neerubee15-Jul-07 19:37 
QuestionContentPlaceHolder Class Pin
Brendan Vogt14-Jul-07 12:45
Brendan Vogt14-Jul-07 12:45 
AnswerRe: ContentPlaceHolder Class Pin
Guffa14-Jul-07 12:57
Guffa14-Jul-07 12:57 
Questionhttp to https Pin
aditya.net14-Jul-07 9:10
aditya.net14-Jul-07 9:10 
AnswerRe: http to https Pin
Paul Conrad14-Jul-07 10:27
professionalPaul Conrad14-Jul-07 10:27 
GeneralRe: http to https Pin
aditya.net14-Jul-07 14:33
aditya.net14-Jul-07 14:33 
GeneralRe: http to https Pin
Paul Conrad14-Jul-07 14:58
professionalPaul Conrad14-Jul-07 14:58 
GeneralRe: http to https Pin
aditya.net14-Jul-07 15:32
aditya.net14-Jul-07 15:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.