Browse by Tags

Related Posts

  • GridView - using different datasources for select and edit templates

    I've been reading this forum and MSDN library for several hours now, so please re-direct me if this has been answered elsewhere and I've missed the post. For readability, I want to show names in the form 'FirstName LastName' as a single field in a GridView, but when I edit a row, I want to then display...
    Posted to Data Presentation Controls (Forum) by graeme.whelan@gmail.com on 11-05-2006, 12:00 AM
    Filed under: GridView, GridView editing, dataview, asp.net 2.0, datasource, Binding, BoundField
  • Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.

    I've been running into the following error: "Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control." I've seen a few threads which address this problem as it pertains to interdependency between two drop down lists, however my situation is somewhat...
    Posted to Web Forms (Forum) by stimmell on 02-02-2007, 12:00 AM
    Filed under: gridview, data access, eval, datasource, data binding, bind
  • problem with retrieving/displaying data based on form input

    Hi, I've developed a form which accesses a database through a data layer and sends parameters based on the form input. I have written the following code which works by checking if the textbox is empty and passing a null value as a string to the search parameter in the query, of which there are five:...
    Posted to Data Presentation Controls (Forum) by tomosap on 02-22-2007, 12:00 AM
    Filed under: GridView, problem, string, database, sqldatasource, label, datasource, rows, records, If Statement, Null, GridView asp.net, data access layer, table adapter, databinding, data, ASP.net 2.0 GridView InsertParameters ControlParameter PropertyName, Updateparameters, sql, search, VB, textbox, method, parameter, querystring, ADO.NET, access database, FORM, SELECT
  • Re: Programmatically defining a DataView's Datasource

    Here is the Code I have so far for the Page_Load event: '------------------------------------------------------------------------------------------- Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim strTableName As String strTableName = Request.QueryString...
    Posted to Data Access and ObjectDataSource Control (Forum) by shepujw on 05-21-2007, 12:00 AM
    Filed under: Gridview, DAL, DataAdapter, DataSource
  • Gridview Edit template, 2 dropdowns, for examlpe (State, city )

    Hi, This has stumped me for a couple of weeks. I can create a dropdown box (State), in the edit template of the gridview control, that works great. Now I need a second dropdown (City), in the next column over, that is based on the selection of the first dropdown (State). I haven't looked at this...
    Posted to Data Presentation Controls (Forum) by TallMike on 06-02-2007, 12:00 AM
    Filed under: GridView, GridView editing, datasource, gridView dropDownList, edit template, c# code, dropdown
  • Mulitple textboxes one DataSource

    I have a page that has two text boxes, one datasource and one gridview. I want to do an "or" search so that someone can search by id (First textbox) or name (Second textbox). The name field must look in firstname, lastname, and company db fields. If I put an id in the first box the search works...
    Posted to Data Presentation Controls (Forum) by JSzelest on 10-15-2007, 12:00 AM
    Filed under: gridview, datasource
  • Configuring SqlDataSource at runtime

    In a web site the user has to choose one out of several sql tables to deal with. He will then be allowed to view the selected table data through a GridView, to insert a new row into and to update a row in the selected table by means of an array of TextBoxes created dynamically on the base of the selected...
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by nodar10 on 10-31-2007, 12:00 AM
    Filed under: gridview, DataSource
  • 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: Gridview, Insert, data Acces, update gridview objectdatasource, database connection, SqlDataSource, DataSource, FormView, Gridview - dataset, ConnectionStrings, gridview DataSource, insert with GridView
  • Gridview nested in Repeater Data Issue

    I am trying to datasource a gridview within a repeater. I am having issues passing the data from the repeater to the gridview (either to source it manually or set the Gridview's SQLDataSource attributes wtihin the Repeater_ItemDataBound event.) The XML will look similar to this (all dummy data):...
    Posted to Data Presentation Controls (Forum) by kgarl on 11-28-2007, 12:00 AM
    Filed under: C#, ASP.net 2.0, Gridview, Datasource, Repeater
  • Page change in gridview causing problems

    Hi. I'm having a problem and I don't really know if it's the rigth place to post but... here I go. I have a gridview with a LinqDataSource to obtain the list of Products from my database. I have a textbox and a button to search a product by his name in the list and it works except for one...
    Posted to Data Access and ObjectDataSource Control (Forum) by thia on 02-06-2008, 12:00 AM
    Filed under: Gridview, paging, DataSource, .net, gridview paging, object data source parameters, gridview DataSource, gridview pagination filter, asp.NET 3.5
Page 1 of 2 (15 items) 1 2 Next >