Click here to Skip to main content
15,889,335 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionError - when uploading excel file to server Pin
Satish - Developer17-Nov-08 17:37
Satish - Developer17-Nov-08 17:37 
AnswerRe: Error - when uploading excel file to server Pin
l.laxmikant17-Nov-08 17:45
l.laxmikant17-Nov-08 17:45 
GeneralRe: Error - when uploading excel file to server Pin
Satish - Developer17-Nov-08 17:59
Satish - Developer17-Nov-08 17:59 
GeneralRe: Error - when uploading excel file to server Pin
VijayVishwakarma17-Nov-08 18:24
VijayVishwakarma17-Nov-08 18:24 
GeneralRe: Error - when uploading excel file to server Pin
Satish - Developer17-Nov-08 20:33
Satish - Developer17-Nov-08 20:33 
Questionwindows control on a web page Pin
Tabb Smith17-Nov-08 16:50
Tabb Smith17-Nov-08 16:50 
AnswerRe: windows control on a web page Pin
Christian Graus17-Nov-08 21:12
protectorChristian Graus17-Nov-08 21:12 
Questionrookie question about a simple code Pin
Yifei Jia17-Nov-08 16:03
Yifei Jia17-Nov-08 16:03 
I get

$exception {"Index (zero based) must be greater than or equal to zero and less than the size of the argument list."} System.Exception {System.FormatException}

when trying to testing this code


using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace FileWatchingDemo
{
    class Program
    {
        static void Main(string[] args)
        {
            FileSystemWatcher watcher = new FileSystemWatcher(Environment.SystemDirectory);
            watcher.Filter = "*.ini";
            watcher.IncludeSubdirectories = true;
            watcher.NotifyFilter = NotifyFilters.Attributes | NotifyFilters.Size;

            watcher.Changed += new FileSystemEventHandler(watcher_Changed);

            watcher.EnableRaisingEvents = true;

            //Console.WriteLine(Environment.SystemDirectory.ToString());

            Console.Read();
            
        }

        static void watcher_Changed(object sender, FileSystemEventArgs e)
        {
            Console.WriteLine("Changed: {1}", e.FullPath);
        }
    }
}


It seems this line
Console.WriteLine("Changed: {1}", e.FullPath);

has problem but I just don't know how to solve it.

I am new to ASP.NET and please help!!
AnswerRe: rookie question about a simple code Pin
Abhijit Jana17-Nov-08 17:45
professionalAbhijit Jana17-Nov-08 17:45 
AnswerRe: rookie question about a simple code Pin
Christian Graus17-Nov-08 21:13
protectorChristian Graus17-Nov-08 21:13 
QuestionNeed Help Pin
learningman17-Nov-08 12:46
learningman17-Nov-08 12:46 
AnswerRe: Need Help Pin
Christian Graus17-Nov-08 14:46
protectorChristian Graus17-Nov-08 14:46 
QuestionDataSet problem [modified] Pin
Phrone17-Nov-08 10:54
Phrone17-Nov-08 10:54 
AnswerRe: DataSet problem Pin
Christian Graus17-Nov-08 11:31
protectorChristian Graus17-Nov-08 11:31 
GeneralRe: DataSet problem Pin
Phrone17-Nov-08 11:46
Phrone17-Nov-08 11:46 
GeneralRe: DataSet problem Pin
Christian Graus17-Nov-08 14:47
protectorChristian Graus17-Nov-08 14:47 
Questionregister user control non declaratively Pin
hassanmohamed17-Nov-08 10:14
hassanmohamed17-Nov-08 10:14 
AnswerRe: register user control non declaratively Pin
Christian Graus17-Nov-08 11:33
protectorChristian Graus17-Nov-08 11:33 
Questionsave .csv with newline character Pin
ssircar197117-Nov-08 9:53
ssircar197117-Nov-08 9:53 
AnswerRe: save .csv with newline character Pin
NeverHeardOfMe17-Nov-08 11:08
NeverHeardOfMe17-Nov-08 11:08 
AnswerRe: save .csv with newline character Pin
Christian Graus17-Nov-08 11:34
protectorChristian Graus17-Nov-08 11:34 
QuestionAdding web reference problem because of autodetectcookiesupport Pin
AlexeiXX317-Nov-08 6:57
AlexeiXX317-Nov-08 6:57 
AnswerRe: Adding web reference problem because of autodetectcookiesupport Pin
mintxelas7-Jun-10 21:49
mintxelas7-Jun-10 21:49 
GeneralRe: Adding web reference problem because of autodetectcookiesupport Pin
AlexeiXX38-Jun-10 7:52
AlexeiXX38-Jun-10 7:52 
Questionembed own controls Pin
Tommispilot17-Nov-08 3:49
Tommispilot17-Nov-08 3:49 

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.