|
|
I am having dataset cantaing lots of records.From that datset i have pick all the data and create a textfile of that records.And again I have to use the same textfile & update Database.What should I do
Sagar S Jagadale
|
|
|
|
|
What should you do about what? You mentioned two things. (1) Saving the contents of a DataSet to a text file. And (2) reading the contents of the text file into a database.
1. is fairly trivial if you only have one table with no complex data (i.e. no binary data)
2. has the potential of being done directly in the database, but you may wish to have it run through your application instead so as to provide a consistent user interface where the user doesn't have to learn a database product in order to import the data.
My: Blog | Photos | Next SQL Presentation
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More
|
|
|
|
|
Hi Colin,
Thanks for your suggestion.Can u provide cod e for the Same
Sagar
|
|
|
|
|
hi,
I am planning to write MCP certification in c#.NET can anyone sujest me some good book for this certification.
Thanking you.
Satish
|
|
|
|
|
Hi,
You can use Microsoft Selfpased Training Kit its a very good book. Also we have some books which we can down load for free in informit.com.
Thanks
SGS
|
|
|
|
|
hi kodanda Pani,
U suggested Microsoft Selfpased Training Kit.I could not find this.Can u just gide me to find it and also u told that some free books in informix.com I did not find them can u tell me how do I get these.
Thanking you in advance.
Satish
|
|
|
|
|
Hi,
In Microsoft Self-Paced Training Kit there is one book for each exam. You can get them from any vendor or online shopping marts. Aslo you can go to http://www.informit.com website and search for MCAD books. There are few good books avaliable in this site also.
Thanks and Regards
SGS
|
|
|
|
|
Hi
I like the Exam Cram2 books from QUE.
Claudio
|
|
|
|
|
Hi all,
I'm working on a C# project and need to store sensitive data (things like authentication tokens for web services etc.). Because C# applications can easily be reverse-engineered I want to encrypt/obfuscate these values with one of the provided encryption classes. However, to decrpyt these values at runtime I need the key/initialization vector. These would need to be stored inside the application as well -> they're visible in a decompiler. That's some kind of "chicken and egg" problem, does anyone have a hint or solution for this?
Thanks
If a train station is where the train stops, what's a workstation...?
|
|
|
|
|
The normal solution to this problem is to store the hashed value of the password. When the user enters his/her password, the application hashes it and compares it with the stored hash value to see if they match.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
But I don't want users to have to enter a password for two reasons:
1. A user shouldn't have to care about internal things
2. The user password (which equals the one hashed and put in the source) has to be given to each user
If a train station is where the train stops, what's a workstation...?
|
|
|
|
|
|
If you are truely paranoid about it there are a few things you can do:
1) Write a C function that returns all of your information and compile it into a DLL. Use P/Invoke to retrieve the information. Make sure all of the string data you store in the DLL is encrypted. When you return it from the C function you can unencrypt it at that time. Store the keys in the DLL as a byte array not a string to prevent 'strings' processing.
2) Write a COM dll that does the same thing as 1
There are problems with this as well because anyone else can load the C function, or COM object and invoke the required methods.
There is also the question of hiding information from one customer to another. You could do a one-time key gen and store it on the client machine. This would prevent one customer from obtaining information that might be important to someone else if they got a hold of their data files.
Yet another approach would be to use an algorithmic key generation approach. This would involve using a complex sequence of steps that produce a static key. The key wouldn't embeded in the software, but the algorithm that generates the key would be in the code. This code then could be obfuscated adding another layer of protection (Protection being relative in this case).
Always remember that if a client has binaries on their machine, it's difficult to absolutely prevent them from getting a hold of important data. That being said, you can make it so difficult to obtain the information that it's not worth it.
Now for the security experts, security by obscurity is not a good option. All of the methods I have mentioned is security through obscurity. Normally when it comes to security you need to base on it something else, like 'things they have', 'things they know', etc...
-
Drew
|
|
|
|
|
Hi, I'm trying to have interprocess communication between two programs. The first one is written in C++ (embedded for PocketPC) and the latter in C# and .NET CE (for PocketPC). I want to use memmory mapped files for IPC.
In the C++ side I use the following API:
CreateFileMapping()
CreateMutex()
MapViewOfFile()
...
What can I do from the C# side in order to communicate properly?
Thank you,
Themis
|
|
|
|
|
|
Does anybody know how to develop and add a custom image encoder / decoder to the list of existing ones in GDI+?
Regards: Didi
|
|
|
|
|
i want to send voice over network in C# or VB.net.
but in .Net framework there is no facility for
handeling Sound Card except DirectX.DirectSound .
i'v been use it but there is a problem.
in DirectX when you change the control from the form
of your program the sound process will be stop.
this is becouse that i must use the
public void SetCooperativeLevel(
Control owner,
CooperativeLevel level
);
function.
I try API in .net but it has itself problems.
do you know any way that save me from this hell.
i want to capture the sound send it on the network and
then play it at the otherside.
|
|
|
|
|
I can send you complette source, but in C++. This is only pure API containing client (UDP P2P connection, capturing and playing sound, compression codecs,
debugging console) and server for establishing connection between two peers ask me in jan.zuffa@inmail.sk
|
|
|
|
|
Hi all,
Does anyone know if one or more of the following features will be part
of .NET Framework 2.0 ?
a) Declaration of Operator overloading in interfaces.
b) Callback via function pointers (not through delegates!)
c) Typedef Type-definition
Thanks,
i.chen
|
|
|
|
|
|
Dear Friends,
I've two questions:
1) How can i come to know that the executable produced by VS.NET is dependent on which version of .NET framework ?
2) How can i instruct VS.NET to use my preferred version of .NET framework instead of what it is using by default, in order to produce assembly ?
Imtiaz
|
|
|
|
|
In VS.NET, rightclick on your project and open the properties.
1. If you did not change anything, its 1.1 by default.
2. There is an option "supported runtimes" (or something like that, I am using the German version) in the "application"-area. That is where you can select the desired framework.
1. (again) If you changed this option, you should KNOW which version you targeted. v1.1 always is a good guess.
Cheers
Sid
|
|
|
|
|
|
Hi, everyone:
I play video using DirectX.AudioVideoPlayback.Video. I would like to draw some markups (lines, texts, etc) on the video. How can I do it? I'm using C#.
Thank you very much.
Recnelis
|
|
|
|