Configure SqlDataSource problem

L

Lars

Hi

I have another problem as well. For some reason the Configuration of the
SQLSataSource doesn't allow me to select the commands Insert, Update and
Delete. They are grayed. HOwever I seam to be able to make INsert by adding
SQL commands (with parametrized values). It's when I try to make an edit
form for the values that takes care of the SQL Insertion problem that I
can't Insert, Update or Delete.

Lars
 
M

Manish

Hi Lars,

If the table you are loading in the SQLDataSource does not contain the
Primary key then you would not be able to generate the Update,delete and
insert command. If your table has a primary key then you can select the
Advanced button and then check the option to automatically generate the
update,insert and delete command for you.

Regards,
Manish

www.ComponentOne.com
 

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

Members online

No members online now.

Forum statistics

Threads
474,265
Messages
2,571,071
Members
48,771
Latest member
ElysaD

Latest Threads

Top