hide/delete rows & the consequent page numbering problem
Thu, 1 Mar 2007 13:59:43 -0600
Hi all;
This is my first time on here (followed the link on DataGridGirl's site). I'm fairly experienced, but this one has me about to pull my hair out, something I can ill afford.
I've bound a datasource to the grid. On the _ItemDataBound function, I'm determining, via a called function, whether this item sh ...
|
Subform on web page
Thu, 1 Mar 2007 11:44:13 -0800
So I am really familiar with Access and trying to duplicate the
functionality on a web page (and didn't see a nice way to export my form
from Access)...
Have a data entry web page, but want a subform that has a one-to-many
relationship with the data on the main part of the web page. This subform is
for ...
|
GridView RowEditing Requery question
Wed, 28 Feb 2007 14:42:44 -0500
I have a Requery() function for my data.
I call it when !Page.IsPostback to fill the grid (so I set the DataSource
and call DataBind manually).
Now my user clicks Edit in the grid so now RowEditing fires.
In RowEditing I do:
gv.EditIndex = e.NewEditIndex;
Requery();
That all works -- but my concern is: ...
|
Template column texbox - Unable to cast textarea as textbox
28 Feb 2007 06:29:55 -0800
Hi.
I am using a template column in my datagrid that uses a multiline
textbox (code follows)
<asp:TemplateColumn HeaderText="pdRevisedOrIssued">
<ItemTemplate>
<asp:Label runat="server" Text='<%# DataBinder.Eval(Container,
"DataItem.pdRevisedOrIssued") %>'>
</asp:Label>
</ItemTemplate>
< ...
|
Form View Layout
Tue, 27 Feb 2007 14:42:00 -0800
I have a standard Form View bound to a SQL Data Source with Edit/Update
features enabled and it works well and fine.'
I want to change the layout from the standard Vertical View of recordsets to
a more easier to read form view where I customize the fields (about 20
fields) in different parts of the webform ...
|
Where is the processing done - VS2005 Web development
Tue, 27 Feb 2007 09:21:26 -0000
Hi all
I use datagrids bound to Objectdatasources in turn bound to datatables
Every thing works Ok, but I'm curious on how it actually works.
I have a view in my SQL Server 2000 database. i.e. vw_KPITurnAround
I connect to the view via a XSD data table with something like
SELECT ... FROM vw_KP ...
|
set dropdownlist selectedindex in datagrid
25 Feb 2007 14:52:54 -0800
Hi all,
I have a datagrid with a dropdownlist and would like to have the
dropdownlist display a database value correctly while the grid is in
edit mode.
I have a templatecolumn as follows:
<asp:TemplateColumn HeaderText="New Route">
<HeaderStyle Width="0.5in"></HeaderStyle>
<ItemTemplate>
<asp:DropDo ...
|
|
|
GridView DropDownList events
Thu, 22 Feb 2007 17:16:25 -0500
When editing I show a DropDownList.
I want to show/hide a textbox next to that list if the user selects Other.
I've tried many ways but I can get it to work:
1.) If I knew the TextBox controls name/id I could just add an onchange
attribute to my DDL during RowDataBound and then put in some javascript to
s ...
|
Insertion into GridView
Tue, 20 Feb 2007 00:36:17 -0800
i have added a footer row in the gridview and a link button in the footer row for insertion of new row into the database. when i press new button, appropriate textboxes are appearing in the footer row. i had written the code in Page_Load() as follows
protected void Page_Load(object sender, EventArgs e)
{
...
|
DataGrid's Delete command does not work
Mon, 19 Feb 2007 20:36:01 GMT
Hello,
I defined an object source with GetData(), Insert(Object object), Update
(Object object),
Delete(Object object). When I connected the datasource to a DataGrid View
and
a Details View, ASP.NET worked well for all other commands except "Delete".
There is no response by either clicking the DataGrid ...
|