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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|