|
-
August 12th, 2004, 11:23 AM
#1
why <script> doesn't work in VS.NET 2003?
Code:
<script Language="c#" Runat="server">
void Page_Load()
{
Message.Text="hello world";
}
</script>
Code:
<asp:Label Runat="server" ID="Message"/>
This doesn't work, instead I gotta use the code behind .cs file to define my events... may I be enlightened what actually went wrong?
Thanks...
end------------------------------
Programmers aren't born, but are made from hardwork, effort and time.
To be a good one, requires more effort and hardwork.
Therefore N quality programmer = (N*hardwork)+(N*effort)+(N*time)
-
August 14th, 2004, 04:55 AM
#2
i think u gotta use Web Matrix in order to use the script tags..
R. Thomas
"Be anxious for nothing, but in everything by prayer and supplication, with thanksgiving, let your requests be made know to God; and the peace of God, which surpasses all understanding, will guard your hearts and minds through Christ Jesus."Philippians 4:6-7
"Rejoice always, pray without ceasing, in everything give thanks; for this is the will of God in Christ Jesus for you."1Thess. 5:16-18
-
August 19th, 2004, 10:54 AM
#3
You should use Code Behind in VS.NET 2003.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|