Home » Posts tagged "Visual Studio" (Page 4)

Archive for the 'Visual Studio' Tag

Single ASP.NET page

<%@ Page Language=”VB” %> <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <script runat=”server”> </script> <html xmlns=”http://www.w3.org/1999/xhtml”> <head runat=”server”> <title>My VB.NET Page </title> <link href=”../css/Styles/Site.css” rel=”stylesheet” type=”text/css” /> </head> <body> <div class=”page”> <div class=”header”> <div class=”nav_pos” > <div class=”nav_format”> <% Response.Write(MonthName(DateTime.Now.Month) & ” + ”   ” & DateTime.Now.Day & “, ” & DateTime.Now.Year) %> […]

Delete confirm message – VB.NET

Delete confirm message when deleting record in GridView <asp:TemplateField> <ItemTemplate> <asp:LinkButton ID=”LinkButton1″ Runat=”server” OnClientClick=”return confirm(‘Are you sure you want to delete this record?’);” CommandName=”Delete”>Delete </ItemTemplate> </asp:TemplateField>

VB.NET – Single file upload

WUI View Home | Upload File | Close Window Enter requested information: Your name X File title: File category: ComedyPlease select…Sci-FiWild West File type: DivX Video FilePlease select…Windows movie videoAudio Video Interleave File Select a file to upload: Additional note: Designer view (expand) < %@ Import Namespace=”System.IO” %> < %@ Import Namespace=”System.Data.SqlClient” %> < %@ […]