Browse by Tags

Related Posts

  • Remove dynamicly columns from an gridview

    Im making an c# class library project with an dataset and an gridview. Everything works fine. The gridview shows some information. But I would like to remove or disable some columns from the gridview. It is simple in the designer, but I don't know how it works for an class library project(in runtime...
    Posted to Data Presentation Controls (Forum) by khalidelmeknesi on 04-01-2009, 12:00 AM
    Filed under: columns, datasource, GridView
  • how to find control in gridview.

    Here is my part of my code:- <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" CellPadding="4" DataSourceID="ObjtDtSrcprop" Font-Names="Tahoma" Font-Size="8pt" ForeColor="#333333"...
    Posted to Data Presentation Controls (Forum) by aspdotnetdev on 02-06-2009, 12:00 AM
    Filed under: columns, gridview, control
  • Dynamically Added TemplateFields Disappear on PostBack -- Sometimes

    I'm using GridViews in ASP.NET 2.0 to show pivoted data. The first two or three columns are always the same, so I add them with markup in the aspx file. The pivoted columns, however, need to be added dynamically because I don't know how many there will be until runtime. Up until today, I've...
    Posted to Data Presentation Controls (Forum) by danthman on 02-05-2009, 12:00 AM
    Filed under: TemplateField, add, columns, disappear, GridView, dynamically
  • 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
  • RowDataBound: refer to cells by column name rather than index?

    I have code like (this is just an example): protected void SomeGridView_RowDataBound(Object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Cells[8].BackColor = System.Drawing.Color.Red; } } What I don't like about this is that I'm referring to the column...
    Posted to Data Presentation Controls (Forum) by tmpuzer on 04-10-2008, 12:00 AM
    Filed under: OnRowDataBound, RowDatabound, cells, columns, GridView
  • How to retrieve data as XML from SQL database

    Hi, I have a website which is designed to search for employee information. I have the search system working which does exactly what I want to, but as an added feature I want there to be a button which, when someone clicks on it, it takes whatever the previous search was and generates a set of data in...
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by tomosap on 02-28-2007, 12:00 AM
    Filed under: object data source, objectdatasource, parameter datatype, Stored Procedures, Table Adapter, TableAdapter, TableAdapters, VB.Net, ADO.NET, Columns, combining data sources, DAL, Data, Data Access, DataAdapter, Database, DataGrid GridView Paging, DataSet, DataTable, DataView SqlDataSource, DropDownList, XML, Gridview
  • Not Retreive GridView Rows to Another Web Form

    Hi i am doing on asp.net application.in that i am accessing data from ObjectDataSource. i want to reterive rows to another page.i need these rows values to another web form..i am using HyperLinkField get one value data DatanavigateField and dataNavigateUrlFormatString="ShowCorp.aspx?corpcode={0} and...
    Posted to Data Access and ObjectDataSource Control (Forum) by rambhopalreddy on 01-22-2007, 12:00 AM
    Filed under: objectdatasource, objectdatasource fileupload, ObjectDataSource GridView non-generic method, objectdatasource select dal "foreign constraint", Session Variables, ado connection pooling SQL server connection object, ADO.NET, ADO.NET Tutorial, BLL DAL Login Membership SQL Express, Browser, C#, Columns, concurrency pessimistic ado.net dataset "disconnected architecture", DataSet, DataSet Access Parameter C#.NET 2.0, Gridview, SQL Server ADO.NET Transactions
  • Setting Session Variables to Gridview (or Dataset) Columns -In C#

    In my program i am using the Asp.Net Login Control to pass the UserName of the user to a SQL command. This command retreives information from the database to be stored in a session variable. My code successfully retreives the information from the database to the dataset, but i cannot retreive it from...
    Posted to State Management (Forum) by SubsonicRecordPool on 06-17-2009, 12:00 AM
    Filed under: GridView, session, columns, C sharp#
Page 1 of 1 (8 items)