Groups | Blog | Home


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 2004 > threads for october 22 - 28, 2004

Filter by week: 1 2 3 4 5

How to display shortdate format on a datagrid?
Posted by xie NO[at]SPAM proexam.org at 10/27/2004 1:02:18 PM
Hi, I am displaying a datagrid on my webpage and it is linking to a dataset. There is a datetime value from the dataset showing on the webpage(datagrid) as full date format, like "10/27/2004 12:00:00 AM". How can I convert them to shortdate format '10/27/2004'? Before I was using sth like: <a...more >>


Need help applying a stylesheet to a pushbutton control in a datagrid
Posted by Tim Meagher at 10/26/2004 11:46:16 PM
Can anyone help me figure out how to apply a stylesheet to a pushbutton defined in the asp:BoundColumn or asp:EditCommandColumn elements of a datagrid? ...more >>

DataGridItem.DataItem property?
Posted by Joel Lyons at 10/26/2004 2:09:25 PM
The help pages make it look like the DataGridItem.DataItem property would return a row from the bound table. Like so: //(during setup) myGrid.DataSource = myDataset.MyTable; myGrid.DataBind(); //(in OnSelectedIndexChanged) MyTableRow row = myGrid.SelectedItem.DataItem as MyTableRow; myL...more >>

databinding & classes
Posted by Bart at 10/26/2004 6:23:02 AM
I made an arraylist wich contains a certain amount of objects from the class 'employees'. The class 'employees' contains also an object 'department'. You can see the class diagram (http://users.pandora.be/bart.geurs/class.gif). The next step is to bind that arraylist to a datagrid. It works, ...more >>

bidirectional sort with datagrid
Posted by DC Gringo at 10/25/2004 6:05:11 PM
Can someone show me how to turn this into a bi-directional sort allowing ascending and descending using the default datagrid allowsorting attribute? FYI, Session("source") is an sqldataadapter ------------ Protected Sub SortCommand_OnClick(ByVal source As Object, ByVal e As System.Web.UI....more >>

Add formatted text to JavaScript function call during ItemDataBound of a Repeater Control.
Posted by Bryan at 10/25/2004 5:10:41 PM
Hello, I am taking values from a datatable and formatting them for use in a JavaScript Function Call. The end result is a mouse over tool tip. Here is what I am doing. I have tried to use a property but it uses the last set value of all. Private Sub drTasks_ItemDataBound(ByVal sender ...more >>

Problem with ItemDAtaBound event of datalist
Posted by Bill Yeager at 10/25/2004 10:13:21 AM
I have a datalist that displays the following when a web page is rendered: Community_Property: 2 | Corporation: 5 | Custodian: 10 | Individual: 138 | Joint: 82 | Tenants_By_Entirety: 0 | Tenants_In_Common: 1 | Trust: 82 Each of the text items above is a linkbutton. However, I want to...more >>

CSV file to datagrid, data missing & funny character
Posted by j.jung NO[at]SPAM gmbsupport.com at 10/24/2004 11:57:18 PM
Hi, I'm trying to import data from a CSV file to a dataset, then trying to add this to a datagrid. Problem is the datagrid is only displaying the first element in the CSV file with a funny 'yp' character in the first cell. The header is being created from the schema.ini The totally con...more >>



How to do a multiple select and update in a datagrid
Posted by Wolffang at 10/23/2004 9:21:19 PM
Using Visual studio.net VB I have a datagrid that brings records from a stored procedure. Be selecting multiple datarows using a checkbox. All i want to do is update a field called 'Active' datatype bit from 0 to 1 for all those records that have been selected with the checkbox and mark a...more >>

How to copy n paste .asp files to Solution Explorer and have it show up there?
Posted by Jason Robertson at 10/23/2004 12:06:44 PM
Hi, I have just installed Visual Studio.net 2003 Enterprise Architect. I have been using Visual Interdev so far, and I am used to be able to select from a desktop bunch of .asp files, drag and drop them into a Project Explorer window and have it show there as a tree of files. Is there some se...more >>

Move Datagrid Row Up/Down
Posted by Michael Murphy at 10/22/2004 4:05:33 PM
Hi, Anyone have suggestions for how to select a row in a web datagrid and either drag and drop it somewhere else in the grid or use up/down arrows to move the row to the desired location? Any feedback would be appreciated. Thanks, Michael Murphy mdmurphy@scs-techresources.com 954-452-1047 ...more >>

Hyperlink column in datagrid
Posted by ReidarT at 10/22/2004 10:12:44 AM
I am trying to insert a hyperlink column in a datagrid the field consist of a http://www.something.no/text.asp?id=FieldID where FieldID is the field from the sql-server I normally would have concatenated the text and the field "http:\\www.something.no/text.asp?id=" & FieldID, but I don't know ...more >>

DG Column Width vs Table Column Width
Posted by Carl Howarth at 10/22/2004 9:29:39 AM
Hi, I am wanting to display data in a datagrid with additional header rows above it that categorise some of the main headers of the datagrid. I am therefore creating a table above the datagrid using the same padding/spacing options. The problem I am having is that when I define the width of...more >>

Vertical size of datagrid
Posted by ReidarT at 10/22/2004 8:50:55 AM
I have a datagrid with some comboboxes at the top. I want the height of the datagrid to be fixed and with vertical scrollbar, so I don't loose the comboboxes at the top when the result of the records in the datagrid needs more than one page. I don't want paging, just a vertical scrollbar. rei...more >>


DevelopmentNow Blog