Home All Groups Group Topic Archive Search About

.NET DataGrid Control

microsoft.public.dotnet.framework.aspnet.datagridcontrol
Score HyperLink column datagrid
aspnetpal - 11 Feb 2005 6:53 PM - 3 messages
Hi every1, I have a hyperlink column in the datagrid and it is working fine. This column is also a primary key for that table. Problem on hand: When user click on a particular value (row) in that column a new window ...
Score "parent / child" datagrids
Danny Sikora - 11 Feb 2005 5:21 PM - 7 messages
Hello, I have a datagrid on a .aspx page, and another datagrid on a .ascx page.  My goal is to populate the "child" datagrid (the one from the control) depending on the selected index of the parent datagrid.  The child control gets the ...
Score Set column names to template grid at runtime
leewestcott - 11 Feb 2005 4:00 PM - 2 messages
Hi all, I have datagrid on a C# webform. Users can choose a lookup table to read\ edit etc via selection from a dropdown list box. However I cannot figure out the syntax for binding the template columns to the correct field name at runtime. Below is a code snippet:- ...
Score binding a typed dataset with 2 tables
Ersin Gençtürk - 11 Feb 2005 1:29 PM - 2 messages
I can set the datasource property to a typed dataset, but I want to access datatables in the dataset when using templates using databinding syntax.how can be this done ? ...
Score CancelCommand Not Firing!
Scott M. - 10 Feb 2005 11:09 PM - 8 messages
I have an asp:DataGrid control with EnableViewState=False.  I am calling DataBind on both the non-postback and the postback.  I am persisting the state of the grid myself and restoring the state (selectedItem, editItem, sortCommand, etc.).  Everything is working just fine EXCEPT the ...
Score selection of fields in datatable for Datagrid
ALI-R - 10 Feb 2005 9:27 PM - 3 messages
I'd like my Datagrid shows only some columns in the datatable(I'd like to change the name of some columns too) How can I do that? Thanks for your help. Ali ...
Score Datagrid ... pain .... HELP!
aspnetpal - 10 Feb 2005 6:07 AM - 8 messages
Hi every1, I have trying to learn datagrid to do simple things but since day 1 running into problems after problems for really simple things. Problem on hand: Display a datagrid containing records from the database & let user to update few fields. Out of those fields one ...
Score problem updating in datagrid ??
jason - 10 Feb 2005 1:46 AM - 8 messages
The guts of the below asp.net vb code was pieced together from another thread - all due credit to it's original author. Thank you! I've modified it to  maintain a small local Microsoft 2000 access DB via a datagrid control. ...
Score change backcolor of a particular row
Harsh Vardhan Singh - 9 Feb 2005 5:09 PM - 2 messages
hi, i have a datagrid in which i wud like to highlight particular rows by either changing their backcolor or highlighting the text in those rows to bold... how can i do this? plz help.. thanx in advance harsh. ...
Score Datagrid Footer now showing up correctly
Tincho - 9 Feb 2005 3:19 PM - 2 messages
I have the following problem I have a datagrid and I want to add a footer to it, containing totals for some of the columns. I want the totals to show only the totalized columns, something like     A           B         C        D        E         F        G ...
Score Converting SQL Server "bit" field to a CLR boolean-- has to be a better way
Jim Bancroft - 9 Feb 2005 1:12 AM - 2 messages
I'm using the DataBinder.Eval() method to output the value of a SQL Server bit field.  In order to convert this value to a boolean I go through the machination below.  So far it's the only way I've been able to make this to ...
Score How to refresh a parent grid?
Roy - 8 Feb 2005 10:31 PM - 4 messages
Greetings all, I have a nested datagrid setup. When one updates the child grid using edit, it also updates a field in the parent grid (the parent grid update is done using a simple select query inside the child grid's ...
Score Hyperlink Column Event Handler...
Rad via DotNetMonster.com - 8 Feb 2005 9:12 PM - 2 messages
Hi, I have a hyperlink column for my datagrid. I do not want to use the query string and expose the "app_id" in that. Instead I would like to make use of sessions. Is is possible to have the same URL "myPage.aspx" for all links, and ...
Score Problem with datagrid update
riaz.hasani - 8 Feb 2005 8:30 PM - 5 messages
Hi every1, I'm having problem with datagrid updates. When I click on update I receive an error. Which I'm unable to trace. I'm posting the code & error. Any help would be appreciated. Code *******************************************************************     Sub dgdSearch_Update(ByVal sender As Object, ByVal e As ...
Score datagrid(master) with a datalist(detail)
Esperanza - 8 Feb 2005 4:46 PM - 2 messages
Hello everybody, I want to do a master detail web form. I've made a datagrid as a master and put a datalist below which will show up the details information. I choose a datalist for the details informations because, I have many columns and don't want to have it display as a row. ...
Score Dynamically adding DataGrid columns
Ian Oldbury - 8 Feb 2005 10:59 AM - 2 messages
Hi, Does anyone know how to add columns dynamically to a DataGrid. i populate the grid using the .ItemDataBound the current structure of my grids are as below.... <asp:templatecolumn> <headertemplate>   <asp:label id="lblDisp" runat="server" text="" tooltip="" /> ...
Score Datagrid Inserts and Paging
ComStar - 7 Feb 2005 9:49 PM - 2 messages
I have a grid that allows inserts and has paging.   The inserts work fine when the new item is on the 1st page.  The blank line is inserted and I'm in edit mode.    If the new item is on a page other than the 1st,  a new blank ...
Score Sorting underlying data
Björn Wandel - 7 Feb 2005 9:48 AM - 2 messages
Hello all. I'm sort of a newbe on asp.net. It is common in web apps to show a table of items of some sort to the user. Some columns contain links to pages where the user can edit that particular item. ...
Score Datagrid/SQL & passing values
VFR - 6 Feb 2005 10:00 AM - 2 messages
Ken This worked great once I had converted the VB to c# - thanks for your help Rich -- VFR ------------------------------------------------------------------------ Posted via [link] ------------------------------------------------------------------------ ...
Next » 2 3 4