I've had a crack at creating a windows desktop application to convert a csv into an xml file, and for a beginner I think I did a pretty good job. I tried to use LINQ which building the structure, but noticed that it only worked on complete tags, it didn't seem to let me specify part of a document. So instead, I used LINQ on complete tags, but where I had to leave it open to perform some loops and if statements, I had to create a string that looked like xml, not really ideal as I had to manually do all of the indentations and open and close speech marks all over the place. I should point out that I'm not trying to create a static xml file. If the structure is something like the following:
I don't know in advance how many "forthTag"s will appear between the "thirdTag"s, so I know that from "root" to "thirdTag" is static, but beyond that, I need to run a lot of code to see how many times I should repeat the forthTag. I'm not sure if I've put forward my question very well, but in summary, I want to create xml using LINQ but without being forced to close my tags. I've got the program working perfectly well, but I'd like to learn to do it the most efficient way possible.
I need to create temp file on the clint side So, i read that files can be created on the folder of internet temp file. how I can do that?how I can get the path of the temp folder?I need VB code
in my project i would like to save pdf files in database, how to save pdf files in database ? along with that i would like to create create a search page to search for pdf files with PDF file names , how to accoplish these things
I want to create a log file and it should have information about the application like error occured at the line. If it is success then should log success message.
I followed the instructions from the release notes, except for one thing. I did not include the following in my web.config. Thas the the "bindingRedirect oldversion 1.0.0.0 to newVersion 2.0.0.0". I got an error message to the effect that I could not have 2 configuration sections in the web.config. I was told that as long as I had the system.web.mvc 2.0.0.0 in my BIN and, I was refereincing this same version dll that I should be fine? I am wondering if I should just create a new MVC2 project and copy my MVC1 relevent files into this MVC2 project, not sure.
I created a HttpHandler for downloading files from the server. It seems it is not handling anything...I put a breakpoint in the ProcessRequest, it never goes there.
public class DownloadHandler : IHttpHandler { public void ProcessRequest(HttpContext context) { //download stuff and break point } }
It never stops there, as mentioned. I also registered it in the web.config.
I am not sure about the path part of that entry. What do I have to enter there? I am downloading txt files, but the URL does not contain the filename, I somehow have to pass it to the handler. How would I do this? Session maybe?
I am trying to create a ad-hoc reporting system and plan to create the report rdl programatically using a wizard where user selects the attributes of the report.
point me to any documentation, sample application that I can refer to on how to create the rdl file programatically?
I am new to Visual Studio 2010 and ASP.Net, and when I first connected my SQL Server to Visual Studio it created huge files full of my SQL classes (maybe this was LINQ classes), and I accidently deleted/corrupted those files, and now I want it to create those classes again. Can someone tell me how I can do that?
my subprojects creates serveral web.config files? I have solution that consists of 10 projects and I want everyone to compalie but the one in the top root. Now my problem is that my subprojects are all located inside folders in the root and my subprojects generates each a web.config. Thhis doesnät work very good so what should I reconfigure would you say?
im looking for help dealing with some task. im wondering if there is any code that can automatic delete all files and folders in server folder. I have folder call "uploads" and i want to: first option - delete all the folders and files that in that folder in some day and hour every week (lets say every sunday at 3 am), and if its not possible, option 2 - to trigger that process with button (delete all folders and files in "uploads" folder after click that button.
I have a web service I need to connect to. But when trying to connect to it through visual studios, I get this error. The request failed with HTTP status 405: Method Not Allowed. I have the wsdl files on my location machine. I was told to create the proxies from these. The problem is I'm not quite sure how. This seems to be a little over my head right now. Not the best project to learn WCF or WSE on. Does anyone know how to create the proxies from wsdl files on my local machine. The services themselves are pretty simple, they just have security elements in the headers. UsernameToken. And then some custom fields.
I would like to figure out how to create an xml file that is of a directory of existing xml files. With this file I would then have an autocomplete extender to locate said blogs.
I'm using this code for creating and xml file out of a SQL2005 table:
[Code]....
Is there a way for me to create multiple xml files, one for every row, going by the primary key column, or do I have to create a separate query for each row?
I would also wondering what is the syntax for transforming this query into a stored procedure
I'm developing a CMS aplication in ASP .Net using WebForms and I'm looking for a way to create new PDF files based on a template.
This feature will be used to generate contracts where some placeholders will be replaced with the customer data.
Edited: The templates will be static, the main content will never change from customer to customer, only some text in the beginning that will contain the placeholders to recive the customer data. The catch is that I must allow the owner of the application to upload new templates in PDF, with the predetermined placeholders in it to allow the replacement to occur.