Browse by Tags

Related Posts

  • Gridview to Insert Record - duplicate record

    Hi I used an examples from asp.net 2.0 Cookbook to create a gridview where you can insert a record using the footer. My code does insert the record, but it duplicates the record. It appears that it runs twice through the gvInsert_RowCommand. Can anybody assist me? My code: <%@ Page Language="VB"...
    Posted to Data Presentation Controls (Forum) by Rykielouw on 05-07-2009, 12:00 AM
    Filed under: Duplicate, Footer, Insert, gridview
  • GridView fails on Columns.Insert, works fine on Columns.Add???

    I've been going around in circles on this problem for days. I'm hoping some GridView expert out there can explain this odd behavior to me. I should mention that I'm using ASP.NET 2.0 and running Visual Studio 2005. I have a GridView with eight columns. All are added declaratively via markup...
    Posted to Data Presentation Controls (Forum) by danthman on 12-05-2008, 12:00 AM
    Filed under: TemplateField, twice, add, columns, insert, weirdness, GridView, dynamically, enableviewstate
  • Re: DropDownList not keeping the default in GridView FooterRow

    I have found the solution to this problem after spending days grappling with the horrors of the gridview. You need to set the control defaults in the Gridview_DataBound event. I will be writting up the details of my insertable grdiview on my blog shortly.
    Posted to Data Presentation Controls (Forum) by Jonsey on 11-12-2008, 12:00 AM
    Filed under: defaults, insert, GridView
  • Re: how to extract the "New" Value from a DynamicControl control, in a GridView Footer

    Hi Jashmead, I decided to go about doing the insert another way: I decided that I'd not bother with getting the GridView to do Insert and instead get the ListView to be a bit more dynamic, so heres my article: Dynamic Data Custom Pages: Dynamic/Templated Grid with Insert (Using ListView) From Windows...
    Posted to ASP.NET Dynamic Data (Forum) by sjnaughton on 10-09-2008, 12:00 AM
    Filed under: Custom Pages, Dynamic Data, GridView, Insert, ListView
  • Re: Help Inserting Related data

    For anybody interested, David Ebbo and Diego Vega came up with a solution for me on this. The problem and solution are also posted on the EF forum . As I suspected, I needed an InsertParameter, but didn't know how to use it, but here it is. The Parent Entity is on the page in a GridView, and the...
    Posted to ASP.NET Dynamic Data (Forum) by jtlembke on 09-25-2008, 12:00 AM
    Filed under: Custom Insert, Dynamic Data, FK, GridView, Insert, ListView, Entity Framework, DynamicControlParameter, foreign key, ForeignKey
  • GridView losses edit/delete abilty when adding formview

    Ok, this should be simple (I think), I create a new website in VWD 2005 Express. I create a SQL Database called Photograhy.MDF, it gets saved in the AppData folder. I create one table called Customers with the usual fields (CustomerId-with identity and key set,FirstName, LastName, Address, etc.). Pretty...
    Posted to Data Access and ObjectDataSource Control (Forum) by Photogenic on 11-20-2007, 12:00 AM
    Filed under: SqlDataSource, update gridview objectdatasource, data Acces, DataSource, Gridview - dataset, Insert, insert with GridView, database connection, gridview DataSource, Gridview, ConnectionStrings, FormView
  • How would you automatically set MaxLength for TextBoxes generated by a DetailsView in the edit or insert mode?

    I find that I consistently try to do the same thing over and over again with the standard gridview/detailsview setup. I want the detailsview edit and insert mode to know and assign the maxlength value to textboxes that it creates based on the size defined by the database/sqldatasource. I don’t want use...
    Posted to Data Presentation Controls (Forum) by arystrom on 01-15-2007, 12:00 AM
    Filed under: DetailsView, DetailsViews, DetailView, edit, edit mode, insert, insert mode, GridView
  • server problem while inserting data from gridview to SQL

    I have a gridview on my backoffice, i need to insert it's data to Sql. Gridview has 409 rows, when i insert 1 row to sql there is no problem with it. But when i try to insert 409 rows i get the following error. Server Application Unavailable The web application you are attempting to access on this...
    Posted to Configuration and Deployment (Forum) by RouteN on 07-29-2009, 12:00 AM
    Filed under: server, database, Gridview, problem, insert
Page 1 of 1 (8 items)