Advertisement

03.25.2008 at 10:49PM PDT, ID: 23269537
[x]
Attachment Details

Copying a Dataset, then removing the first row

Asked by attipa in Programming for ASP.NET, Microsoft Visual Basic.Net

Tags: ASP.NET, VB.NET

I have the following code:

connection.Open()
Dim command As SqlCommand = New SqlCommand("GetHomepageInfo", connection)
command.CommandType = CommandType.StoredProcedure
Dim adapter As SqlDataAdapter = New SqlDataAdapter(command)
adapter.Fill(infoDS)
<-------------------------------------------------WHAT DO I PUT HERE????
HT_Repeater.DataSource = HTDS.Tables(0)
HT_Repeater.DataBind()
connection.close()

I want to copy infoDS.Tables(0) over to HTDS.Tables(0).  Then I want to delete HTDS.Tables(0).Rows(0).Start Free Trial
[+][-]03.25.2008 at 10:55PM PDT, ID: 21209160

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Programming for ASP.NET, Microsoft Visual Basic.Net
Tags: ASP.NET, VB.NET
Sign Up Now!
Solution Provided By: appari
Participating Experts: 2
Solution Grade: A
 
 
[+][-]03.25.2008 at 11:00PM PDT, ID: 21209172

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628