Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > asp.net datagrid control > october 2005 > threads for october 1 - 7, 2005

Filter by week: 1 2 3 4 5

DataGrid Not Sorting
Posted by Michael Caruso at 10/6/2005 11:29:01 AM
My web datagrid isn't sorting at all. I have it wired up to a handler, and I know the handler is working (being called), but no sorting. The page just posts back with the same data. I hhave verified that the SortExpression values are the column names. I used the VS IDE to create a datasour...more >>


How to get the selected ROW NO.. in a grid view control..?
Posted by ¿_Mahesh_Kumar at 10/6/2005 12:00:00 AM
I have placed select, update, delete in a grid view of ASP.NET 2.0. I = want to fetch the selected row no when i click on select button on that = grid. The grid view items are dynamic in length. How can i achieve this = in runtime..? Mahesh www.snipurl.com/guac...more >>

Printing - Really Need Help!
Posted by Jay at 10/4/2005 11:11:41 AM
I have been searching and searching and searching for a way to print a lengthy datagrid on multiple pages and persist the header. I also do not want the last datagrid row on the page to be cut off when printing. Any ideas, examples, links, etc.? I do not have access to Reporting Services ...more >>

When you bind an array to a datagrid, what's the field name?
Posted by Jon Edney at 10/4/2005 9:50:04 AM
In ASP.NET v2.0, I can successfully bind a generic datagrid to a 1 dimensional array. But, now I want to customise the column header. I think I need to make the first column (the one having data in the array) a "BoundColumn" and set the HeaderText property, but the problem is that the BoundColu...more >>

DataGrid Row Disappears when click edit??
Posted by Assimalyst at 10/4/2005 7:56:11 AM
Hi, I have a datagrid DataBound with the following code: private void SampleSearch() { // set search strings int intUserNo = (int)(Session["usrNo"]); string strPatientCode = patientCodeTxtBx.Text; DateTime dateProcedureDate = DateTime.Parse(procedureDateTxtBx.Text); // set param...more >>

Newbie Question - Datagrid Results
Posted by Keith at 10/3/2005 2:45:59 PM
Is there a way to display the field you are GROUPING BY in a datagrid? = I am doing a select count and using the GROUP BY option to display the = results. When the results are displayed in the datagrid it just shows = the results but not the field it is being GROUPED BY (probably getting = wh...more >>

Regenerating a Datagrid
Posted by Shahir A. Ahang at 10/3/2005 2:37:57 PM
All, I am wondering if there is a way to regenerate a datagrid which has already been bound to a dataset WITHOUT having to re-query the data source. In my page, I have a drop-down control which is populated through a SQL query. Once the user selects a value from the drop-down, the datagri...more >>

SelectedIndex Value Reported Incorrectly
Posted by Nathan Sokalski at 10/3/2005 12:53:36 PM
I am writing a User Control that uses 3 DropDownLists. When I attempt to access the SelectedIndex property it incorrectly reports the value selected by the user. Why is this? Here is my code, thanks: Public Class DatePicker Inherits System.Web.UI.UserControl #Region " Web Form Desig...more >>



Getting the column from a table cell
Posted by zahidayar NO[at]SPAM gmail.com at 10/3/2005 5:03:05 AM
Hello everyone, Is it possible (and if so, how) to obtain a reference to the column given a table cell for a datagrid? Zahid ...more >>

Create Columns at run time
Posted by Tina at 10/1/2005 5:46:05 PM
if you place a datagrid on a form and then, in Property builder, check the box saying Create Columns at run time. An then do a SQL Select into a datatable, and then bind the datatable to the grid, the grid displays correctly. BUT, the columns array is empty. The grid displays just fine. T...more >>


DevelopmentNow Blog