Hi,
I have a DropDownList with uniqueidentifiers as values and I
have
manually added a 'None' option like this:
DropDownList parent =
siteSetupForm.FindControl("parentDDL")
as DropDownList;
parent.Items.Insert(0,new ListItem("None",
null));
I have tried a few different approaches but I can't seem to
get around
this SQL error:
Conversion failed when converting from a character string
to
uniqueidentifier.
Does anyone know the syntax to pass that null without
sqlServer
thinking it's a string?
Thanks
Haze
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "ASP.Net Community" group.
To post to this group, send email to aspnet googlegroups.com
To unsubscribe from this group, send email to
aspnet-unsubscribe googlegroups.com
For more options, visit this group at http://gr
oups.google.com/group/aspnet?hl=en
-~----------~----~----~----~------~----~------~--~---
|