Sqlite and Guid

I want to pass a Guid as SQL Parameter.
This is my working SQL code: select * from mfwva_Nieuwsbrieven where id = x'8EAE79DE5401B64194979C824AA1DF30'
Field id is of type Byte[]

So the parameterised version is: select * from mfwva_Nieuwsbrieven where id = @nbID

And now the parameter definition: what datatype should i select? String? I've tried them all -> nothing works.

They only working option is to insert the SQLCode directly into the table:
//TableDataSource tableNB = rptReport.GetDataSource("Nieuwsbrief") as TableDataSource;
//tableNB.SelectCommand = "select * from mfwva_Nieuwsbrieven where Id = " + reportPar;
before showing the report.

Anyone?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.