Visible ='<%# Eval("a") == System.DbNull.Value ? False : True %>'
Tuesday, 12 March 2013
Hide HyperLink if Database cell is NULL
Wednesday, 6 March 2013
Upload File in VB
VB
Dim spath As String = Server.MapPath("~/foldername/") Dim sfile As String = FileUpload1.FileName Dim sfullpath As String = spath & "\" & sfile Try FileUpload1.SaveAs(sfullpath) Catch ex As Exception Label1.Text = "Failed. " & ex.Message End Try
Tuesday, 5 March 2013
errors : The name ... does not exist in the current
Make sure inherits and class same name
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="office.aspx.cs" Inherits="TEST_office" %>
public partial class TEST_office : System.Web.UI.Page { }
Subscribe to:
Posts (Atom)