Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to save the data in .Cs file, any data without using MS-Sql &TextFile
Posted

The question is not clear. It is stated to save the data in .cs file, which is the extension for the C# source code and then stated that without using MS-Sql and TextFile which are used for the Data to work with.

Assuming that the question is regarding the Data to work with, then apart from MS-Sql there are several options like Oracle, MySql, MS Access etc. TextFile is not a database, hence there is very limited options to store the data in a very organized way. The other alternative could be using an XML file for which there is good support in .NET.
 
Share this answer
 
v3
Comments
hitech_s 27-Apr-12 2:05am    
yes you are right VJ
VJ Reddy 27-Apr-12 2:38am    
Thank you, suresh.
sravani.v 27-Apr-12 2:49am    
My 5!
VJ Reddy 27-Apr-12 2:58am    
Thank you, sravani.
siri2012 i think u r new to programming.
.cs file contains c# statements,in simple words instructions to processor.
variables u use are not stored in hard disk but in ram and remains there till ur program lives in ram i.e.till processor has completed executing all instructions.
 
Share this answer
 
Comments
siri2012 30-Apr-12 3:17am    
Yes iam new to programming.ok thanks i dont know that's why I asked this question Thanks for your reply

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900