Running trough a Table of a DataSet
- From: "Tor Inge Rislaa" <tor.ingenospam@xxxxxxxxx>
- Date: Wed, 15 Nov 2006 22:53:08 +0100
I have a dataset with a table "Artikler". Before I bind the table to a
DataList in my Web Form I want to update the value of each row of the field
"PreText" in the table. (I don't want to update the database only the local
data of the DataSet Table) I want to replace all the occuranse of chr(13)
with the <br> tag.
01 myDataAdapter.Fill(myDataSet, "Artikler")
02 code for running trough the table and update the field "PreText" for
all rows
03 DataList1.DataSource = myDataSet.Tables("Artikler")
04 DataList1.DataBind()
I need some help filling in the code of line 02
TIRislaa
.
- Follow-Ups:
- Re: Running trough a Table of a DataSet
- From: Rad [Visual C# MVP]
- Re: Running trough a Table of a DataSet
- Prev by Date: Re: posting radiobuttons inside a gridview do not persist selection after postback..
- Next by Date: Re: looking for a very basic XML read example
- Previous by thread: Multiple address on mail message in .Net 2.0
- Next by thread: Re: Running trough a Table of a DataSet
- Index(es):