Format Time in DataGrid
22 Mar 2006 11:54:11 -0800
I'm working with a table that has a field that stores time values as a
string. The time values are in military time (such as 13:30).
How can I have 13:30 displayed as 01:30 PM in my datagrid? Can I use
DataFormatString to achieve this?
Thanks,
CR Junk
...
|
Programmatically databinding textboxes to a datagrid
Wed, 22 Mar 2006 09:54:21 -0800
Hi,
I've got a dataset that I'm generating through a webservice. I would like
to instantiate one of the tables in the set as a grid. Some of the columns
in that grid should be editable via a textbox control, and I'd also like to
have a checkbox to mark rows for delete, and some button controls to add
...
|
Nested Datagrids Events Question
Wed, 22 Mar 2006 08:47:30 -0800
I was struggling with a nested control event not firing and I found the
culprit to be the following line in my code behind,
e.Item.Cells[2].Controls.Add(MyNewDatagrid);
Is there a way to add a datagrid this way, and still get the events?
Thanks ...
|
Datagrid View - Displaying values in one combo based on selected value of another
22 Mar 2006 07:17:29 -0800
Hi,
Our scenario is as follows.
WE have a datagrid view control in which we have two combo boxes ( both
as added as ItemTemplate). we would like to load the values of the
second combo when the user selects the first combo. For Ex:
Combo 1 : List of Countries
So when the user selects a Country, we need to dis ...
|
Displaying &L in a datagrid
Wed, 22 Mar 2006 09:55:54 -0500
Hi all -
I have a VS.Net 2003 web app that is used at my employer to gain accesss to
a password database. When the password page is loaded a server is selected
in a listbox and the passwords for that server are displayed in a datagrid.
Recently someone entered a password of D&Lxxxxx. When this is displa ...
|
Format datagrid
Tue, 21 Mar 2006 18:44:49 -0800
Hello,
I have a datagrid with 17 columns - too many for one page. Is there a way to
format the datagrid so the columns are located in two rows instead of one,
or something like this?
I would appreciate your advice.
Thank you,
--
Peter Afonin
...
|
replace a value with a graphic/icon in a datagrid population??
Tue, 21 Mar 2006 00:26:06 -0500
hello,
i am displaying a dataset in a datagrid, for one of the values being
displayed it either comes back as a 1 or a 0, which is currently bound
to a column in the datagrid
what i'd like to do is that if the value equals 1, replace that value
with a small icon image. if it equals 0 then have nothing display ...
|
|
|
Databind ArrayList to DataGrid
Tue, 21 Mar 2006 02:05:32 GMT
Hi I'm a newbie in C#. I would like to ask how could I bind a datagrid to an
arraylist that contains objects like eg car_obj (clutch_field,gearbox_field,
flywheel_field) so that the contents of every object is represented in the
datagrid? eg column[0] is clutch_field, column[1] is gearbox_field etc.
Thanks in ...
|
How to get rid of horizontal and vertical lines in DataGrid
20 Mar 2006 07:39:47 -0800
Does anyone know how to get rid of horzontal and vertical lines in
DataGrid?
Normally you would code ShowGridlLines ="None" in the asp web control,
but
that doesn't work for me.
Thanks,
Razza
...
|
reuse gridview for different sql queries
Mon, 20 Mar 2006 10:15:28 -0500
Hi - Newbie here.
Is there a way to reset the gridview so that I can continue to use the same
gridview and sqldatasource, but alter the SelectCommand to display different
data?
I have one gridview, and one SQLdatasource. Depending on where the user
clicks, I change the "SelectCommand" of the SQLDat ...
|