ObjectDataSource and Guid

  • Thread starter Thread starter Arjen
  • Start date Start date
A

Arjen

Hi,

I need to add a Guid parameter to my objectdatasource. But how???

First I get a string with the guid value. Sounds like I have to transfor the
string to guid.
Second I have to add the guid to the objectdatasource.

Here you see a string...
ObjectDataSource1.SelectParameters.Add(new Parameter("myCode",
TypeCode.String, myGuid));
(myGuid is my guid as a string value)

This don't works... but there is no Guid option in TypeCode... what to do?

Thanks!
Arjen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top