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 8 - 14, 2004

Filter by week: 1 2 3 4 5

DataGrid Binding Question - Multiple Rows as One.
Posted by mike_olivieri NO[at]SPAM comcast.net at 10/13/2004 12:52:23 PM
Hi! Been stuck on this one for a bit. Would really appreciate any help on this one. In Regards to ASP.NET To start. I have a sql database table with the following data and design (ex) ------------------------------------ provider_id | plan_id | plan cost -------------------------------...more >>

How to do this with datagrid
Posted by Lasse Edsvik at 10/13/2004 10:22:41 AM
Hello I'm trying to build a page in asp.net that lists employees from a db. And I was wondering if you could help me translate this asp to asp.net and with a datagrid. can't figure it out with all if's and so ..... open db and stuff <table> <% while not rs.eof then %> <tr> <% if t...more >>

Binding Data
Posted by David P. Donahue at 10/13/2004 9:10:30 AM
Currently, when I bind data to a DataGrid, I use a function as such: Dim conGrid As SqlClient.SqlConnection Dim daGrid As SqlClient.SqlDataAdapter Dim dsGrid As DataSet Dim stringSQL As String stringSQL = "SELECT * FROM UserProfiles" conGrid = New SqlClient.SqlConnection(Global.strDBConnect)...more >>

Datagrid with SQL sentences in its columns. ONLY FOR EXPERTS.
Posted by Luis Esteban Valencia at 10/12/2004 10:45:39 AM
I have a little application of a Knowledgebase for my company. The systems engineers cam Log in to the application, write some problemas and the solution can be SQL commands. I put ValidateRequest=false for the page to accept those inputs. Anyway in the Page where users can search for soluti...more >>

client side sorting of datagrid items
Posted by Andrea Williams at 10/11/2004 3:11:07 PM
Does anyone know if there's code out there to manage client-side sorting of datagrid items? I'd like to be able to fill a datagrid with records from the database, then allow the user to put the records in their preferred order. So I envision two buttons for each row that are for up and down and...more >>

Column Header with Variable
Posted by Hai at 10/11/2004 2:56:06 PM
Dear gurus, Is it possible to specify the column header with variable? If I want to make headerText as Sales and Credit how do I do so? Thanks in Advance. Hai 'Here the codes Dim s1,s2 as string s1 = "Sales" s2 = "Credit" <asp:DataGrid ID="mygrid1" AutoGenerateCo...more >>

Help needed
Posted by Rajeev at 10/11/2004 2:20:48 PM
Hi All, I am using a datagrid control. first column of the datagrid is having a checkbox (which used to select/deselect all the items in the grid).There is an asp:button in the page. I want to enable/disable this delete button, if the user selects none of the checkboxes then the button shou...more >>

how to set visible table out of dataset?
Posted by GoodMorningSky at 10/11/2004 1:57:44 PM
Hi, all. A Form has a DataGrid bound to a DataSet including two DataTable, A and B. When Form is loaded the two table is populated to DataSet and DataTable A is shown on DataGrid initially. When a Button is clicked the DataTable B will be shown. How can I do this? ...more >>



Datagrid Columns
Posted by J. Shane Kunkle at 10/11/2004 11:59:02 AM
I have a datagrid that contains a bunch of boundcolumns: <asp:datagrid id="DataGrid1" runat="server" autogeneratecolumns="False"> <columns> <asp:boundcolumn datafield="Column1" sortexpression=" Column1" /> <asp:boundcolumn datafield="Column2" sortexpression=" Column2" /> ...more >>

Changing Width of Datagrid (AutoGenerateColumn=true)
Posted by ghosthunter NO[at]SPAM gmx.at at 10/11/2004 4:42:27 AM
Hi, hope some1 can help me trying this about a week. I read the data for my Datagrid into a dataset, convert a little bit and store the finalresult in another ds from an Access-DB and bind the data ds.Tables.Add("Vendor") With ds.Tables("Vendor").Columns ..Add("Verkäufer") ..Add("Name") ...more >>

DataGrid font size???
Posted by BCM at 10/9/2004 12:26:46 PM
I cant' believe I have to ask this, but... How do you adjust the font size in a DataGrid? I know about the FONT property of the DataGrid proper, and the FONT property of the ITEMSTYLE, and I can see how to adjust the size. But nothing has any effect on the display: no matter what I do, I get t...more >>

Programmatically Change Text Property of Label in ItemTemplate in Datagrid
Posted by Craig at 10/8/2004 6:33:38 PM
How do I programmatically change the text property of a label in an ItemTemplate in a datagrid? Specifically the Text property. I want to change the databinding to another column at runtime. <asp:TemplateColumn HeaderText="Rate1"> <ItemTemplate> <asp:Label runat="server" Text='<%# fRate(D...more >>

Manipulating Dataset
Posted by Hai at 10/8/2004 3:37:23 PM
Dear gurus, I have a stored procedure which returns a set of rows. How do I suppress a number of columns (not display) from dataset? Is is DataSet is the right tool in this case? Thank you. Hai ...more >>

DataGrid Hyperlink
Posted by Wayne Taylor at 10/8/2004 12:17:32 PM
I have a datagrid which is populated with a list of software which is available to install (from our intranet) with the path in the second column. I want to make the second column clickable (hide the data path). So when the user clicks on the link or icon it installs the selected software. ...more >>


DevelopmentNow Blog