PdfGenerator - Dataset

PdfGenerator - Dataset

Forum member · Apr 26, 2007
Hello, My version : DynamicPDF v4.0.2 for .NET Community Edition I would like to use to use a dataset to extract informations for differents labels in my pdf document. But it seems not to work. My steps : 1 - I get the dataset from memory cache. 2 - I read informations from table. But the merge is always blocked ! this is my main code : Sub Page_Load(ByVal Source As Object, ByVal E As EventArgs) Handles MyBase.Load 'Dataset name in cache Dim strD1SetLocal As String = (Ctype(Server.HtmlEncode(Request.QueryString.GetValues("strD1Set")(0)),String)) Dim dsD1Bre As System.Data.DataSet 'Retrieve DataSet from cache dsD1Bre = cType(Cache(strD1SetLocal),System.Data.DataSet) ... 'Create a MyDocument and set it's properties Dim MyDocument As Document = New Document MyDocument.Creator = dsD1Bre.Tables(0).Rows(0)("CODDOS").ToString() ... And here it doesn't work. Is it possible to work directly with Dataset to extract some informations. How can i do that ? thanks a lot for your help. fabrice

Re: PdfGenerator - Dataset

Support · Apr 26, 2007
Hello fabrice, Yes, you can use the data from dataset to create PDF document without any problem. Can you please send a mail to [^a|mailto:support@cete.com|Support Team^] so that they can send you an example on creating PDF using a dataset's data. Thanks, ceTe Software Support Team.