Click here to Skip to main content
15,886,110 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Datagrid Pin
shreekar17-Oct-06 0:29
shreekar17-Oct-06 0:29 
AnswerRe: Datagrid Pin
postmaster@programmingknowledge.com17-Oct-06 2:36
postmaster@programmingknowledge.com17-Oct-06 2:36 
Question"how to get system date" Pin
ravikiranreddydharmannagari16-Oct-06 21:08
ravikiranreddydharmannagari16-Oct-06 21:08 
AnswerRe: "how to get system date" Pin
_AK_16-Oct-06 21:12
_AK_16-Oct-06 21:12 
QuestionRe: "how to get system date" Pin
ravikiranreddydharmannagari16-Oct-06 23:05
ravikiranreddydharmannagari16-Oct-06 23:05 
AnswerRe: "how to get system date" Pin
_AK_16-Oct-06 23:21
_AK_16-Oct-06 23:21 
AnswerRe: "how to get system date" Pin
Jay_se16-Oct-06 21:12
Jay_se16-Oct-06 21:12 
AnswerRe: "how to get system date" Pin
Jerry Hammond16-Oct-06 22:26
Jerry Hammond16-Oct-06 22:26 
Unfortunetly, the last two responses are only partially correct.

Here is the code:

First, your cs file;

<code>using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
tbalpha.Text = DateTime.Today.ToShortDateString();
tbalpha.ReadOnly = true;

}
}</code>

Then your HTML/source page

<code><%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<asp:TextBox ID="tbalpha" runat="server" />
</form>
</body>
</html>
</code>

"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the internet, we know this is not true." -- Professor Robert Silensky


AnswerRe: "how to get system date" Pin
albCode16-Oct-06 23:33
albCode16-Oct-06 23:33 
Questionselecting a row in datagrid and swapping Pin
Krishlibran16-Oct-06 21:07
Krishlibran16-Oct-06 21:07 
Questiondraggable items in datagrid Pin
Krishlibran16-Oct-06 20:45
Krishlibran16-Oct-06 20:45 
Questionedit a file Pin
ptvce16-Oct-06 20:12
ptvce16-Oct-06 20:12 
AnswerRe: edit a file Pin
shreekar16-Oct-06 22:53
shreekar16-Oct-06 22:53 
GeneralRe: edit a file Pin
ptvce16-Oct-06 23:16
ptvce16-Oct-06 23:16 
GeneralRe: edit a file Pin
shreekar17-Oct-06 0:25
shreekar17-Oct-06 0:25 
Questionhow to calculate the Bandwidth. Pin
Amit Agarrwal16-Oct-06 19:53
Amit Agarrwal16-Oct-06 19:53 
QuestionDrillDown Reports Pin
Sowmya Chillampally16-Oct-06 19:48
Sowmya Chillampally16-Oct-06 19:48 
QuestionHow to Save Audion Files to The SQL SERVER using ASP.NET Pin
deviduttayahoo16-Oct-06 19:45
deviduttayahoo16-Oct-06 19:45 
AnswerRe: How to Save Audion Files to The SQL SERVER using ASP.NET Pin
just3ala216-Oct-06 20:27
just3ala216-Oct-06 20:27 
GeneralRe: How to Save Audion Files to The SQL SERVER using ASP.NET Pin
Andrei_KS16-Oct-06 21:21
Andrei_KS16-Oct-06 21:21 
Questionhow to bind dropdown listbox with two tables Pin
monuSaini16-Oct-06 19:30
monuSaini16-Oct-06 19:30 
AnswerRe: how to bind dropdown listbox with two tables Pin
shreekar16-Oct-06 19:46
shreekar16-Oct-06 19:46 
GeneralRe: how to bind dropdown listbox with two tables Pin
monuSaini16-Oct-06 20:18
monuSaini16-Oct-06 20:18 
GeneralRe: how to bind dropdown listbox with two tables Pin
shreekar16-Oct-06 20:26
shreekar16-Oct-06 20:26 
GeneralRe: how to bind dropdown listbox with two tables Pin
monuSaini16-Oct-06 21:27
monuSaini16-Oct-06 21:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.