#2. Called it thusly...UltraWebGrid1.DataSource = user.ProviderGroups[0].ProviderGroup.Providers;UltraWebGrid1.DataMember = "Id";UltraWebGrid1.DataBind();And got a different error[InvalidCastException: Unable to cast object of type 'System.Guid' to type 'System.Collections.IEnumerable'.] Infragistics.WebUI.UltraWebGrid.DBBinding.FillColumns(UltraWebGrid grid, UltraGridBand currentBand, IEnumerable datasource) +8371 Infragistics.WebUI.UltraWebGrid.DBBinding.FillColumns(UltraWebGrid grid, UltraGridBand currentBand, IEnumerable datasource) +8390 Infragistics.WebUI.UltraWebGrid.DBBinding.BindList(IEnumerable datasource) +293 Infragistics.WebUI.UltraWebGrid.DBBinding.DataBind(Object dataSource, String dataMember) +1928 Infragistics.WebUI.UltraWebGrid.UltraWebGrid.DataBind() +1232 UserMaintenance_UserMaintenance.Page_Load(Object sender, EventArgs e) in c:\Inetpub\wwwroot\SPSPortal\UserMaintenance\UserMaintenance.aspx.cs:114 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +47 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436Ideas?
It is very hard to tell from what I am seeing, but I do have a couple of suggestions that may help us go further
1. Bind stock asp:gridview and asp:datagrid components to the same datasource and see if it works
2. Is see that what you are binding to, "el", is returned from GetEntities method - is it possible that it contains a list of tables? In this case, you may beed to set the DataMember property of the control as well
3. If 1 & 2 do not help, could you please paste the complete stack trace you are getting (not just the last line) - this will surely provide additional clues.
Hope this helps!