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

Filter by week: 1 2 3 4 5

Submitting forms second time just resets page
Posted by Steven_Reid NO[at]SPAM iName.com at 12/28/2004 10:12:14 PM
Hi All, I am trying to create a little form where I can enter a SQL query and return the data in a datagrid. A lot of the times the first time I open the page and enter a query the datagrid returns data and is fine. But when I try to resubmit the query or enter another query, the form just ...more >>


DataGrid not binding in correct order from DataTable
Posted by chotch NO[at]SPAM gmail.com at 12/28/2004 12:22:19 PM
Hello, I am having a spot of trouble with binding a DataTable to a DataGrid. My problem originates after I have created the DataTable and DataGrid. I present the grid to the user with the options to move rows up or down. When a user selects one of these, I get the DataTable from the session, r...more >>

Add Hyperlink column at runtime
Posted by Scott Friedrich at 12/28/2004 10:19:01 AM
I found this link in a previous thread: http://datawebcontrols.com/faqs/ Thanks Scott Mitchell!! That code works fine if I add the ASP code to the HTML page. What I have is the need to set a column as a hyperlink in code at run time. I have a page where a user can create ad hoc querie...more >>

Datagrid, SQLReader and Paging? Shouldn't this work?
Posted by Roger at 12/28/2004 8:49:47 AM
I have some code that uses a SQL Stored procedure to return some rows. I would then like to have these rows show up in a datagrid. sqlCmd = New SqlClient.SqlCommand("R_GetSiphonDetail", sCon) sqlCmd.CommandType = CommandType.StoredProcedure rdr = sqlCmd.ExecuteReader(CommandBehavior.Default) ...more >>

assign value to a new column
Posted by cnSoftware at 12/27/2004 9:10:31 PM
Hi, In a datagrid,If I type "2" in "quantity" Column and then "20" in "price" Column,I hope I can get 40 in "Total" Column,how can I deal with this problem? Thank u. ...more >>

table relationships
Posted by et at 12/27/2004 7:50:51 PM
How do I programmtically get the relationships of a table?? I can get the list of columns: dtFields = conn.GetOleDbSchemaTable(OleDbSchemaGuid., New Object() {Nothing, Nothing, strTableName, Nothing"}) , but when I change it to Foreign_Keys, no data is returned. dtFields = conn.GetOleDbS...more >>

Selecting colors in dynamic datagrid
Posted by et at 12/27/2004 6:40:00 PM
Dim dg as datagrid dg.BackColor = "#346655" does not work, how else can I set the color to the html code #? ...more >>

Get the datafield of a column in datagrid
Posted by et at 12/27/2004 5:19:20 PM
How can I programmatically retrieve the name of the datafield of a datagrid column, while in the Datagrid1_UpdateCommand event. ...more >>



How can i have multiple header
Posted by Vishnu via DotNetMonster.com at 12/27/2004 8:26:46 AM
Hi all, I need a datagrid with fixed number of header columns, say 4. Based on the results returned, i need to append the values in the next row. Something like this: ========================================= Col 1 | Col 2 | Col 3 | Col 4 | - The datagrid header. ---...more >>

NEW User: How do I display table on DataGrid without clicking on '+'.
Posted by Junaid Hussain at 12/24/2004 6:35:14 PM
Hi, I have been trying display data from an Access database in my C# form. I have got to the point where I have stored data from the database into a dataset and then added this dataset to the datagrid control, however when i run my program, I have to click on the '+' button before I can displ...more >>

Popup menu in datagrid
Posted by Grey at 12/23/2004 10:40:02 PM
is it possible to have popup menu designed within datagrid?? ...more >>

ItemCommand event not firing on ButtonColumn
Posted by Simon Rigby via .NET 247 at 12/22/2004 4:06:27 PM
Hi, I have a page with a user control on it to allow users to search= a database=2E When they click the search button, another user= control appears containing the search results=2E This control= contains a datagrid with the results in (amongst other things)=2E= I have added a buttoncolum...more >>

Problem with DataGrid
Posted by Pham Duc Toan via .NET 247 at 12/22/2004 4:04:50 PM
(Type your message here) I 've got a datagrid, set alternating item style and not set boder style. When I bound data into this, with some cell contain value = " " , its boder become lost and that view is bad. I want all cells have its boder with any conditions od value data. I 've tried to set...more >>

Retreive values from invisible cell
Posted by Patrice COTE via .NET 247 at 12/22/2004 3:53:03 PM
Hi ! I'm trying to update a table with an editable DataGrid (Edit,= Update, Cancel button)=2E In the Update event of the item, I can= retreive every value by using the TableCell object= (DataGridCommandEventArgs=2EItem)=2E The only value I can' retreive= is the one that I stored in an inv...more >>

Data Grid Disappears after postback
Posted by Hagai Amiel via .NET 247 at 12/22/2004 3:51:46 PM
Hello There I have created a fully programmatically datagrid each time I press any button, the datagrid disappears when it posts back how do I keep the grid on the screen without re-constructing it from scratch each time? I have tryed saving it on session variables without any success Followi...more >>

Updating database records in a datagrid
Posted by EmJayEm at 12/22/2004 10:14:26 AM
In a datagrid, I read that you cannot add validation controls to the textboxes, you want to update, because they are using BoundColumns. I want to add validation controls to the text boxes. What is the way around this? Thanks, EmJ. ...more >>


DevelopmentNow Blog