473,785 Members | 2,310 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I dont know how convert it to dataset or XML...

H

I'm trying to import a | seperated text from string variable which represents a tabl
with several fields, eg

6124079|PRIRUBA 11 DN250 PN6;CSN131160.0 ;11369.1;CSN131 005.50|KS|11,10 0000|3437,
6124080|PRIRUBA 11 DN200 PN6;CSN131160.0 ;11369.1;CSN131 005.50|KS|8,870 000|2761,

I dont know how convert it to dataset or XML...
Is there any function in .NEt or must I implement myself

Thank
Pavel
Nov 12 '05 #1
1 2838
i found an example using regular expressio
http://www.asia.microsoft.com/mspres...pchap/5199a.as

maybe you can modify that or google for mor

----- Pavel Novotný wrote: ----

H

I'm trying to import a | seperated text from string variable which represents a tabl
with several fields, eg

6124079|PRIRUBA 11 DN250 PN6;CSN131160.0 ;11369.1;CSN131 005.50|KS|11,10 0000|3437,
6124080|PRIRUBA 11 DN200 PN6;CSN131160.0 ;11369.1;CSN131 005.50|KS|8,870 000|2761,

I dont know how convert it to dataset or XML...
Is there any function in .NEt or must I implement myself

Thank
Pavel
Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
301
by: Pavel Novotny | last post by:
H I'm trying to import a | seperated text from string variable which represents a tabl with several fields, eg 6124079|PRIRUBA 11 DN250 PN6;CSN131160.0;11369.1;CSN131005.50|KS|11,100000|3437, 6124080|PRIRUBA 11 DN200 PN6;CSN131160.0;11369.1;CSN131005.50|KS|8,870000|2761, I dont know how convert it to dataset or XML... Is there any function in .NEt or must I implement myself
1
1737
by: Edwin Loubser | last post by:
Hi, My problem is that I dont want to output the transformed xml to a file! I convert a Dataset to xml and then apply the transformation using xsl. Dim xmlDoc As XmlDataDocument = New XmlDataDocument(ds) Dim xslTran As XslTransform = New XslTransform Dim writer As XmlTextWriter = New XmlTextWriter("C:\Test.xml", System.Text.Encoding.Default)
2
4595
by: Todd | last post by:
This is my first time trying to take the results of a query that reside in a Dataset and convert the dataset into an xml file. Everything works great, except that my resulting XML file is missing the xml declaration (the first line): <?xml version="1.0" encoding="iso-8859-1"?> Below is an example of the code I am using: dataset.Namespace = "RatesXML" Dim xmlFilename As String = "myXmlDocument.xml" Dim fsWriteXml As New...
0
10267
by: Thaddeus | last post by:
//Author: //Thaddeus Jacobs, MCP //Kinematic Automation, Inc. //mailto:tjacobs@kinematic.com // //Description: //convert ADO .NET dataset to ADO 2.5 2.6 2.7 recordset and v/v //DataSet to recordset conversion. //Get RecordSet from Dataset //ds2rs DataSet2RecordSet
0
1306
by: q8z | last post by:
private OleDbDataAdapter daClient; private OleDbDataAdapter daAdd; private OleDbDataAdapter daDelete; private string dataSource; private DataSet dataSet; private System.Windows.Forms.Button btnExit; private System.ComponentModel.Container components = null; private System.Windows.Forms.Label label1; private string mainSql = "Select * From people "; private string deleteSql = "delete * from people ";
2
1301
by: Luis Esteban Valencia | last post by:
I have a data grid control with a templated checkbox column residing in a asp.net user control. The checkbox boolean state determines if the item is later added or removed from another database table. The checkbox column is not part of the db schema, but is added at run time and initialized separately before binding the data table to the grid. A batch update is processed via a server side method invoked from a submit button outside the...
1
2418
by: Onur | last post by:
How can I convert back a dataView in Cache to a dataset?
2
331
by: karups | last post by:
Hi when i convert Excel file to dataset using the following code, i find that, some col. such as Col1 ------ 404 403 NOT 222
0
1091
by: kevinhint | last post by:
I have a dataSet in a C# class which in turn is saved in a Session variable. The dataset is intially loaded with SqlDataAdapters. As I go through various asp.net pages, I change data, etc. At the end, I pass the dataset to a Save routine that applies alot of biz logic before eventually saving everything to Sql Server. All that works fine. But I've noticed that changed data is getting saved to the db even if the user doesnt hit the Save at the...
4
9439
by: Brad | last post by:
I am trying to convert an XML Stream received from a web api call into a DataSet to use in the rest of the app. The issue I am running into is that it will not convert the stream to a dataset and halts the program. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= WebClient client = new WebClient(); string url="<url of the api>"; Stream data = client.OpenRead(url);
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9485
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10356
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9958
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7506
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6743
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5390
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5523
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4058
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.