Browse Source

ChangeLog: Updated ChangeLog.
AccessDataSource.cs: Updated.

svn path=/trunk/mcs/; revision=34899

Sanja Gupta 21 years ago
parent
commit
c65a500975

+ 12 - 0
mcs/class/System.Web/System.Web.UI.WebControls/AccessDataSource.cs

@@ -31,8 +31,11 @@
 #if NET_2_0
 
 using System.IO;
+using System.ComponentModel;
 
 namespace System.Web.UI.WebControls {
+	[ DesignerAttribute ("System.Web.UI.Design.WebControls.AccessDataSourceDesigner, System.Design",
+		"System.ComponentModel.Design.IDesigner")]			
 	public class AccessDataSource : SqlDataSource 
 	{
 		string dataFile;
@@ -81,6 +84,8 @@ namespace System.Web.UI.WebControls {
 		//Overrid implementation will depend on how .Net stores data in 
 		//Cache property of HttpContext object. 
 
+		[BrowsableAttribute (false), 
+		DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Hidden)]			
 		public override string ConnectionString {
 			get { return this.ConnectionString; }
 			set { throw new InvalidOperationException 
@@ -88,6 +93,11 @@ namespace System.Web.UI.WebControls {
 			}
 		}
 
+		[UrlPropertyAttribute (), DefaultValueAttribute (""),
+		WebCategoryAttribute ("Data"), 
+		WebSysDescriptionAttribute ("MS Office Access database file name"),
+		EditorAttribute ("System.Web.UI.Design.MdbDataFileEditor, System.Design", 
+			"System.Drawing.Design.UITypeEditor, System.Drawing")]
 		public string DataFile {
 			get { return dataFile; }
 			set { dataFile = value; }
@@ -96,6 +106,8 @@ namespace System.Web.UI.WebControls {
 			//Need to dig more on this.
 		}
 
+		[BrowsableAttribute (false), 
+		DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Hidden)]			
 		public override string ProviderName {
 			get { return this.ProviderName; }
 			set { throw new InvalidOperationException

+ 4 - 0
mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog

@@ -1,3 +1,7 @@
+2004-10-12 Sanjay Gupta <[email protected]>
+
+	* AccessDataSource.cs: Updated.
+
 2004-10-08 Sanjay Gupta <[email protected]>
 
 	* ValidatedControlConverter.cs: Updated.