Click here to Skip to main content
15,887,683 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Use of javascript Pin
niki_nilu6-Jul-08 21:54
niki_nilu6-Jul-08 21:54 
GeneralRe: Use of javascript Pin
eyeseetee6-Jul-08 22:07
eyeseetee6-Jul-08 22:07 
AnswerRe: Use of javascript Pin
Sherin Iranimose6-Jul-08 22:24
Sherin Iranimose6-Jul-08 22:24 
AnswerRe: Use of javascript Pin
Ivan.Yan6-Jul-08 23:13
Ivan.Yan6-Jul-08 23:13 
Questiontoggle button extender in panel.........., Pin
Member 38798816-Jul-08 21:27
Member 38798816-Jul-08 21:27 
QuestionError:server.mappath Pin
rockram6-Jul-08 21:03
rockram6-Jul-08 21:03 
AnswerRe: Error:server.mappath Pin
Imran Khan Pathan6-Jul-08 21:13
Imran Khan Pathan6-Jul-08 21:13 
AnswerRe: Error:System.IO.FileNotFoundException: Could not find file 'C:\Documents and Settings\Owner\My Documents\Visual Studio 2005\sample\filepath'. Pin
rockram6-Jul-08 21:32
rockram6-Jul-08 21:32 
code:
private void LoadDictArray(string strPath, string strBegin)
{
bool boolStart = false;
string strCurrent = "";
string strFinal = "";
string filepath = "C:/Documents and Settings/Owner/My Documents/Visual Studio 2005/sample/dict-large.txt";

// Open our dictionary file
StreamReader srDictionary = new StreamReader(Server.MapPath("filepath"));--->Error Line
// Check each line and loop while there is another
while (srDictionary.Peek() != -1)
{
// Read the current line
strCurrent = srDictionary.ReadLine();
// Does the first character match our word's
if (strCurrent.Substring(1).ToLower() == strBegin.ToLower())
{
boolStart =true;
// Only add words beginning with the same letter as the current word
strFinal += strCurrent;

}
// Exit, we have all our relevant words
if (boolStart == true & strCurrent.Substring(1).ToLower() != strBegin.ToLower())
{
break; // TODO: might not be correct. Was : Exit While
}
}
// Close the streamreader
srDictionary.Close();
char[] char1 ={ '\n' };
// Split our string into an array of suitable words
strDictArray =strFinal.Split(char1);
}

The dict-large.txt file is in the solution explorer itself
GeneralRe: Error:System.IO.FileNotFoundException: Could not find file 'C:\Documents and Settings\Owner\My Documents\Visual Studio 2005\sample\filepath'. Pin
eyeseetee6-Jul-08 21:45
eyeseetee6-Jul-08 21:45 
GeneralRe: Error:System.IO.FileNotFoundException: Could not find file 'C:\Documents and Settings\Owner\My Documents\Visual Studio 2005\sample\filepath'. Pin
N a v a n e e t h6-Jul-08 22:25
N a v a n e e t h6-Jul-08 22:25 
QuestionIE6 vs IE7 and Firefox Pin
TheEagle6-Jul-08 20:56
TheEagle6-Jul-08 20:56 
AnswerRe: IE6 vs IE7 and Firefox Pin
eyeseetee6-Jul-08 21:34
eyeseetee6-Jul-08 21:34 
QuestionExport to Excel sheet from Datagrid Pin
Harini N K6-Jul-08 20:56
Harini N K6-Jul-08 20:56 
Questionquery to find those student names who did not appear in all exams [modified] Pin
Pankaj Garg6-Jul-08 20:35
Pankaj Garg6-Jul-08 20:35 
AnswerRe: query to find those student names who did not appear in all exams Pin
eyeseetee6-Jul-08 21:41
eyeseetee6-Jul-08 21:41 
GeneralRe: query to find those student names who did not appear in all exams Pin
Pankaj Garg6-Jul-08 21:47
Pankaj Garg6-Jul-08 21:47 
GeneralRe: query to find those student names who did not appear in all exams Pin
eyeseetee6-Jul-08 21:53
eyeseetee6-Jul-08 21:53 
GeneralRe: query to find those student names who did not appear in all exams Pin
Pankaj Garg6-Jul-08 21:59
Pankaj Garg6-Jul-08 21:59 
GeneralRe: query to find those student names who did not appear in all exams Pin
eyeseetee6-Jul-08 22:12
eyeseetee6-Jul-08 22:12 
JokeRe: query to find those student names who did not appear in all exams Pin
hogan.john6-Jul-08 22:11
hogan.john6-Jul-08 22:11 
GeneralRe: query to find those student names who did not appear in all exams Pin
eyeseetee6-Jul-08 22:14
eyeseetee6-Jul-08 22:14 
GeneralRe: query to find those student names who did not appear in all exams Pin
hogan.john6-Jul-08 22:19
hogan.john6-Jul-08 22:19 
GeneralRe: query to find those student names who did not appear in all exams Pin
eyeseetee6-Jul-08 22:37
eyeseetee6-Jul-08 22:37 
Questiongrid view insertion Pin
ss20506-Jul-08 20:31
ss20506-Jul-08 20:31 
AnswerRe: grid view insertion Pin
eyeseetee6-Jul-08 21:42
eyeseetee6-Jul-08 21:42 

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.