all groups > asp.net datagrid control > october 2005 > threads for october 1 - 7, 2005
Filter by week: 1 2 3 4 5
DataGrid Not Sorting
Posted by Michael Caruso at 10/6/2005 11:29:01 AM
My web datagrid isn't sorting at all. I have it wired up to a handler, and I
know the handler is working (being called), but no sorting. The page just
posts back with the same data. I hhave verified that the SortExpression
values are the column names. I used the VS IDE to create a datasour... more >>
How to get the selected ROW NO.. in a grid view control..?
Posted by ¿_Mahesh_Kumar at 10/6/2005 12:00:00 AM
I have placed select, update, delete in a grid view of ASP.NET 2.0. I =
want to fetch the selected row no when i click on select button on that =
grid. The grid view items are dynamic in length. How can i achieve this =
in runtime..?
Mahesh
www.snipurl.com/guac... more >>
Printing - Really Need Help!
Posted by Jay at 10/4/2005 11:11:41 AM
I have been searching and searching and searching for a way to print a
lengthy datagrid on multiple pages and persist the header. I also do not
want the last datagrid row on the page to be cut off when printing. Any
ideas, examples, links, etc.?
I do not have access to Reporting Services ... more >>
When you bind an array to a datagrid, what's the field name?
Posted by Jon Edney at 10/4/2005 9:50:04 AM
In ASP.NET v2.0, I can successfully bind a generic datagrid to a 1 dimensional
array. But, now I want to customise the column header. I think I need to
make the first column (the one having data in the array) a "BoundColumn" and
set the HeaderText property, but the problem is that the BoundColu... more >>
DataGrid Row Disappears when click edit??
Posted by Assimalyst at 10/4/2005 7:56:11 AM
Hi,
I have a datagrid DataBound with the following code:
private void SampleSearch()
{
// set search strings
int intUserNo = (int)(Session["usrNo"]);
string strPatientCode = patientCodeTxtBx.Text;
DateTime dateProcedureDate = DateTime.Parse(procedureDateTxtBx.Text);
// set param... more >>
Newbie Question - Datagrid Results
Posted by Keith at 10/3/2005 2:45:59 PM
Is there a way to display the field you are GROUPING BY in a datagrid? =
I am doing a select count and using the GROUP BY option to display the =
results. When the results are displayed in the datagrid it just shows =
the results but not the field it is being GROUPED BY (probably getting =
wh... more >>
Regenerating a Datagrid
Posted by Shahir A. Ahang at 10/3/2005 2:37:57 PM
All,
I am wondering if there is a way to regenerate a datagrid which has already
been bound to a dataset WITHOUT having to re-query the data source.
In my page, I have a drop-down control which is populated through a SQL
query. Once the user selects a value from the drop-down, the datagri... more >>
SelectedIndex Value Reported Incorrectly
Posted by Nathan Sokalski at 10/3/2005 12:53:36 PM
I am writing a User Control that uses 3 DropDownLists. When I attempt to
access the SelectedIndex property it incorrectly reports the value selected
by the user. Why is this? Here is my code, thanks:
Public Class DatePicker
Inherits System.Web.UI.UserControl
#Region " Web Form Desig... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Getting the column from a table cell
Posted by zahidayar NO[at]SPAM gmail.com at 10/3/2005 5:03:05 AM
Hello everyone,
Is it possible (and if so, how) to obtain a reference to the column
given a table cell for a datagrid?
Zahid
... more >>
Create Columns at run time
Posted by Tina at 10/1/2005 5:46:05 PM
if you place a datagrid on a form and then, in Property builder, check the
box saying Create Columns at run time. An then do a SQL Select into a
datatable, and then bind the datatable to the grid, the grid displays
correctly. BUT, the columns array is empty. The grid displays just fine.
T... more >>
|