Add Row to Dataset

From: Michael M. (MichaelM_at_discussions.microsoft.com)
Date: 03/22/05


Date: Tue, 22 Mar 2005 15:25:03 -0800

Hello, I have two crystal reports where I need to add rows dynamically to a
dataset before it goes to the report. In one report this works great. In the
other report I cannot add a row to the dataset even though the code looks
identical.

Dim newrow As DataRow = myDS2.Tables("CkItems").NewRow()
newrow("CkItem") = "Newly added DataRow"
myDS2.Tables("CkItems").Rows.Add(newrow)

The code runs without errors, but I don't see the new row. What else could I
be missing?



Relevant Pages

  • Re: ReportingService - Einzelner Datensatz als Datasource
    ... Ich glaube dann bleich ich lieber bei den Parametern. ... Sobald ich wieder von DataRow auf ... Dataview wechsele funktioniert der Report. ... übergib dem Report eine ID in einem Parameter, der im Report als Filter wirkt. ...
    (microsoft.public.de.german.entwickler.dotnet.datenbank)
  • Re: ReportingService - Einzelner Datensatz als Datasource
    ... habe versucht eine Datarow als Datasource zu übergeben. ... Sobald ich wieder von DataRow auf ... Dataview wechsele funktioniert der Report. ...
    (microsoft.public.de.german.entwickler.dotnet.datenbank)
  • Re: More on Chicago-area Boys Body
    ... In a suburban Washington, D.C., office, Jerry Nance pores over the ... case files of missing 3-year-old boys from around the country, ... Nance is working with DuPage County sheriff's ... autopsy report, he said. ...
    (alt.true-crime)
  • Missing Ashland family reportedly found alive
    ... Missing Ashland family reportedly found alive ... County Sheriff Chris Brown. ... The sheriff warned that this was only a ?preliminary report? ... Brown said searchers planned to zero in southwestern Douglas County, ...
    (alt.true-crime)
  • Crystal Reports/Crystal Viewer and VB.NET
    ... Production (+CR9 Redistributable Runtime Stuff [Crystal ... Development (+Crystal Reports) ... Works _great_ in the Crystal Report Designer (on the Development ... I know the Production box has the required CR9 Redistributable Runtime ...
    (microsoft.public.vb.crystal)