6,049 Topics

Member Avatar for
Member Avatar for new SE

Hi, now i'm working to export the gridview in asp.net to xml.. anyone have any idea.. just now,this is my code but there is some error that i can't figure out.. [CODE] Response.ContentType = "text/x-json"; XmlDocument xmlToExport = new XmlDocument(); string toExport = MethodToReturnXMLString(id); xmlToExport.LoadXml(toExport); Response.Write(xmlToExport); xmlToExport.Save("Filename.xml"); Response.End(); [/CODE]

Member Avatar for dnanetwork
0
78
Member Avatar for Nfurman

Hello! [CODE] private void btnRecord_Click(object sender, EventArgs e) { //try //{ Random num = new Random(2); XmlDocument xmlDoc = new XmlDocument(); XmlElement contact = xmlDoc.CreateElement("contact"); XmlElement name = xmlDoc.CreateElement("name"); XmlElement familyname = xmlDoc.CreateElement("familyname"); XmlElement momos = xmlDoc.CreateElement("momos"); XmlAttribute contactid = xmlDoc.CreateAttribute("id"); contactid.Value = num.ToString(); XmlText firtnametext = xmlDoc.CreateTextNode(tbName.Text); XmlText lastname …

Member Avatar for hielo
0
107
Member Avatar for miraj0072004

Hello friends , I am new to ant tasks.in this custom ant tasks I have tried to implement, there are two classes HelloWorld.java and CmdCompile.java. this is the build.xml I use, [CODE]<?xml version="1.0" ?> <project name="Antcompile" default="main" basedir="."> <!--<description>Builds, tests, and runs the project Antcompile.</description>--> <import file="nbproject/build-impl.xml"/> <taskdef name="hello" classname="just.inside.HelloWorld"/> …

Member Avatar for ~s.o.s~
0
379
Member Avatar for P00dle

Hi Daniweb. I'm using a file mask (eg '*.txt') to filter filenames in a program that I'm writing. It gets the file mask from an .xml settings file. Currently the mask is '*.xml', and the code I'm using to filter this is like this: [CODE]Pattern.matches(fileMask, fileName);[/CODE] The exception that is …

Member Avatar for P00dle
0
4K
Member Avatar for lewis.112

We have many software tools on our website, however it feels bore to explain all of my products SEO success. Instead, I thought of sharing SEO experience of my online exam software. Product: Skill Evaluation Lab is a Online Test Management Software to create and conduct computer based online examination. …

Member Avatar for lewis.112
0
273
Member Avatar for flyblackbox

I followed this tutorial and set up comments on my website: [url]http://www.ruhanirabin.com/easy-steps-to-facebook-connect-comment-box-how-to/[/url] Our site received hundreds of "Like's" and Comments. I changed the URL for my root directory and got a SSL certificate. The Facebook app is broken now, can anyone lend some insight?

Member Avatar for flyblackbox
0
147
Member Avatar for daudiam

I compiled a HelloWorld example using QtJambi. But on running it, it said "[B]failed to unpack native libraries[/B]. The complete error was : [CODE]daud@daud-laptop:~$ java -d32 com.trolltech.examples.tutorial.HelloWorld Exception in thread "main" java.lang.ExceptionInInitializerError at com.trolltech.qt.QtJambiObject.<clinit>(QtJambiObject.java:60) at com.trolltech.examples.tutorial.HelloWorld.main(HelloWorld.java:58) Caused by: java.lang.RuntimeException: Loading library failed, progress so far: Unpacking .jar file: 'qtjambi-linux32-gcc-4.6.3.jar' Checking …

Member Avatar for daudiam
0
251
Member Avatar for neosonic

Hi, I am currently using ms word template .dot to create a ms word document. My current goal is to create .xml file to be used for quickbook sdk input (qbxml). I am using ms word 2003 and I can save those .dot as a .xml document, but it is …

Member Avatar for neosonic
0
200
Member Avatar for RickW

I have this output from a mysql export: [code] <?xml version="1.0"?> <resultset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" statement="select product as sample,count(*) as count from table1 where itemno in (5,10,37) and type='food' and package='boxed' group by package,product order by count(*),product desc limit 5 "> <row> <sample>cereal</sample> <count>1</count> </row> <row> <sample>macaroni</sample> <count>1</count> </row> <row> <sample>cookies</sample> <count>2</count> …

Member Avatar for RickW
0
167
Member Avatar for NT.

Hi, I am trying to access a web service using the WSDL url. I am able to get all the related classes from that wsdl using wsdl2java emitter. I am able to create a client that can basically call the methods of the web service. Now, the problem is I …

0
65
Member Avatar for Cory_Brown

Does anyone have a way to change the background color of every other row in a table with xsl-fo. I'm using nFOP to create pdf's and have accomplished most everything I've needed but would like to have say every other row have a light gray background. If I statically set …

Member Avatar for floatingDivs
0
1K
Member Avatar for raghujosh

I am trying to deploy a simple web application. I only have 2 files, Entry.html and UpdateDBServlet. I have placed them under a directory in the webapps of tomcat. I can access the entry.html when Tomcat is running, but upon pressing the submit button, the UpdateDBServlet should be called, however, …

Member Avatar for raghujosh
0
189
Member Avatar for tamil.veera

how to search xml files in complete hard disk and display it's file name. if double click any file name then it will open a note pad(view the source coed) and another option is open the browser(Internet Explore,any browser) [B][COLOR="Green"]please write the code[/COLOR][/B] Thank you.......

0
45
Member Avatar for tamil.veera

how to search xml files in complete hard disk and display it's file name. if double click any file name then it will open a note pad(view the source coed) and another option is open the browser(Internet Explore,any browser) [COLOR="Green"][B]please write the code[/B][/COLOR] Thank you.......

0
31
Member Avatar for anony

while hosting a asp.net web service, where do i put the services in. like we put it in the iis in our computer. Any help will be really appreciated as i am clueless on how to do it.

Member Avatar for anony
0
77
Member Avatar for egenart

Hello! I've ran into a possible bug in Internet Explorer, in all versions below IE8. When testing my CSS work all content between the head of the page and the footer disappeares and I havn't found a workaround solution in my litterature. Anybody familiar with this bug? In Safari and …

Member Avatar for egenart
0
97
Member Avatar for Maksym

Hi all! Want to conveniently organize beta testing process - communication with testers. Need something that can be easily integrated with my application. Maybe somebody already had some experience using services available. Really apreciate your advice. Thanks!

0
52
Member Avatar for chuck577

Hello all, I have an xml file with the information below: [CODE] <?xml version="1.0" encoding="utf-8" ?> <ServerNames> <Name>dfwnbonner1</Name> </ServerNames> [/CODE] I am trying to get the Name of a server into a listview. This works fine with the above xml but as soon as I add another server name in …

Member Avatar for chuck577
0
217
Member Avatar for tedtdu

I need to parse XML documents without parsing libraries, that is, just create one of myself. E.g. input: [CODE]<aa><bb>H</bb></aa>[/CODE] I have to get rid of tags and show, if any, errors(mismatching tag etc). Any suggestion please. Thanks in advance!!

Member Avatar for NormR1
0
210
Member Avatar for amer.m

HI all, I tried to load xml object from record from database , and when i load it from a string directly , it's loaded successfully But when connecting to database and take the record that is saved as a string in the form of xml like : <MaintenanceSchedule><MaintenanceItem nScheduleType='2' …

0
42
Member Avatar for make11

Hi All, Sorry my bad english. I have a problem with my calendar. How I can mark table cells with image and with checkbox? I have a linear year calendar what show booked -> red and free -> green. Now I want when booking calendar and booking first day of …

Member Avatar for make11
0
90
Member Avatar for andrewtrench

Hi, all. I'm writing a little GUI thing to allow a user to specify variables in an xml file. I am battling to work out how to return all the .get() values from the Entry widgets back to a main application. The GUI is done as a function as the …

Member Avatar for andrewtrench
0
2K
Member Avatar for zoran

[font=Courier New]Hi I am trying to communicate with EPP Server. I have java client example which use Java HttpURLConnection method to establish the connection. Example: =================================================== 1.String address = "https://someserver.serv.com:429/epp/proxy"; 2.URL url = new URL(address); 3.HttpURLConnection c = (HttpURLConnection) 4.url.openConnection(); ==================================================== How can I do something similar to communicate with …

Member Avatar for ysihaoy
0
232
Member Avatar for Sidicus

Hello Everyone, I am trying to find a good way to get information from a website into a access 2007 database. Im thinking I should have the website write a text or xml file with the data on it and then have some program (or access itself if it can) …

Member Avatar for leo002000
0
97
Member Avatar for glenak

Hi all, I want to write some cryptographic operations using RSA, but its provider, bouncy castle, does not come inbuilt in java, which is why when I put in this code: [CODE]Provider bcProv = new org.bouncycastle.jce.provider.BouncyCastleProvider();[/CODE] I went to the providers site and they said something about putting this line …

Member Avatar for glenak
0
111
Member Avatar for davidscr

Hi, i realized a web service with xfire library, tested with a simple client simulator and with xmlspy. Now another client try to invoke the service, but this is the error that i can read on Tomcat catalina log. Can you help me to understand where is the problem? Thanks …

0
107
Member Avatar for rahulephp

I am a php programmer but I am not so good with XML files. For a price comparison website, I need to parse the Amazons XML feed to store product data into the database. Can anyone please help me to find out such a simple script to parse Amazon XML …

Member Avatar for Kieran Y5
0
656
Member Avatar for backendcode

on-page tips 1. Seo friednly domain name 2. Host your website from a best web hist company 3. Put your target keywords in title tag. and title tag should be less than 60 character and note: space is also character 4. meta description should be in sentence form and try …

Member Avatar for DanLew
0
209
Member Avatar for mooseable

I have been learning VB.NET and am currently having troubles retrieving data from an XML file. I'm trying to keep the code as simple as possible as I only need to select single items from an XML file, not rows of data. The XML file contains: [code]<CurrentPeakUsage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://au.com.amnet.memberutils/"> …

Member Avatar for mooseable
0
219
Member Avatar for backendcode

Hello guys, I dont know about RSS feed. How caan i do for my website and what is the benifit of it. Thanks

Member Avatar for abiseo
0
137
Member Avatar for G_Waddell

Hi All, I'm using VB.net to create a batch of word documents using the Microsoft Office OpenXML SDK. The documents are made up of a header and the main body which is made up of a table. I can sucessfully create the table in the main body. The issue is …

Member Avatar for G_Waddell
0
259
Member Avatar for rajasekhar1242

hi , i am trying to develop one jsp application with tag concept on netbeans tool. but i am getting this error "According to TLD or tagfile, Attribute uri is mandatory for tag dbquery " . i could not run my application due to this error. In Jsp file i …

Member Avatar for rajasekhar1242
0
176
Member Avatar for Damien0410

I have added case 9 into this document and added the appropriate entries elsewhere to make it work however i cannot get this to enter the checkboxes correctly. When i go to the form and I select checkboxes and i list the options and sav ethem, it goes into the …

0
71
Member Avatar for missbeginner

hey all could you please help me fix this problem? i spent hours looking for the solution, but haven't solved the problem. [code = c#] [U]web.config file[/U] [B]authorization[/B] [code=xml]<authorization> <allow roles="Admin"/> <allow roles="Employee"/> <allow roles="Manager"/> <deny users="?"/> </authorization> <roleManager enabled="true"/> <compilation debug="true">[/code] [B]authentication[/B] [code=xml]<authentication mode="Forms"> <forms loginUrl="Login.aspx" protection="All" timeout="30" name=".login" …

Member Avatar for new SE
0
284
Member Avatar for tedtdu

Assumming that program name is "XML.java", I need to perform the followings for each input file in command line--without running the code for every test file: java Xml < input1.txt java Xml < input2.txt : So My Code IS: [CODE]BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));[/CODE] [CODE]String fileName = bf.readLine();[/CODE] [CODE]File …

Member Avatar for tedtdu
0
133
Member Avatar for schnab-l

my pc is suddenly verry slow, can you perhaps check my logfile. i've getting randomly popups of internet explorer with adds. tnx Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 3:42:28, on 13-8-2010 Platform: Windows Vista SP1 (WinNT 6.00.1905) MSIE: Internet Explorer v8.00 (8.00.6001.18943) Boot mode: Normal Running processes: …

Member Avatar for jholland1964
0
347
Member Avatar for skyyforever

Hello, I have a problem opening Excel file which I have created using a xslt. Actually, I had a xml file which I transformed to an excel file and saved. I don’t know how to open it. Everything I have tried, didn’t work. Please, if someone knows the answer...

0
82
Member Avatar for monstercameron

i had an idea to make my own file formats but... have nearly zero coding experience. the image is just text which a program would parse and receive relevant pixel data from it(like xml based stuff). i wrote up some plan for the file: [CODE] `meta data [(title)test image] [(date)1,1,2010] …

0
319
Member Avatar for Nitu Khanna

Dear All, I am new to hibernate. Please help me out in solving the following error: [Fatal Error] :5:2: The markup in the document following the root element must be well-formed. C:\Documents and Settings\Neetu.Khanna\My Documents\NetBeansProjects\HibernateExp\nbproject\build-impl.xml:584: Deployment error: Tomcat configuration file C:\Documents and Settings\Neetu.Khanna\My Documents\NetBeansProjects\HibernateExp\web\META-INF\context.xml seems to be broken. Please make …

Member Avatar for JamesCherrill
0
645
Member Avatar for flebber

I am looking at a project that will import and modify an XML file and then export it to a table. Currently a flat file table system should be fine. I want to export the modified data to the table and then perform a handful of maths(largely simple statistical functions) …

Member Avatar for Beat_Slayer
0
94
Member Avatar for jayavenkat
0
73
Member Avatar for Brims

Im having problems with this script. Right now it adds everthing to the database if I take this out [php] <p><b>Genre:</b> <p><input type="radio" name="genre" value="existing" /> Existing => <select name="existing"> <option>Select One</option> <?php // Retrieve all the artists and add to the pull-down menu. $query = "SELECT genre_id, (genre_name) AS …

Member Avatar for metalix
0
162
Member Avatar for theshotts

Hi, I'm looking for help with my sons PC. When it does run it runs very slow. The task manager can show the cpu at only 5% for example but the light (hdd or cpu, not sure) is on constant as if it's working away. I ran adaware scan and …

Member Avatar for jholland1964
0
410
Member Avatar for amer.m

Dear all, i'm new in vbscript and i want to take a string from database and load it into xml dom object but i can't. My code: 'Creating XML object set xmlDoc=CreateObject("Microsoft.XMLDOM") xmlDoc.async="false" xmlDoc.load MsgBox xmlDoc for each x in xmlDoc.documentElement.childNodes frmMyForm.timeinfo2.value=x.nodename frmMyForm.timeinfo3.value=x.text 'document.write(x.nodename) 'document.write(": ") 'document.write(x.text) next

Member Avatar for hielo
0
467
Member Avatar for nirveshverma

hi to all this is my script for login means somebody wants to acess the private folder first it say to login then it redirect o requested page but ther is error when i submit the button please help me i take more than 26 hours but i am unable …

Member Avatar for lifefuture
-1
263
Member Avatar for Smudly

Hi, I am creating an admin page that allows me to view requests for sheet music that is not currently on my website. (View image to get an idea of what we're talking about). On this page are 6 columns. ID (autoincremented) This is the # the request is Userid …

Member Avatar for madCoder
0
87
Member Avatar for PythonNewbie2

Hey guys, I'm parsing some XML using minidom and whenever a comment has a "--" within it, I get an ExpatError. For example, a file may be like this: [CODE] <Label> Hello!</Label> <!-- The above label says Hello. -- It is clear, no? Let's try spicing it up a bit. …

Member Avatar for snippsat
0
2K
Member Avatar for sadhawan
Member Avatar for nick.crane
0
125
Member Avatar for Smudly

Hi, I have a page that lists the names of the Artists in one column, and the title of their song in the next column. I've included a sort section that allows users to view the artist (with the corresponding title) that starts with whatever letter they press. I've now …

Member Avatar for Smudly
0
147
Member Avatar for cac186

I'm working with a java application and trying to modify this code so that it no longer prompts the user with the Dialog box to save a txt file. The user already uses the Dialog box to choose a directory in which to save the file at an early point …

Member Avatar for cac186
0
612

The End.