Problems with editable datagrid

J

Jesper Stocholm

I have a challenge, that I do not seem to be able to solve.

I have an "overview"-page that presently displays data from 2 columns in a
database table. The users should be allowed to edit data in the table, and
I would think, that I could use an editable datagrid for this.

However - I cannot find the right article that tells me how to do it. What
I can't seem to figure out is this: The database table-row has 7 fields
that should be edited - one of them is a DateTime-field, and I would like
the editable datagrid to display a asp:Calendar when in edit-mode. How do I
display these fields - when only 2 fields are present in the overview-page?
The data is initially entered by the user in a form somewhere else on the
website, and basically I would like the edit-mode of the datagrid to mirror
the form that was originally used.

As I said, I have found some articles including som "Cutting Edge"-articles
from MSDN Magazine, but I cannot seem to find one that has an example like
I need. Could you point me to other articles?

Thanks,

:eek:)

(originally posted in m.p.d.f.a.datagrid)
FUT: microsoft.public.dotnet.framework.aspnet
 
J

Jesper Stocholm

check these articles out..
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vst
echart/html/vbtchTopQuestionsAboutASPNETDataGridServerControl.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vst
echart/html/vbtchcreatingwebservercontroltemplatesprogrammatically.asp

Hi kilic,

Thanks for your reply. I have looked at the articles, but I fail to see
exactly the thing I am looking for.

Right now I have a datagrid with two columns and an column with the 'edit'-
link. The values for "Date" and "Title" come from a table with 8 columns.

Date | Title | Edit
-----------------------

When I click "Edit" on a particular row, I would like the datagrid to "open
up" and show me 7 textboxes and an asp:Calendar in this particular row,
keeping the other rows intact. Is this at all possible? How do I
place/align the controls in the editable row?

:eek:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,765
Messages
2,569,568
Members
45,042
Latest member
icassiem

Latest Threads

Top