Home All Groups Group Topic Archive Search About

.NET DataGrid Control

microsoft.public.dotnet.framework.aspnet.datagridcontrol
Score Control of columns
dew - 20 Jan 2006 4:35 PM - 4 messages
I have a grid using Auto generated columns.  How do I control the columns, set columns to invisible, for example.  After the grid is bound to data, I tried dg.Columns(0).visible = false and I get an error.  If I step through ...
Score column borders css
Chuck Foster - 19 Jan 2006 9:20 PM - 3 messages
i am trying to get rid of the column borders on my datagrid using an external css file.  does anyone know how to do that?  I've got my BoundColumns CssClass set to allcols which is... ..allcols { border-style: none; ...
Score datagrid date format
kaczmar2 - 19 Jan 2006 4:26 PM - 3 messages
I have some data returned from SQL server in a dataset and bound to a datagrid control.  I am having trouble formatting a datatime field. Sometimes the data stored in this field is just a date, and sometimes there is a time as well: ...
Score Dynamically setting the DataImageUrlField property in Gridview ImageField control
FlyFishGuy - 19 Jan 2006 1:26 AM - 2 messages
I'm trying to set the DataImageUrlField property of an ImageField column of a gridview control at runtime. The 2nd column contains the ImageField control. I've tried this (and everything like it) in the RowDataBound event...     CType(e.Row.Cells(1).Controls(0).data, ImageField).dataimageurlfield = ...
Score How do you delete a column/datacell from a datarow?
Burak Gunay - 18 Jan 2006 6:41 PM - 4 messages
Hello, I am creating a new row as follows: Dim drBlankRow As DataRow = ds.Tables(0).NewRow I would like to delete the first cell/column of this row and insert a different cell/column into it at position 0. ...
Score DataGrid Column Headers
Chuck Foster - 18 Jan 2006 2:53 PM - 3 messages
I have a datagrid and I want 3 columns to share the same column header.  I have ColID, ColName, and 3 Hyperlink columns that need to have AdminFunctions as their header.  Anyone know how to accomplish that? Thanks in advance for any help! ...
Score Datagrid SortCommand event does not fire.
ssamala - 17 Jan 2006 6:53 PM - 4 messages
I have a Datagrid on my .aspx page and the sortcommand event does not fire. Following is the code. Can somene please let me know what I am missing. Thanks Nidhi <asp:DataGrid id="DG1" runat="server" AllowSorting="True" > ...
Score Add attributes to Hyperlinks in HyperLinkColumn
treilly via DotNetMonster.com - 16 Jan 2006 9:01 PM - 2 messages
Does anyone know how to add javascript calls to HyperLinks in a HyperLinkColumn contained in a Datagrid? Somehow I need to have each hyperlink do something like the following: <a href="#" id="whatever" onmouseout="whatever" onmouseover="whatever"....... Is this possible? or am I out of luck ...
Score ObjectDataSource and the DataRow
Fernik - 16 Jan 2006 8:57 PM - 4 messages
Redmond, I have a problem!!! I have BusinessObject defined in the ObjectDataSource, who has a function that accepts a single record object (a DataRow) as the Update function. However when I want to update the changes in the GridView, and click the update button I get the error message "No parameterless ...
Score How can transpose a Datagrid
abacusdotcom - 16 Jan 2006 1:09 PM - 2 messages
Hi All,       I have problem in manipulation my data grid. My problem started with with d length of data from datatable, if I bind the dataTable to datagrid, it will be longer than the viewport of the ...
Next » 2 3 4 5 6 7 8 9 10