FormView > Edit

S

shapper

Hello,

I have a GridView where each row has an EDIT and a DELETE buttons.

I also have a FormView with TextBoxes, DropDownLists, etc.

When an EDIT button is pressed I make the MyFormView.Visible = True.

My questions are:

1. How can I turn my FormView to EDIT mode?

2. How can I send the ID (Primary Key) of the GridView's selected row
to my FormView and how to access it in it?

Thank You,

Miguel
 
S

shapper

Hello,

I have a GridView where each row has an EDIT and a DELETE buttons.

I also have a FormView with TextBoxes, DropDownLists, etc.

When an EDIT button is pressed I make the MyFormView.Visible = True.

My questions are:

1. How can I turn my FormView to EDIT mode?

2. How can I send the ID (Primary Key) of the GridView's selected row
to my FormView and how to access it in it?

Thank You,

Miguel

Please, any idea?
 

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

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top