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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|