1 Replies - 1072 Views - Last Post: 10 May 2012 - 07:15 AM Rate Topic: -----

#1 priya g  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 08-May 12

Rowdatabound is not working after publishing IIS

Posted 08 May 2012 - 03:36 AM

Rowdatabound is not working after publishing IIS

This is for my code.

if (e.Row.RowType == DataControlRowType.DataRow)
{
   if (Convert.ToDateTime(DataBinder.Eval(e.Row.DataItem, "target")) < DateTime.Now)
   {
       e.Row.BackColor = System.Drawing.Color.LightCoral;
       e.Row.ForeColor = System.Drawing.Color.Yellow;
   }
}

This post has been edited by Atli: 08 May 2012 - 06:31 AM
Reason for edit:: Please use [code] tags when posting code.

Is This A Good Question/Topic? 0
  • +

Replies To: Rowdatabound is not working after publishing IIS

#2 pradeep1210  Icon User is offline

  • D.I.C Head

Reputation: 9
  • View blog
  • Posts: 56
  • Joined: 08-May 12

Re: Rowdatabound is not working after publishing IIS

Posted 10 May 2012 - 07:15 AM

Why are you creating multiple threads with same question??
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1