|
I believe you need to put a \ in front of your special character. Do a quick replace of any reserved characters to make sure they get the \.
|
|
|
|
|
|
I wrote a tool to upload file to web, but it didnt work with Unicode file. Now I think out a solution to solve that problem is: I will package a folder into a file and then I can upload it. Can we do that with C#? If yes, how can I package a folder into a file?
Who can show me how to do that?
Thank you in-advanced!
|
|
|
|
|
The only way to do that is to ZIP up the files in the folder. You can then upload the .ZIP file and have the server side unpack it, if need be. But, a better solution would probably be to fix your code that is doing the uploading.
What are you using (on both the client and server end) to handle file uploads?
If your upload code didn't work with a UniCode file, what do you think is going to happen when your try to upload binary files?
BTW, if your using ASP.NET, your question really belongs in the ASP.NET Forum, regardless of the language you wrote it in.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I found it in the ASP.NET forum. Thanks!
|
|
|
|
|
Hi. I need to get the DataTable that is the datasource of a datagrid. I try this:
DataTable t = (DataTable)dataGrid1.DataSource
but t has null value. How can I get that value?
Regards,
Diego F.
|
|
|
|
|
Well, I found it. I had this line:
if !Page.IsPostBack and the grid was empty when the method was called.
|
|
|
|
|
Next time, be more specific about your question and the environment it's running in. You asked an ASP.NET question, which wasn't obvious in your first post but became bloody obvious with your second post. This question really belonged in the ASP.NET Forum.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I need an IDE, apart from VS .NET. (Not just a Code Editor)
Which would be good IDE for developing .NET applications?
It should also have intrinsic (compile and run from within the IDE) C#, ASP.NET, C++, Java, JSP. Anything else would be a plus.
|
|
|
|
|
Including all of that is very difficult. AFAIK, there is no IDE which contains C#, ASP.NET, C++, Java and JSP per default.
Must IDEs, however, can be extended by plug-ins.
I suggest you look into Eclipse (eclipse.org), which can be set up to provide support for nearly every programming language, if there is a plug-in available.
For C# I would recommend SharpDevelop (www.icsharpcode.com or .net or something like that).
Both are OpenSource and as such, can be downloaded for free.
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|
Hi Sebastian,
There is X-Develop of course.
It has a 20-day trial version. But I don't want to buy it. So I am looking for something similar.
Sourav.
|
|
|
|
|
You have borland IDE also for C#, but the cost $$$$$$$$$$$$$$$$...............
Borland always beats MS, in price also.
http://www.priyank.in/
|
|
|
|
|
Yes, Borland C# Builder.
Can u tell me this :
I compile a project from C# Buider and it gives me the required output on the command line console. However, the console window terminates immediately on completion of the output.
What do I have to do, to make it visible until I give the exit command ? An option is writing the line:
Console.Readline ();
at the end of the program. But I want to know, if this can be done NON-programmaticaly; i.e. by adjusting the IDE itself - Project / Run / Tools -menus, etc.
Best regards,
|
|
|
|
|
Primal Code from Sapien covers the .Net platform.
Eclipse would be the next suggestion. It may not include "all flavors" currently but it seems to be maturing at very rapid pace.
|
|
|
|
|
|
Can i use global mouse hook to detect if an application has been clicked by a mouse and use another application to detect it?
|
|
|
|
|
I know how to hide my app so that you can not see it, but thats not very usefull. I want to know if there is any way that i can hide another app like notepad or something.
I already know how to find the window and control it if thats any help.
|
|
|
|
|
You need to get the windows handle by p invoking the windows API function "FindWindow" and pass the windows's title in the first parameter and null for the second. Then you the api function, "ShowWindow" with the two parameters of the window's handle (IntPtr) and either (int) 0 to hide the window or 1 to show it again.
Here is some code samples:
//using System.Runtime.InteropServices
[DllImport("user32.dll")]
private static extern IntPtr FindWindow(string Class, string Title);
[DllImport("user32.dll")]
private static extern bool ShowWindow(IntPtr handle, int swConstOption);
/\ |_ E X E GG
|
|
|
|
|
hi there,
i need help on how to do a pacman type game to run on c compiler
it can be as simple as possible
can u please include the source code
thanks
|
|
|
|
|
This request is about the worst I've seen here in a while.
You want someone to write you a pacman game? Go to rentacoder.com.
You want something for borland c? Don't ask for it in a C# forum.
If you have troubles with a specific C# problem you can ask for help here, for everything else please pick the right place!
mav
|
|
|
|
|
I couldnt say it better!!
|
|
|
|
|
|
Hi
I just wanted a little help with Borland C# Builder.
I compile a project from C# Buider and it gives me the required output on the command line console. However, the console window terminates immediately on completetion of the output.
What do I have to do, to make it visible until I give the exit command ?
Thanks for your help.
|
|
|
|
|
Add a Console.ReadLine() at the end of the program, that'll make the app stay on screen till you hit Enter.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Thanks a lot Senthil. That works just fine.
Actually the IDEs also have something to do with it.
With the SharpDevelop IDE, I don't have to to do this programmatically; i.e. add the ReadLine () method. The appl stays on screen and says : "Press any key to continue"
So I was thinking if in C# Builder, we can adjust the ouput from the Project/Tools menu, other than programmatically.
By the way, apart from VS .NET, which in your opinion would be good IDE for developing .NET application. It should also have intrinsic C#, ASP.NET, C++, Java, JSP. Anything else would be a plus.
Warm regards,
Sourav.
|
|
|
|