all groups > asp.net datagrid control > december 2007
2.0 vs. 1.1 Read-Only Textbox/Findcontrol
Posted by John Walker at 12/26/2007 11:02:00 AM
Hi,
In asp.net 1.1 I use this bit of code to get the text from a textbox in a
datagrid on postback:
txtComments = CType(dgi.FindControl("txtComments"),
System.Web.UI.WebControls.TextBox)
We recently upgraded our application to the 2.0 .net framework and this code
no longer seems to work... more >>
Image display and link
Posted by Angel de la Noche at 12/19/2007 3:46:24 PM
I am working on a desktop application that has a datagrid that is currently
displaying the values from a table, but I need it to display different
images based on the values.
if value = 0 then
show red.gif
elseif value = 50 then
show green.gif
else
show yellow.gif
end if
Ne... more >>
How to change the data grid background color at runtime
Posted by steen maigaard at 12/16/2007 11:36:26 AM
Hi.
I need to change the datagrid color at runtime for each record, depending on
a value of the record. I am quit new to the datagrid control and c#
so i haven't figured out where and how to code this. Can anyone help me?
Regards
Steen Maigaard
... more >>
How to catch errors when databinding
Posted by Axel Dahmen at 12/8/2007 9:02:09 AM
Hi,
I'm new to binding a <asp:FormView> control to an <asp:ObjectDataSource> =
control.
Binding appears to work fine. But I can't find any information on how to =
deal with errors when they appear, e. g. when a user deletes a row being =
foreign key referenced by another row in another tabl... more >>
adding new row into an unbounded gridview.
Posted by Weoi Li at 12/5/2007 7:42:00 PM
)Dear All,
Please help me out here. I have been stuck in this issue for almost a day
now.
I had an ASP .net page with VB .NET as back code which have 2 calendar
control (From Date and To date) that for user to select. After the user
select the dates, I want to refresh the gridview which... more >>
|