I have this wordplate for a gridview column that is pulling data from the SQL database. My question is how do I how will the Czech to see what my field is the value of ActivityFile (which means that the file is in dB) and then Linkbtn been done to show the point at which I file (before work) Generate code to download You'll need to use & lt; Item Theme & gt; & Lt; Asp: LinkButton id = "DownloadFileBtn" runat = "server" visible = "false" & gt; Download file & lt; / Asp: LinkButton & gt; & Lt; Br / & gt; & Lt; A href = "& lt;% # Eval (" ActivityLink ")%>" & Gt; ATP: Label ID = "Label4" runat = "server" text = '& lt;% # Bind ( "Gtividhilink")% & gt; '& Gt; & Lt; / ASP: Labels & gt; & Lt; / A & gt; & Lt; / ItemTemplate & gt;
GridView RowDataBound
protected void Gridwu L_rodetabaund (object sender, Gridwwooruvaventargs e) {if (e. Rau. Rao type == data Kantrolrv Taipkdetro) {System.Data.DataRowView dr = (System.Data.DataRowView) e . Row.DataItem; If (convert. ToBoolean (dr [ "columnName"]. ToString ())) {LinkButton LinkButton = (Linkbtn) e.row.Findcontrol ( "LinkButton"); LinkButton.Visible = false; }}}
Comments
Post a Comment