TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
kavita
NA
131
142.9k
Name 'Server' not declared
Jul 24 2007 7:09 AM
hi this is kavita I m just reading a text file and code is Try filename = Server.MapPath(file_path) 'st_reader = New StreamReader( 'Dim path1 As String = ser st_reader = New System.IO.StreamReader(filename) st_reader = File.OpenText(filename) data = st_reader.ReadToEnd() data = data.ToLower() st_reader.Dispose() st_reader.Close() Catch ex As Exception End Try Return data but it gives an error Name 'Server' not declared and when I upload my site it is very very slow. can anyone help me?
Reply
Answers (
2
)
minimizing the program
Fitting long line in Listbox on app for Pocket PC