Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Participant
874 Points
201 Posts
Nov 04, 2011 03:27 PM|LINK
Hi ,
Why don't you do it from code behind of OtherColor.aspx. This code works fine for me .
using System.Drawing; public partial class Default4 : System.Web.UI.Page { protected string strColor; protected void Page_Load(object sender, EventArgs e) { strColor = Server.UrlDecode(Request.QueryString["Data"]); Label1.BackColor = Color.FromName(strColor); } }
sendtosree
Participant
874 Points
201 Posts
Re: Simple Data Issue, I think.
Nov 04, 2011 03:27 PM|LINK
Hi ,
Why don't you do it from code behind of OtherColor.aspx. This code works fine for me .
using System.Drawing; public partial class Default4 : System.Web.UI.Page { protected string strColor; protected void Page_Load(object sender, EventArgs e) { strColor = Server.UrlDecode(Request.QueryString["Data"]); Label1.BackColor = Color.FromName(strColor); } }Sree
Mark as Answer if it helps