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
Post a Comment