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


all groups > asp.net datagrid control > october 2007

Repeater with nested GridView edit problem
Posted by David at 10/29/2007 12:00:00 AM
Hi All, I have a repeater control with a nested Gridview and i am having problems with getting the gridview into edit mode. I know I have to set the DataKeyNames value to my primary key field within the datagrid view but as soon as I do this it generates an error and no data is displayed. ...more >>

edit template to edit record with null field
Posted by Tony WONG at 10/29/2007 12:00:00 AM
i am new to asp.net i find when using edit template to edit record with "null field", it fail it is ok when the record has no null data field. how should i do? Thanks tony ...more >>

sending an html email doesnt convert to html.
Posted by mcarol44 at 10/24/2007 11:03:00 AM
I'm trying to send an html email generated from text but when my email comes through I can see all of the html tags. The email is not being converted to html but coming through as plain text. Here is the text I'm trying to send with the code that sends it email that should go out as html <...more >>

Hiding grid columns based on some value in row
Posted by BillG at 10/24/2007 10:41:34 AM
I have a grid that has icons for 2 buttons edit and delete on each row. I would like to make the buttons invisible if the dateoccured in the record in the row is older than this week. How do I do that? Bill ...more >>

DataView Borders
Posted by Paul W Smith at 10/21/2007 12:00:55 AM
How is the border of the default dataview changed, or removed? The default dataview seems to have light gray left and top border with a darker gray right and bottom - even thought the borderstyle property is set to Not set, the default setting? It seems to be that if I set the borderstyle ...more >>

GridView - Hyperlink
Posted by Paul W Smith at 10/19/2007 6:53:12 PM
The text below is a GridView I am trying to use to display some data from a database. I am using one templatefield of grid because I want the contents of the record fields to appear on three different lines. Everything works except I now want to add an image with which acts as a hyperlink ...more >>

Why Does This Not Work?
Posted by Paul W Smith at 10/10/2007 8:27:17 PM
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Dim sSQL As String = "SELECT * FROM tPlayers" Dim myAdapter As OleDbDataAdapter = New OleDbDataAdapter(sSQL,myConnection) Dim MyDataSet As New DataSet myAdapter.Fill(MyDataSet) Grid...more >>

Datagrid default date format
Posted by Devron Blatchford at 10/7/2007 7:22:03 PM
Hi there, I have a small date formatting issue with the datagrid control. I have a page that dynamically binds results from a datatable. The number/names of columns and datatypes can vary. I use the datagrid to return the results to the client so they can be exported to excel. I have recent...more >>



Controlstyle
Posted by Paul W Smith at 10/6/2007 10:20:33 PM
I understand what FooterStyle, HeaderStyle and ItemStyle are (or think I do!), but what is ControlStyle? PWS ...more >>


DevelopmentNow Blog