Browse by Tags

Related Posts

  • search text and show results in gridview

    Hi, I'm relatevely new to ASP.net and wanted to know how to do this: Here's the situtation: 1. I have a textarea in my page, where the user submits some text (tab separated) 2. I want ASP to search for each word the user submits with a SQL query. 3. Then the Gridview must be able to show the results...
    Posted to Data Presentation Controls (Forum) by wieland.kublun on 01-12-2007, 12:00 AM
    Filed under: GridView, problem, string, gridView searching, rows, GridView asp.net, stored procedure, general, databind, sql
  • Re: Gridview - Detailsivew: How do I get the Gridview to select the last inserted record from the detailsview?

    Hi Rafa, thanks for the quick reply! I tried what you said, I translated to VB as the following: Protected Sub DSDemoInfo_Inserted( ByVal sender As Object , ByVal e As System.Web.UI.WebControls.ObjectDataSourceStatusEventArgs) Handles DSDemoInfo.Inserted Session( "decRetID" ) = e.ReturnValue End Sub...
    Posted to Data Presentation Controls (Forum) by wadewalker25 on 02-02-2007, 12:00 AM
    Filed under: GridView, DetailsView, databind, Scope_Identity, rowdatabound gridview
  • Gridview Columns

    Hi, Is it possible to configure the GridView control so it has one Columns that go down the page vertically,not horizontally across the page. So the six rows would be actually different fields as there is only one updatable record for each column in this application. - thanks!
    Posted to Data Presentation Controls (Forum) by camper on 02-02-2007, 12:00 AM
    Filed under: GridView, GridView Sorting, GridView Paging, Controls, asp.net 2.0, Binding, GridView asp.net, c#, ASP.net 2.0 GridView InsertParameters ControlParameter PropertyName, databind, databinder, ADO.NET
  • setting label to visible with button click

    Hi, I'm having some problems with using a label to display a message "No Records Found" when the user clicks a Search button. What I want it to do is to check if there are any results from a database that get displayed on a GridView. I have the following method so far: ------------------------------...
    Posted to Data Presentation Controls (Forum) by tomosap on 02-27-2007, 12:00 AM
    Filed under: GridView, postback, Client, database, paging, DropDownList, asp.net 2.0, label, rows, records, If Statement, Visible, data access layer, table adapter, databinding, codebehind, data, databind, VB, textbox, ADO.NET, access database, asp.net 2.0 GridView databound ItemTemplate
  • Re: Programatically Filling the Insert Template of a FormView

    yes, this is the normal way to do it when referencing controls within a formview (or similar control). The Templates in those controls allow for the same ControlID to be used in the UpdateTempate, InsertTemplate, and DeleteTemplate (since only one template is EVER shown, there are problems with controls...
    Posted to Data Presentation Controls (Forum) by pixelsyndicate on 03-20-2007, 12:00 AM
    Filed under: GridView, databind, events
  • Re: Refresh Detailsview after update

    Hey... Try calling the gridviews built-in method DataBind() after the ItemUpdated or ItemCreated (or whatever) events. protected void gridviewAssignments_ItemDeleted(object sender, GridViewDeletedEventArgs e) { ((GridView)sender).DataBind(); // or alternatively // gridviewAssignments.DataBind(); }
    Posted to Data Access and ObjectDataSource Control (Forum) by pixelsyndicate on 03-19-2007, 12:00 AM
    Filed under: Gridview, databind, events
  • Re: putting UserId into the site Url (http://www.blahblah.com/members/userid=2Z24O3LOY0

    Hi Rattlerr, First, make sure that the datasource that is populating your GridView/Repeater/DetailsView is returning UserID along with all the other values that are displayed. Then when you set up the NavigateUrl value of your hyperlink you can use Eval to add any field from the datasource onto the end...
    Posted to Data Access and ObjectDataSource Control (Forum) by djh on 05-03-2007, 12:00 AM
    Filed under: Data Access, DetailsView, Gridview, object data source, databind, SqlDataSource
  • Adding Columns dynamically to a datagrid view

    Hi, I am using ASP.NET 2.0 (Visual Studio 2005). I have a requirement to display data in a single row (data coming from multiple rows) for example: Consider a table called "ANALYSIS" which contains data from another table called "COMPLAINT", it has a one to many relation ship with...
    Posted to Data Presentation Controls (Forum) by programmar on 07-23-2007, 12:00 AM
    Filed under: DataGrid GridView Paging, Data Access, SQL Server ADO.NET Transactions, Gridview, C#, databind, Asp.Net 2.0, data Acces, DataView, .net 2.0, .net, ASP .NET 2
  • How to manipulate or change the treeview category?

    Hi I am using below code to populate the treeview from database. Ex : tree view category Vehicle Electronics My question: How to manipulate or change the name in the treeview when display in the web site as below? Vehicle should display as Motors Electronics should display as Multi Media Note : I can...
    Posted to Master Pages, Themes and Navigation Controls (Forum) by SudhaYogesh on 09-24-2007, 12:00 AM
    Filed under: GridView, dataview, css menu, css, database, asp.net 2.0, Hyperlink column, gridview replace newline br, GridView asp.net, databind, gridView identity primary key, "Tree Structure", gridView itemTemplate, GridView optimize FilterExpression, asp.net 2.0 GridView databound ItemTemplate, hyperlink column in gridview accordin to condition, gridView sql, gridview control custom columns hyperlink, ASP.NET, css print tables, GridView Hyperlink Template, GridView imagefield, CssClass, if, data source, ASP.net 2.0 GridView, asp.net 2.0 gridview hyperlinkfield, gridview rowdeleted, Gridview SelectAll Checkbox RowDataBound Events client-side, grid view form view, "gridview" edit select eventhandling, asp.net 2.0 DataBinding formview, GridView ListBox SQL, ASP.NET 2.0 DataBinding DataTable, .NET Gridview Problems, Gridview rank reorder sort re-order, asp .net 2.0, .vb, Custom Class, ASP.net ... VB ... Data access, Databind(), grid view details view
  • The data source does not support server-side data paging.

    I am trying to implement my own paging and sorting for a GridView from Codebehind. The gridview is populated via a DataTable and using DataBind() I have set the property of the datagrid so that the page-size is 3, so as to avoid having to put in too many test records. I have been able to capture the...
    Posted to Data Presentation Controls (Forum) by Orion Blue on 11-16-2007, 12:00 AM
    Filed under: gridview, data access, DataBind, DataTable, Codebehind
Page 1 of 2 (16 items) 1 2 Next >