Hello shiv,
Thank you for your reply. I solved this problem. But yes for your concern
i'll answer the questions.
Yes the path name is returing true. I'm reading the file from web server in
a directory in there called import.
I'm putting the server.mappath() function and its working because if i
remove the file or change path it is actually giving me the error that the
file couldn't be found.
I have some more questions. In ASP sometimes we put any flag variable after
recordset.movenext to do manythings. How can i implement that functionality
in .net. Furthermore is there any property like recordcount in ado.net
because i couldn't find any. Since i'm new to .net so can you please tell me
if its there which object it lies with.
Thanks
---------------------------------
Prince of Dhump
State Dhump of Himalaya
(Life is short make the full use of it)
"" wrote:
> Hi
>
> Where are you reading the CSV file or loading the CSV file.Is the path
> name having the CSV file name... Sqldatareader.read() return true if
> there are records in datareader , which is equivalent to .eof and .bof
> functionalities in old ADO.
>
> Shivprasad Koirala
> C# , VB.NET , SQL SERVER , ASP.NET Interview Questions
> http://www.geocities.com/dotnetinterviews/
>
>