Click here to Skip to main content
15,890,717 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhelp me Pin
priyu 200910-Jul-09 20:48
priyu 200910-Jul-09 20:48 
AnswerRe: help me Pin
Abhijit Jana10-Jul-09 20:52
professionalAbhijit Jana10-Jul-09 20:52 
Questiontextbox inside template text issue Pin
sacwchiri10-Jul-09 20:38
sacwchiri10-Jul-09 20:38 
QuestionSlideshow extender with database records..., Pin
Member 387988110-Jul-09 19:30
Member 387988110-Jul-09 19:30 
AnswerRe: Slideshow extender with database records..., Pin
Abhijit Jana10-Jul-09 20:58
professionalAbhijit Jana10-Jul-09 20:58 
Questionproblem in reading data from (.dat) file Pin
souravghosh1810-Jul-09 19:20
souravghosh1810-Jul-09 19:20 
AnswerRe: problem in reading data from (.dat) file Pin
Parwej Ahamad10-Jul-09 19:28
professionalParwej Ahamad10-Jul-09 19:28 
AnswerRe: problem in reading data from (.dat) file Pin
Abhijit Jana10-Jul-09 20:48
professionalAbhijit Jana10-Jul-09 20:48 
souravghosh18 wrote:
In my application i want to read data from a (.dat) file line wise.

By .dat file, i beleive you want to mean the text file with .dat extentaion
souravghosh18 wrote:
can anyone give me a clue, how to achieve it.

Try Following :
static void Main(string[] args)
       {
           StreamReader StrReader;
           string Str;
           StrReader = File.OpenText("e:\\sample.dat");
           Str = StrReader.ReadLine();
           while (Str != null)
           {
               Console.WriteLine(S);
               Str = StrReader.ReadLine();
           }
           StrReader.Close();
       }

Now, This is nothing to related with ASP.NET. So from the next time post question in proper forum Smile | :)

cheers,
Abhijit
CodeProject MVP
Web Site:abhijitjana.net
View My Recent Article

QuestionReorderlist control problem.. Pin
RajpootRohan10-Jul-09 18:08
professionalRajpootRohan10-Jul-09 18:08 
AnswerRe: Reorderlist control problem.. Pin
Parwej Ahamad10-Jul-09 19:25
professionalParwej Ahamad10-Jul-09 19:25 
GeneralRe: Reorderlist control problem.. Pin
RajpootRohan10-Jul-09 19:55
professionalRajpootRohan10-Jul-09 19:55 
GeneralRe: Reorderlist control problem.. Pin
Parwej Ahamad10-Jul-09 20:02
professionalParwej Ahamad10-Jul-09 20:02 
GeneralRe: Reorderlist control problem.. Pin
RajpootRohan10-Jul-09 20:28
professionalRajpootRohan10-Jul-09 20:28 
AnswerRe: Reorderlist control problem.. Pin
Abhijit Jana10-Jul-09 20:54
professionalAbhijit Jana10-Jul-09 20:54 
GeneralRe: Reorderlist control problem.. Pin
RajpootRohan17-Jul-09 21:36
professionalRajpootRohan17-Jul-09 21:36 
Questionhelp me , user -defined control Pin
chienbq0709i10-Jul-09 9:21
chienbq0709i10-Jul-09 9:21 
AnswerRe: help me , user -defined control Pin
Abhijit Jana10-Jul-09 9:23
professionalAbhijit Jana10-Jul-09 9:23 
AnswerRe: help me , user -defined control Pin
Manas Bhardwaj10-Jul-09 10:24
professionalManas Bhardwaj10-Jul-09 10:24 
JokeRe: help me , user -defined control Pin
Abhijit Jana10-Jul-09 10:45
professionalAbhijit Jana10-Jul-09 10:45 
QuestionInsert data from Dataset to Multipule tables in SQLServer Pin
Ash_VCPP10-Jul-09 5:00
Ash_VCPP10-Jul-09 5:00 
AnswerRe: Insert data from Dataset to Multipule tables in SQLServer Pin
Manas Bhardwaj10-Jul-09 5:16
professionalManas Bhardwaj10-Jul-09 5:16 
GeneralRe: Insert data from Dataset to Multipule tables in SQLServer Pin
Ash_VCPP12-Jul-09 21:37
Ash_VCPP12-Jul-09 21:37 
AnswerRe: Insert data from Dataset to Multipule tables in SQLServer Pin
Abhijit Jana10-Jul-09 5:28
professionalAbhijit Jana10-Jul-09 5:28 
GeneralRe: Insert data from Dataset to Multipule tables in SQLServer Pin
Ash_VCPP12-Jul-09 21:47
Ash_VCPP12-Jul-09 21:47 
Questiondatareader Pin
mylogics10-Jul-09 2:35
professionalmylogics10-Jul-09 2:35 

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.