Monday, March 8, 2010
...
ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology.
in progress ...
The Open Group Architecture Framework (TOGAF) is a framework for enterprise architecture which provides a comprehensive approach to the design, planning, implementation, and governance of an enterprise information architecture.
Saturday, March 6, 2010
Friday, March 5, 2010
Append access (FileMode.Append) can be requested only in write-only mode
FileInfo fileInfo = new FileInfo(@"c:\test.txt");
FileStream fileStream = fileInfo.Open(FileMode.Append, FileAccess.Write, FileShare.ReadWrite);
byte[] arr = { 0, 65, 66, 67 };
fileStream.Write(arr, 0, arr.Length);
fileStream.Close();
Append access (FileMode.Append) can be requested only in write-only mode:
FileStream fs = fileInfo.Open(FileMode.Append, FileAccess.Write);
FileStream fileStream = fileInfo.Open(FileMode.Append, FileAccess.Write, FileShare.ReadWrite);
byte[] arr = { 0, 65, 66, 67 };
fileStream.Write(arr, 0, arr.Length);
fileStream.Close();
Append access (FileMode.Append) can be requested only in write-only mode:
FileStream fs = fileInfo.Open(FileMode.Append, FileAccess.Write);
Short Tips to Remember (1)
The OpenText method returns a StreamReader object:
FileInfo objFile = new FileInfo(@"c:\ref29.txt");
StreamReader sr = objFile.OpenText();
string s = sr.ReadToEnd();
sr.Close();
- - - - - - - - - - - - - -
Recommended Blogs:
1)
Improve Your General Knowledge in Leisure Time!
http://www.gklt.blogspot.com/
also on Amazon:
http://www.amazon.com/Improve-Your-General-Knowledge-Leisure/dp/B002MUB11S
2)
Improve Your Vocabulary in Leisure Time!
http://ievlt.blogspot.com/
also on Amazon:
http://www.amazon.com/Improve-Your-Vocabulary-Leisure-Time/dp/B0036B9STY
3)
Improve Your Memory (Level 1 of 3)
http://iymbas.blogspot.com/
also on Amazon:
http://www.amazon.com/Improve-Your-Memory-Level/dp/B0036FTMSW
FileInfo objFile = new FileInfo(@"c:\ref29.txt");
StreamReader sr = objFile.OpenText();
string s = sr.ReadToEnd();
sr.Close();
- - - - - - - - - - - - - -
Recommended Blogs:
1)
Improve Your General Knowledge in Leisure Time!
http://www.gklt.blogspot.com/
also on Amazon:
http://www.amazon.com/Improve-Your-General-Knowledge-Leisure/dp/B002MUB11S
2)
Improve Your Vocabulary in Leisure Time!
http://ievlt.blogspot.com/
also on Amazon:
http://www.amazon.com/Improve-Your-Vocabulary-Leisure-Time/dp/B0036B9STY
3)
Improve Your Memory (Level 1 of 3)
http://iymbas.blogspot.com/
also on Amazon:
http://www.amazon.com/Improve-Your-Memory-Level/dp/B0036FTMSW
Subscribe to:
Posts (Atom)