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 2003 > threads for october 8 - 14, 2003

Filter by week: 1 2 3 4 5

changing the template column's position ?
Posted by Gary at 10/14/2003 5:53:09 PM
Hi all, By default when we create a Template Column, the position of the Template Column will be 1. Is it possible to change its position at Design Time or Runtime i.e if I want a Template Column to be at no. 2, then how can we do this? Thanks, Gary ...more >>


Help with DataColumn.Expression
Posted by Lee Franke at 10/13/2003 6:49:33 PM
I'm trying to implement Child.ColumnName as in this example. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdatadatacolumnclassexpressiontopic.asp I am attempting to use the line. DataColumn.Expresson = "Child.AdminName"; I get the error "Cannot inte...more >>

vb to C# converstion question
Posted by ]-[aTc]-[ at 10/13/2003 12:27:20 PM
Hello. In the book "ASP.NET Data Web Controls" page 259 in VB it shows Dim nameTextBox as TextBox = e.Item.Cells(2).Controlls(0) How do I convert that to C#. I have TextBox CompanyName = e.Item.Cells[3].Controls[0]; and I get an error of "Cannot implicity convert type 'System.Web.UI.Contro...more >>

How to retrieve the records if I have .SQL script file using ADO.net
Posted by Kiran at 10/13/2003 12:26:28 PM
Hi, I need to retrieve records from SQL 2000 datbase using ADO.Net I have a huge select statement in .sql script file I need to run it to get the records How Can I run it and get the records Can you guide me...more >>

POINTER SET ON THE FIRST RECORD
Posted by RAW at 10/11/2003 3:54:03 PM
when I make an update to a sql database my window form set the pointer in the first record then to proceed with other record in the data grid I need to click the first record and put it in the next record on the data grid How do I set the pointer in the respective record with out the need to ...more >>

Keyup, KeyDown, and KeyPress events for a datagrid do not work. URGENT !!!!
Posted by Chris Calhoun at 10/10/2003 3:37:39 PM
Here are the three event handlers I am trying to catch the key events, but they do not work. private void dgResults_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e) { MessageBox.Show("Key Down!"); } private void dgResults_KeyPress(object sender, System.Windows.Forms.KeyPressEventAr...more >>

hidden columns that contain a "key" field
Posted by Boban Dragojlovic at 10/10/2003 2:04:00 PM
I've seen several examples where people include a "key" column in the datagrid so that they know which row to update during the update phase. The examples I've seen look like this: <asp:BoundColumn Visible=True DataField="ID" HeaderText="ID"></asp:BoundColumn> When I do this in my o...more >>

rowfilter in datagrid
Posted by Bill Greenley at 10/10/2003 9:49:07 AM
I'm trying to use the rowfilter property to limit the rows displayed in a detail datagrid based on the row selected in a master grid. Here's a code snippet from the initial display of the grids where I "preselect" the first row of the master grid to populate the detail grid. As you can see be...more >>



Postback behavior always moves you to top of web page
Posted by Curt at 10/9/2003 8:47:36 PM
I have created a datagrid where you can select the row by clicking a checkbox. Once selected, the background color of the row is changed. Of course this requires a "postback" event so the screen can be redrawn. The problem is that, assuming you have scrolled down the grid, each time you clic...more >>

Help !
Posted by Gary at 10/9/2003 6:13:03 PM
HI, Can we fill Datagrid in a Windows form by code i.e programmatically without using Data binding ? - Gary ...more >>

Datagrid - cancel Validation
Posted by mkramer NO[at]SPAM landata.com at 10/9/2003 12:06:14 PM
My app is doing all edits in the datagrid footer. The footer has some columns with textboxes and validation controls that look at the textboxes. THe footer also has a save button and a cancel button. My problem is that when editing a new row in the footer all the textboxes start out empty. If ...more >>

Adding a control to the DataGrid collection controls
Posted by Giorgio Parmeggiani at 10/9/2003 11:28:56 AM
Hi I have built a DataGrid custom adding a panel of selection automatically produced in base to the columns of the DataGrid The panel has directly been added to the collection controls of the datagrid: datagrid.Controls.Add (_panelFilter) The problem is that for all the conta...more >>

Accessing datagrid footer
Posted by mkramer NO[at]SPAM landata.com at 10/8/2003 8:16:21 PM
There is probably a simple answer to this question - using code behind, in my a grid itemcommand event I need to reference cells in the footer row. The footer is not bound to any fields and this apparently keeps me from being able to reference it using the grid.items collection. My process fl...more >>

Controls that can be added to datagrid
Posted by Shreyas Madwanna at 10/8/2003 12:57:36 PM
hi All, Which ASP.NET controls , Html controls can be added to a datagrid control ? Shreyas ...more >>

Parse text on fly in Datagrid
Posted by wjenny NO[at]SPAM coair.com at 10/8/2003 6:38:30 AM
I am a veteran asp 3.0 coder and I need some help with a datagrid problem. I am trying to parse some text in a datafield for display. In the past I would simply loop through a dataset(recordset) and have access to the data values at write time so that I could parse on the fly. Now I am using ...more >>


DevelopmentNow Blog