It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Can anybody help me...I already google for almost 3 hours,but no solution found...How to set app.config value using javascript in C#?? Thanks...
I assume you want to edit app.Config and you can't
App.config is serverside and javascript is clientside
If you are crazy you might beable to use javascript and manipulate the app.config as if it is just plain xml
XML string manipulation in JS?
Madness though.
Even manipulating the config file through c# isn't the best idea. app.config is for initial setup - values that won't change during the lifetime of the app.
2nd answer here Is switching app.config at runtime possible? gives further details / reasons for not meddling
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I need help in creating a console application, where I have to get a list of items from a XML document using a server, remote and client. I have already created a XML document
XML document looks like this:
<clothing>
<pants>Jeans</pants>
<shirt>T-Shirt</shirt>
<shoes>Boots</shoes>
</clothing>
Now my question is where do I go from here? I understand the basics but don't know how to proceed with this, any help will be appreciated, thanks.
For tips on creating a console application, see How to: Create a C# Console Application. To read an XML file, look into XDocument.Load. There are samples in the XmlDocument documentation that will show you how to get individual elements and attributes from the document.
For client/server communications, it's hard to say. Probably you want something like TcpListener.
That should at least get you a starting place.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Is there a way to make windows standalone program which will have JQuery powering its UI?
Since it will be a file manager, I would need to be able to access local files and folders so using HTML5+CSS+JQuery in browser is not possible due to limitation of access to local file system.
I would be most comfortable using c# and VS2008 environment if possible. Any ideas?
You can use jQuery in HTA applets.
You can give a try to javaFX if you are ready to give a try to java. A sample DatePicker for JavaFX using jQuery UI can be found here DatePicker
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am writing a silverlight application using c#. For the project I need to be able to compile and download a program to an external drive. I have the code to do this however it is written in Java.
The code is extensive and would take an excessive amount of time to translate all of it into c#. Is there an alternate way to translate the code into c# or is there a way to run java code within a c# project?
You could always compile it as an executable and run it with Process.Start.
You can use IKVM.net to convert the jar to a dll
In google you can find a online service for it or change same code witch doesn't work
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm trying to implement a basic file, image upload utility into a small, simple (built using the Visual Web Developer tutorial) C# MVC3 ASP.Net web site. I have see this utility pointed out here on StackOverFlow a few times:
https://github.com/blueimp/jQuery-File-Upload
...but unsure if I can just slot it into my MVC3 C# Website? (I am very new to attempting to learn MVC3 with C#).
I also see lots of this guides floated around the place:
http://aspzone.com/tech/jquery-file-upload-in-asp-net-mvc-without-using-flash
http://davidsonsousa.net/en/post/how-to-upload-a-file-using-mvc-3-and-ajax
http://tomas.epineer.se/archives/3
Can any of these simply be slotted into my website?
Appreciate any help
Yes. The first two seem to fit perfectly.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I want to make a Quote Ticker Control in C#
in which Live data should be come from stock exchange
How i will do it
Thanks
Read up on web services, it will probably be the best way to get upto date live information and then you'd use the results to update your control on your C# form.
This article should help you out!
Try to work out some of it and post specific questions.
Plan
Implement
Test
Deploy
Assuming this is for a web application, in addition to web services you will probably want to look into AJAX so you can refresh the data without having to postback the page.