Click here to Skip to main content
15,905,616 members
Home / Discussions / C#
   

C#

 
GeneralRe: Date Controlled Content -- Basic C# Pin
Paul Riley3-Oct-02 15:26
Paul Riley3-Oct-02 15:26 
GeneralRe: Date Controlled Content -- Basic C# Pin
4-Oct-02 5:40
suss4-Oct-02 5:40 
GeneralRe: Date Controlled Content -- Basic C# Pin
Paul Riley4-Oct-02 7:30
Paul Riley4-Oct-02 7:30 
Questionwhat can cause DB_E_ABOTLIMITREACHED? Pin
Anonymous3-Oct-02 5:04
Anonymous3-Oct-02 5:04 
AnswerRe: what can cause DB_E_ABOTLIMITREACHED? Pin
leppie3-Oct-02 9:25
leppie3-Oct-02 9:25 
GeneralRe: what can cause DB_E_ABOTLIMITREACHED? Pin
David Stone3-Oct-02 9:58
sitebuilderDavid Stone3-Oct-02 9:58 
GeneralRe: what can cause DB_E_ABOTLIMITREACHED? Pin
Anonymous4-Oct-02 2:45
Anonymous4-Oct-02 2:45 
GeneralRe: what can cause DB_E_ABOTLIMITREACHED? Pin
leppie4-Oct-02 8:04
leppie4-Oct-02 8:04 
AnswerRe: what can cause DB_E_ABOTLIMITREACHED? Pin
James T. Johnson3-Oct-02 9:55
James T. Johnson3-Oct-02 9:55 
GeneralC# client sending SOAP/HTTP request to Apache serve Pin
Anonymous2-Oct-02 20:28
Anonymous2-Oct-02 20:28 
Generalscroll bars Pin
Anonymous2-Oct-02 19:52
Anonymous2-Oct-02 19:52 
GeneralRe: scroll bars Pin
Stephane Rodriguez.2-Oct-02 20:05
Stephane Rodriguez.2-Oct-02 20:05 
Generalbasic C# question Pin
Anonymous2-Oct-02 19:27
Anonymous2-Oct-02 19:27 
GeneralRe: basic C# question Pin
Stephane Rodriguez.2-Oct-02 19:51
Stephane Rodriguez.2-Oct-02 19:51 
GeneralRe: basic C# question Pin
James T. Johnson3-Oct-02 1:49
James T. Johnson3-Oct-02 1:49 
QuestionCan anyone help with a Shell32 problem? Pin
Furty2-Oct-02 17:58
Furty2-Oct-02 17:58 
AnswerRe: Can anyone help with a Shell32 problem? Pin
Stephane Rodriguez.2-Oct-02 21:28
Stephane Rodriguez.2-Oct-02 21:28 
GeneralRe: Can anyone help with a Shell32 problem? Pin
Furty3-Oct-02 0:18
Furty3-Oct-02 0:18 
GeneralRe: Can anyone help with a Shell32 problem? Pin
Stephane Rodriguez.3-Oct-02 0:22
Stephane Rodriguez.3-Oct-02 0:22 
GeneralRe: Can anyone help with a Shell32 problem? Pin
Furty3-Oct-02 0:54
Furty3-Oct-02 0:54 
GeneralRe: Can anyone help with a Shell32 problem? Pin
Stephane Rodriguez.3-Oct-02 0:59
Stephane Rodriguez.3-Oct-02 0:59 
GeneralVS.NET and ASP.NET Pin
Nick Parker2-Oct-02 17:40
protectorNick Parker2-Oct-02 17:40 
Ok, I am working on writing a forum control and when I try to compile (command line) something very simple I get a slew of errors. This is what the code behind portion has right now, any thoughts? As soon as I comment out the constructor and the Page_Init event everything compiles ok, however when I move the dll file that is created over to the bin, the word "Hello" isn't printed to the screen.
using System;
using System.Collections;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.IO;

namespace DeveloperNotesForum
{
	public class Forum:System.Web.UI.Page
	{
		
		public Forum
		{
			Page.Init += new System.EventHandler(Page_Init);	
		}
		
		private void Page_Load(object sender, EventArgs e)
		{
			Response.Write("Hello");	
		}		
		
		private void Page_Init(object sender, EventArgs e)
		{
			InitializeComponent();	
		}
		
		
		
	}
}


The errors look like this:
<br />
error CS1519: Invalid token "{" in class, struct, or interface member declaration.<br />



Nick Parker

The goal of Computer Science is to build something that will last at least until we've finished building it. - Unknown



GeneralRe: C# and ASP.NET Pin
David Stone2-Oct-02 17:57
sitebuilderDavid Stone2-Oct-02 17:57 
GeneralRe: C# and ASP.NET Pin
Nick Parker2-Oct-02 18:08
protectorNick Parker2-Oct-02 18:08 
GeneralRe: C# and ASP.NET Pin
David Stone2-Oct-02 19:03
sitebuilderDavid Stone2-Oct-02 19:03 

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.