|
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Admin_UserControls_RandomPhoto : System.Web.UI.UserControl
{
#region Properties
public string DataSourceID
{
get
{
return _DataSourceID;
}
set
{
_DataSourceID = value;
this.FormView.DataSourceID = _DataSourceID;
}
} private string _DataSourceID = string.Empty;
public string Title
{
get
{
return _Title;
}
set
{
_Title = value;
}
} private string _Title = "Photo of the Day";
public string Text
{
get
{
return _Text;
}
set
{
_Text = value;
}
} private string _Text = "This is the photo of the day";
#endregion
protected void Page_Load(object sender, EventArgs e)
{
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
Angel Anichin is experienced .Net developer living in Canada.
Expertise: ASP.NET, C#, MS Content Management Server, MS SQL Server, Oracle, HTML, JavaScript, CSS
Hobbies: Digital Photography, Skiing