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

Filter by week: 1 2 3 4 5

how to use hyper columns in datagrid
Posted by man at 4/21/2005 11:36:57 PM
I have set the configuration as the attchment jpg file however,when i click the hyper link , it only show the url as below: http://localhost/content.aspx?key_word= even I have chosen the url field is "word" which is a data column in my datagrid And I want to url output as: http://local...more >>


Sex
Posted by pinkpanther at 4/21/2005 3:36:22 PM
<http://www.insidemacgames.com/> ...more >>

MessageBox not showing before Response.Redirect
Posted by bernardpace NO[at]SPAM yahoo.com at 4/21/2005 2:37:24 AM
Hi, I am showing a messagebox with the following method: public static void ShowMessageBox(HtmlTextWriter htmlTextWriter, string message) { htmlTextWriter.Write("<script language=JavaScript>window.alert('"+message+"');</script>"); htmlTextWriter.Flush(); } // end method showMessageBox...more >>

ItemDataBound
Posted by Simon Abolnar at 4/21/2005 12:00:00 AM
I have datagrid with buttons in one column. In ItemDataBound I can disable cells by: e.Item.Cells.Enabled=False How can I do exact thing by disable only buttons, not entire cells. Thanks for answer, Simon ...more >>

Error Message: FindControl requires that controls have unique IDs.
Posted by SouthSpawn at 4/21/2005 12:00:00 AM
I have a datagrid with a checkbox column, and dropdown list that does a autopostback. Basically, the dropdown list is a filter for the datagrid. Here is my workflow. 1. Load .aspx page. 2. Click on filter to show certain results in datagrid. (This will do a autopostback) 3. Select item from...more >>

Add columns to datagrid on the fly!
Posted by VBTECH at 4/20/2005 9:27:02 PM
I have a datagrid in an ASp.net application. Only one column is created at design time, rest of the columns are created and added to grid on the fly. When I try to update values in datagrid through UpdateCommand event code errors out. e.Item.Cells.Count returns 1 even though I have more colu...more >>

read row values from datagrid and populate in new datagrid values from connected
Posted by antonia gogaki via DotNetMonster.com at 4/20/2005 9:11:42 PM
Hello, i am new in asp.net and i am having a question: I am having a datagrid_1 in which i am showing the context of PatientDetails table. When the user double clicks on a row i want to display on a new datagrid_2 (in the same form) the information which corresponds to that patient, but fro...more >>

Slow datagrid on postback
Posted by OTSolutions NO[at]SPAM shaw.ca at 4/20/2005 5:46:34 PM
Hello there, I have a datagrid that has a select button (so the user can choose a row) and also uses the datagrid sort. If I have a smaller grid (say 150 rows) the response time of the sort or select button (that just opens a popup with some information) is a couple of seconds. If I load...more >>



Accessing data object on delete command.
Posted by amit NO[at]SPAM c4ppy.net at 4/20/2005 8:17:17 AM
Hi guys. I have a datagrind that is bound to a custom collection of a custom object. When a delete button is pressed in the datagrid, I not only want to remove the row from the grid, I want to delete the object from the collection that is bound to the grid. So far I have this. public ...more >>

connection string
Posted by anonymous at 4/20/2005 6:07:02 AM
I have the followng string in my web.config file. <add key="DBConnInfo" value="Data Source=SQL01;Initial Catalog=DatabaseName;Trusted_Connection=No;Persist Security Info=True;User id=sa;password=password;" /> Where I am passing a user id to be connected to a sql db. Instead of passing a use...more >>

Howto insert delete rows into a ASP.net datagrid?
Posted by Jimmy at 4/20/2005 12:00:00 AM
Hi I am a newbie ASP.net programmer and can't find a decent code sample to insert/delete/edit rows in a ASP.net datagrid. Thanks Jim ...more >>

Total of multiple columns in datagrid
Posted by Ian Cook at 4/19/2005 9:03:15 PM
I am using VB 6 and have a bound datagrid pulling data from a Pervasive Database by ODBC connection. Column 3 shows opening balance and columns 4-15 show net movement for each month. I want to have a text box on my form that shows sum of columns 4-15 for active record. How do I do it? my code is sho...more >>

Datagrid paging keeps going back to the first group
Posted by Kalvin at 4/19/2005 12:57:30 PM
Sorry to post this in 2 groups, but I just found this group after posting to the other group. I am using the datagrid. I have allowpaging=3Dtrue. I load the data and there is about 7000 records. At the bottom there is pages 1 through 10 and (...). The first time I click on (...) it tak...more >>

filtering from multiple dropdownlists
Posted by viktor9990 at 4/19/2005 2:20:02 AM
I have several DropDownList Controls (ddlOrder, ddlContact...) where the user may select multiple values and let the results be displayed in the datagrid. I know how to filter when chosing from any of these dropdownlists. But don't know how to filer if the user wants to filter based on selecti...more >>

I am a beginner.Pls help me
Posted by Meena via DotNetMonster.com at 4/19/2005 12:00:00 AM
I have a datagrid with a hyperlink column. Now i want to program for the click on the hyperlink. where do i put my code?...more >>

Datagrid Paging Stretch Data
Posted by csgraham74 NO[at]SPAM hotmail.com at 4/18/2005 1:06:25 PM
Hi there just another question regarding paging in a datagrid. In my datagrid i have paging setup for 10 records per page this is fine when there are 10 records in the grid. my issue is that if you have 22 records the first two pages of the grid look fine but the third page will have the 2 rec...more >>

custom sorting
Posted by Paul W at 4/18/2005 11:23:49 AM
Hi, I have a datagrid that I build using data returned from a SP. But I populate the datagrid using a dataview. In this dataview, I populate one of the columns with a string that is basically an html link. The display text is always numeric. For instance, the column will display 7, but t...more >>

FYI: For those interested in the next version of ASP.NET...
Posted by Ken Cox [Microsoft MVP] at 4/17/2005 11:24:58 PM
For those interested in the next version of ASP.NET... Start building an ASP.NET 2.0 site today: Download Visual Web Developer 2005 Express Edition http://lab.msdn.microsoft.com/express/vwd/ ...more >>

Designer locking mdb file... (file and dir GRANTS FULL CONTROL FOR "EVERYONE")
Posted by Praveen at 4/15/2005 11:20:43 AM
Here is an easy issue to reproduce: 1) Create a new project. 2) Drop a DataGrid control into the Page. Also drop a OleDbDataAdapter into the page. 3) Select "Configure Data Adapter..." and pick the NWind.mdb (for example). Go ahead and run through the wizard, selecting a table via sql query...more >>

DataGrid.Dispose
Posted by Sam at 4/15/2005 12:00:00 AM
I want to clear datagird data at memory (Client) but unsure how effective the impact? Coding ------- Sub CLEAR(Sender as Object, e As EventArgs) Rpt_GL_BatchNum.Text = Nothing Rpt_GL_BatchType.Text= Nothing Rpt_GL_DocNum.Text = Nothing Rpt_GL_...more >>

Populate label from Datagrid selection
Posted by Euan at 4/15/2005 12:00:00 AM
Hi there, This might be a simple enough question for most of you. But I am pulling my hair out with this. I have a datagrid populated from a database. Its a booking form. You push a button column to select the row. And now I need to give some specific details from that row in to a label. L...more >>


DevelopmentNow Blog