Search

You searched for the word(s): userid:7

Matching Posts

  • Re: Invalid DataContextPartialClass file generated for SQL columns with special characters in name

    Thanks for reporting this issue. We are aware of the problem and are planning to fix it in a future Code Gallery release. --Bradley
    Posted to ASP.NET Dynamic Data (Forum) by BradMi on 6/6/2008
  • Re: Adding a column/changing schema

    In response to... >> What I am trying to get at is... what do I need to add to get the column to show up? Is there more than what I posted above that is necessary? Hi Craig -- What you've added to the partial classes file looks fine. To get the column to appear in a wizard-generated page, you'll need to open up the page itself and add a DynamicControl to the ListView's ItemTemplate, e.g. <asp:DynamicControl DataField="<your new field>" runat="server"
    Posted to ASP.NET Dynamic Data (Forum) by BradMi on 5/3/2008
  • Re: SQL Server Database Item

    I believe that the auto-attach capability depends on user instances, which is a feature only present in SQL Server Express. For this reason, Visual Studio contains an explicit check for the presence of SQL Express when creating/attaching to a local MDF. http://msdn.microsoft.com/en-us/library/bb264564.aspx User Instance Limitations The unique User Instance architecture introduces some functional limitations as follows: · User instances only work in the Express Edition of SQL Server 2005. Note that
    Posted to Visual Studio 2008 (Forum) by BradMi on 4/30/2008
  • Re: Dynamic Data Wizard and VS Templates

    Hi Perry, I agree with you, and we've actually been designing the wizard with extensibility in mind. However, since the wizard is still in its relatively early stages of development, we are still working out the kinks in our codegen model. At this point, I think it would be premature to open up the wizard to extensibility (since we keep changing the interfaces to accomodate new requirements). We are also finding that the work required to plug into the wizard codegen is quite complicated and expensive
    Posted to ASP.NET Dynamic Data (Forum) by BradMi on 4/12/2008
  • Re: Wizard Issues

    I am not sure what you expect to see for DateTime fields instead - can you please clarify? When I run scaffold pages (not generated by the wizard), my DateTime fields also show up as TextBoxes.
    Posted to ASP.NET Dynamic Data (Forum) by BradMi on 4/11/2008
  • Re: Wizard Issues

    Thanks for pointing this issue out. Yes, it appear that we have a bug in the wizard, where it uses the foreign key field name instead of the association property name for DynamicControls in an EditItemTemplate and InsetrItemTemplate. For example, in the EditItemTemplate for an Order (Northwind database), we generate this: < asp : DynamicControl Mode ="Edit" runat ="server" ValidationGroup ="OrderListListView1_Edit" DataField ="CustomerID"> Instead of
    Posted to ASP.NET Dynamic Data (Forum) by BradMi on 4/11/2008
  • Re: Retrieving data from a SQLdatasource

    Actually, you could handle the DataBound event on DetailsView instead. This will allow you to access the DetailsView's DataItem property to get the UserName value. Unfortunately the data source itself doesn't provide an event that allows you to get the data directly. Hope this helps, Bradley
    Posted to Getting Started (Forum) by BradMi on 4/11/2006
  • Re: Update in DetailsView Doesn't Update!

    I see two potential problems: 1) In order to pass the original value for game_id to the data source, you want to set DataKeyNames="game_id" on your DetailsView control. 2) I think you want the editable BoundFields to match up with the sproc params, in this case the description BoundField should be editable (ReadOnly=false) and all others should be ReadOnly=true. I suspect right now the data source is being passed more params than your sproc accepts. Hope this helps, Bradley
    Posted to Data Presentation Controls (Forum) by BradMi on 3/27/2006
  • Re: Strongly typed DataSet connection string

    When the DataSet is created as part of a Web project, the TableAdapter reads connection string values directly from Web.config using the config APIs. When the DataSet is created as a separate class libary project, the TableAdapter reads connection string values through an associated settings class (compiled from a .settings file at build time). The settings class will read the value from Web.config. As long as you have the correctly-named connection string name in Web.config it should work, for example
  • Re: GridView Default Value Which Will Show All Records?

    One way to handle this is to use NULL/empty string for the default value of each dropdown, and then configure your data source to omit the filter for that field when it receives a NULL/empty parameter value. This is more easily done with ObjectDataSource (where you can write some custom code in the SelectMethod to handle NULL params), but could probably be done using SqlDataSource if you wrote a sproc for the SelectCommand. There is a simple example using SqlDataSource and a single dropdown in the
    Posted to Data Presentation Controls (Forum) by BradMi on 3/1/2006
Page 1 of 7 (64 items) 1 2 3 4 5 Next > ... Last »