Home » 2012 » July

Archive for July, 2012

Record Update Confirmation Message

DataSource connection string <asp:sqldatasource ID=”MySQLDS” runat=”server” ConnectionString=”< %$ ConnectionStrings:MyConnString %>” UpdateCommand=”UPDATE [MyTablel] SET [DATE_SUBMITTED] = @DATE_SUBMITTED WHERE [RID] = @RID” OnUpdated=”UpdateMessage” > </asp:sqldatasource> VB code in a head section of the page <head> <script runat=”server”> Sub UpdateMessage(ByVal source As Object, ByVal e As SqlDataSourceStatusEventArgs) If e.AffectedRows > 0 Then ‘ Perform any additional processing, ‘ […]

NIC & Driver Information Info Command

To find all about your wi-fi card do the following 1. Open command prompt 2. Type the following comand: netsh wlan show driver 3. Hit enter

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) %> […]