Welcome to Dream.In.Code
Become an Expert!

Join 149,918 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,057 people online right now. Registration is fast and FREE... Join Now!




How to use "get" in order to display a username in text box

 
Reply to this topicStart new topic

How to use "get" in order to display a username in text box

kenlooi1985
11 Jun, 2008 - 05:57 PM
Post #1

New D.I.C Head
*

Joined: 11 Jun, 2008
Posts: 1

CODE
<html>
<!--#include file="logincheck.asp"-->
<head>

<style>

body {
    font-family: Verdana, Helvetica, Arial, 'Sans Serif';
    color: #000000;
    text-align: center;    
    font-size: 30pt;
    background-color:  #FFCC66}

hr { color=#000080 }

.toptitle {
  color: #000080;
  font-family: 'Times New Roman', Garamond, Georgia, Serif;
  text-align: center;
  font-size: 24pt;
  font-weight: bold;
  text-decoration: none }

.names {
  font-family: Verdana;
  font-size: 10pt }

</style>



<title>Training records.asp :: <% =Your_UserName %></title>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link rel="stylesheet" type="text/css" href="data/css.css">

</head>

<body>

<p class='toptitle'>Training Records</p>

<form>
  <table border="0" width="320">

      <td width="80" class="names">UserName:</td>
      <td><input type="text" name="txtUserName" size="25"></td>
  
      <td width="80" class="names">Department:</td>
      <td><input type="text" name="txtDept" size="25"></td>

      <tr>
      <td width="80" class="names">EmpName:</td>
      <td><input type="text" name="txtEmpName" size="25"></td>
      
      <td width="80" class="names">JobPosition:</td>
      <td><input type="text" name="txtDept" size="25"></td></tr>

<table border=1 cellspacing=1 cellpadding=1>
    <caption></caption>

    <tr>
    <th> Date </th>
    <th> Class ID </th>
    <th> Class Description </th>
    <th> Remarks </th>
    </tr>

<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>

</table>

<input type="print" name="btnPrint" value="Print">      
  
</table>
</form>

<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td width="100%">
      <hr color="#FF0000">
    </td>
  </tr>
  <tr>
    <td width="100%"
        align="center"
        style="font-family: Verdana; font-size: 10pt">
        Copyright © 2008 Western Digital Media
    </td>
  </tr>
</table>

</body>
</html>

User is offlineProfile CardPM
+Quote Post

Jayman
RE: How To Use "get" In Order To Display A Username In Text Box
11 Jun, 2008 - 06:16 PM
Post #2

Student of Life
Group Icon

Joined: 26 Dec, 2005
Posts: 7,317



Thanked: 66 times
Dream Kudos: 500
Expert In: Everything

My Contributions
Please describe the problem in detail that you are having with your code. Also, use code.gif tags when posting your code.
User is online!Profile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 02:37PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month