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 > september 2005 > threads for september 15 - 21, 2005

Filter by week: 1 2 3 4 5

Accessing the current DataRow of the DataSource from ItemDataBound
Posted by Nathan Sokalski at 9/21/2005 8:47:07 PM
I want to access the DataRow used in DataBinding from the ItemDataBound event. In my case, the reason for doing this is to determine whether I need to make a word singular or plural. How can I do this? Thanks. -- Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/ ...more >>


DataGrid Pulldowns- how to access
Posted by Ken Webster at 9/21/2005 8:04:49 PM
Given a pulldown template like: <asp:TemplateColumn HeaderText="PO Line"> <ItemTemplate> <asp:Label id="TX_POLine" runat="server" BorderColor="#E0E0E0" BackColor="White" BorderStyle="Solid"></asp:Label> </ItemTemplate> <EditItemTemplate> <asp:DropDownL...more >>

rowcount
Posted by et at 9/21/2005 7:01:52 PM
How can I get a count of rows in a datagrid? ...more >>

Datagrid Edit event not firing in production
Posted by Ryan Rueckl at 9/21/2005 10:18:44 AM
In am using the datagrid's EditCommand event but rather than edit the row right in the datagtid, the event hides the grid and brings up some drop down lists so the user has to make a valid choice. I got everything working right on my workstation, but when I installed it on the production (CRM...more >>

Using two OleDbDataReaders at the same time
Posted by Nathan Sokalski at 9/20/2005 1:31:52 AM
I have two OleDbDataReaders that I need to use at the same time. One of the DataReadersis used inside a While loop. My code is as follows: While eventreader.Read() Response.Write(ControlChars.NewLine & CStr(eventreader("eventdate")).PadRight(20) & CStr(eventreader("eventname")).PadRight(...more >>

Need to manipulate a column before displaying
Posted by Paul D. Fox at 9/19/2005 11:00:18 AM
I am setting a datagrid's Datasource to a Dataset returned from a Web = Service. However, I need to manipulate one of the columns. The column = being returned is a relative URL, so I need to prefix the column's data = with the first part of the URL to make it an Absolute URL. How can I do = t...more >>

Extracting Data from Datagrid
Posted by Joel Zinn at 9/19/2005 9:15:23 AM
I have a developer that wants to dump data from a datagrid to an external file. I am thinking a .csv file for simplicity sake. I had thought about dumping the data from the dataset, but there is considerable morphing of the data that occurs in the databind portion of the code. I know there ...more >>

Datagrid: How do I allow edits but not new records?
Posted by PaulNaude at 9/19/2005 12:01:02 AM
I would like to allow editing of data displayed in a datagrid but not the adding of new records. How do you set it up?...more >>



Get updated values from DataGrid
Posted by Chris Mahoney at 9/19/2005 12:00:00 AM
Hi I have a DataGrid, with Edit links in each row. The Edit button works, the user can change the values. But I can't get updating to work. <asp:datagrid id="Content" runat="server" OnUpdateCommand="Content_Update" OnCancelCommand="Content_Cancel" OnEditCommand="Content_Edit"> <Column...more >>

File in use error
Posted by Nathan Sokalski at 9/18/2005 6:27:53 PM
I am recieving an error about not being able to use a file because it is already in use. Based on the error, I think it is referring to my DB, but I don't know how to avoid the error or why it is happening. Here is the error: Server Error in '/LVBEP' Application. ------------------------------...more >>

Pivot a datagrid?
Posted by et at 9/17/2005 7:56:53 AM
I seem to remember seeing an article on how to reverse the data in a grid, so that each record creates a column rather than a row? Does anyone know how to do this? Thanks for your help. ...more >>

Scroll grid With fixed header (It this posible?)
Posted by Ivan gil at 9/16/2005 12:00:00 AM
Hi, i explain my question... I have an ascx web user control this one have a datagrid whit some properties i had make a good datagrid user control for me. But now i have the last problem i was looking for a way to put scroll bars if my control width and height are lowers than the datagrid hei...more >>

Create ItemTemplates at runtime
Posted by Gordon at 9/15/2005 4:49:02 AM
Hi, Fairly new to ASP.net. I want to create a Datagrid that will bind to a DataSet created a runtime and which will hence have a variable number of columns. I want to show the data in binded textboxes. I can't create template columns in the designer because I don't know the number and colu...more >>

How to get the number of retrieved columns when doing a SQL Query
Posted by Roman Klimkowicz at 9/15/2005 12:00:00 AM
Hello everyone, i just implement an own search site in MS CRM 1.2, which searches in a MS-SQL database. My question is, how to get the number of retrieved columns by a SQL-query?? Any suggestions for me? Thx... Greets, Roman...more >>

How to the get to number of retrieved columns?
Posted by Roman Klimkowicz at 9/15/2005 12:00:00 AM
Hello everyone, i just implement an own search site in MS CRM 1.2, which searches in a MS-SQL database. My question is, how to get the number of retrieved columns by a SQL-query?? Any suggestions for me? Thx... Greets, Roman...more >>


DevelopmentNow Blog