'DbType' property Problem ?

M

mohammed rabah

I have this problem

Type 'System.Web.UI.WebControls.Parameter' does not have a public
property named 'DbType'.

<asp:parameter DbType="Guid" Name="sponsorID" />

i have .netframework v3.5 and i install sp1 for v3.5 but not work ,
and i write it without db

<asp:parameter Type="Guid" Name="sponsorID" />




what I can do
 
B

Brian Cryer

I have this problem

Type 'System.Web.UI.WebControls.Parameter' does not have a public
property named 'DbType'.

<asp:parameter DbType="Guid" Name="sponsorID" />

i have .netframework v3.5 and i install sp1 for v3.5 but not work ,
and i write it without db

<asp:parameter Type="Guid" Name="sponsorID" />




what I can do

So why are you looking for a property (DbType) which does not exist? It
should be Type not DbType. Where did you get DbType from?
 

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

Top