'DbType' property Problem ?

  • Thread starter Thread starter mohammed rabah
  • Start date Start date
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
 
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?
 
Back
Top