diff options
Diffstat (limited to 'mcs/class/System.Web/System.Web.UI.WebControls/CookieParameter.cs')
-rw-r--r-- | mcs/class/System.Web/System.Web.UI.WebControls/CookieParameter.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/CookieParameter.cs b/mcs/class/System.Web/System.Web.UI.WebControls/CookieParameter.cs index 0d3c459a57e..257ddc4b3a9 100644 --- a/mcs/class/System.Web/System.Web.UI.WebControls/CookieParameter.cs +++ b/mcs/class/System.Web/System.Web.UI.WebControls/CookieParameter.cs @@ -31,6 +31,7 @@ #if NET_2_0 using System.Collections; using System.Collections.Specialized; +using System.Data; using System.Text; using System.ComponentModel; @@ -57,6 +58,11 @@ namespace System.Web.UI.WebControls { { CookieName = cookieName; } + + public CookieParameter (string name, DbType dbType, string cookieName) : base (name, dbType) + { + CookieName = cookieName; + } protected override Parameter Clone() { |