Posts

Showing posts from April, 2013

Client ID & Server ID

Hide TR Tag aspx <table style="width:100%;">    <tr runat="server" id="td1">       <td>1</td>       <td>1</td>       <td>1</td>    </tr>    <tr>       <td>2</td>       <td>2</td>       <td>2</td>    </tr> </table> aspx.vb Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load     td1 .Visible = False End Sub

Conditional if NULL with records from database and GridView

Text='<%# IIF(Eval("field1").Equals(DBNull.value),"No Answer",Eval("field1"))%>'