Dear's
How to Upload .dat file in asp.net. and while upload save different columns in oracle.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Jan 2, 2013, 11:02 PM
please go through below link for uploading file
http://msdn.microsoft.com/en-us/library/aa479405.aspx
after uploading file just read file fand split that data and save it.
string inputString;
resultLabel.Text = "";
using (StreamReader streamReader = File.OpenText("C:\myText.txt"))
{
inputString = streamReader.ReadLine();
while (inputString != null)
{
//write your split data logic and save data logic
}
}
hope this will help you.