Re: dataset from tab separated
- From: "Val Mazur \(MVP\)" <group51a@xxxxxxxxxxx>
- Date: Mon, 23 May 2005 20:58:55 -0400
Hi,
What you need to do is to create empty DataTable first that will have
required structure. Then you read the string and use Split method of String.
It allows to split delimited data into array. Now you need to add new row to
the dataTable and populate it from array
--
Val Mazur
Microsoft MVP
http://xport.mvps.org
"news.microsoft.com" <v-hshah@xxxxxxxxxxxxx> wrote in message
news:uUZdKx4XFHA.3356@xxxxxxxxxxxxxxxxxxxxxxx
> Hello
>
> I want to create a asp.net / winform application, which has a text box.
>
> In the text box, the user will paste data (copied from another source), in
> tab separated format.
>
> Supposedly, all the columns are always in a predetermined order, how can I
> put this into a dataset and bind to it ..
>
> Any input would be appreciated.
>
> Thanks
>
> Hemang
>
.
- Follow-Ups:
- Re: dataset from tab separated
- From: news.microsoft.com
- Re: dataset from tab separated
- References:
- dataset from tab separated
- From: news.microsoft.com
- dataset from tab separated
- Prev by Date: TypedDataset
- Next by Date: Re: Update Question
- Previous by thread: dataset from tab separated
- Next by thread: Re: dataset from tab separated
- Index(es):
Relevant Pages
|