c# - data replacing in gridview -


I am working in ASP.NET, I am saving the status field in the database right or wrong. Now, I want to display correctly or incorrectly in active or inactive form in front end in Gridview. How to display data in Gridview

In advance thanks to the use of the roadadabound event of your datagrid, this string is to be active / inactive:

  protected subgvRequests_RowDataBound (object's ByVal Sender, ByVal and Y.Y.Y.VigControls.GridViewRowEventArgs) as the system handles gvRequests.RowDataBound if e. Ro RowType = DataControlRowType.DataRow then labeled as slick ALLL = CTP (E.R.Fund Control ("LBSSTATUS"), label) If LLL Text = "1" then LLL. Text = "active" other LLL. Text = "idle" end if end if end  

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -