Re: [Mono-dev] databinder works?

2006-06-13 Thread Martin Hinks

If you read the first line of the exception it is fairly clear what
the problem is:

System.NotImplementedException: The requested feature is not implemented.

Unfortunately this portion of Mono has not yet been completed and so
is not implemented... yet.

On 6/13/06, Marco Aurélio Castro [EMAIL PROTECTED] wrote:

Hello,

I'm developing a site in Delphi 2006 to run in Mono and I tried to
connect a Dataset with an edit box by DataBinder. The connection is
text='%# DataBinder.Eval(DataSet,
Tables[Clients].DefaultView.[0].Client) %'

It works in Windows, what is wrong here?

The site returned the screen:


System.NotImplementedException: The requested feature is not implemented.
in 0x00021 System.Data.DataSet:get_Site ()
in 0x00107 System.ComponentModel.ComponentInfo:GetProperties ()
in 0xe System.ComponentModel.Info:GetProperties (System.Attribute[] 
attributes)
in 0x001c6 System.ComponentModel.TypeDescriptor:GetProperties (System.Object 
component, System.Attribute[] attributes, Boolean noCustomTypeDesc)
in 0x00011 System.ComponentModel.TypeDescriptor:GetProperties (System.Object 
component, Boolean noCustomTypeDesc)
in 0xc System.ComponentModel.TypeDescriptor:GetProperties (System.Object 
component)
in 0x00019 System.Web.UI.DataBinder:GetPropertyValue (System.Object 
container, System.String propName)
in 0x0029a System.Web.UI.DataBinder:GetIndexedPropertyValue (System.Object 
container, System.String expr)
in 0x00097 System.Web.UI.DataBinder:Eval (System.Object container, 
System.String expression)
in 0x00050 ASP.DetalheCliente_aspx:__BuildControl_TextBox1_DB_0 
(System.Object sender, System.EventArgs e)
in (wrapper delegate-invoke) 
System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in 0x00056 System.Web.UI.Control:OnDataBinding (System.EventArgs e)
in 0x00013 System.Web.UI.Control:DataBind ()
in 0x0006c System.Web.UI.Control:DataBindChildren ()
in 0x00021 System.Web.UI.Control:DataBind ()
in 0x0006c System.Web.UI.Control:DataBindChildren ()
in 0x00021 System.Web.UI.Control:DataBind ()
in 0x00192 DetalheCliente.TwebDetalheCliente:Page_Load (System.Object sender, 
System.EventArgs e)
in (wrapper delegate-invoke) 
System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in 0x00056 System.Web.UI.Control:OnLoad (System.EventArgs e)
in 0x00026 System.Web.UI.Control:LoadRecursive ()
in 0x00149 System.Web.UI.Page:InternalProcessRequest ()
in 0x000a9 System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context)
in 0x00233 System.Web.HttpApplication+ExecuteHandlerState:Execute ()
in 0x0007c System.Web.HttpApplication+StateMachine:ExecuteState 
(IStateHandler state, System.Boolean readysync)

Thanks,

Marco Castro



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.3/362 - Release Date: 12/6/2006

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list




--
Martin Hinks
http://www.m-s-d.net
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] databinder works?

2006-06-13 Thread Gonzalo Paniagua Javier
On Tue, 2006-06-13 at 13:09 -0300, Marco Aurélio Castro wrote:
 Hello,

 I'm developing a site in Delphi 2006 to run in Mono and I tried to 
 connect a Dataset with an edit box by DataBinder. The connection is
 text='%# DataBinder.Eval(DataSet, 
 Tables[Clients].DefaultView.[0].Client) %'
 
 It works in Windows, what is wrong here?
 
 The site returned the screen:
  
 
 System.NotImplementedException: The requested feature is not implemented.
 in 0x00021 System.Data.DataSet:get_Site ()

DataBinder works. If you look at the stacktrace, seems like DataSet.Site
is not implemented.

-Gonzalo


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list