This is a migrated thread and some comments may be shown as answers.

SqlDataSource on DataKeyNames

1 Answer 116 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mahmoud
Top achievements
Rank 1
Mahmoud asked on 03 May 2011, 07:47 PM
Hi ..

I'm Facing a problem in my RadGrid which is :

SessionDataSource used in all Edit forms in all demos ... and it is using primarykeyfields and a ( ? ) symbol which gets the selected index DataKeyValue ...

Unfortunately this property ( primarykeyfields  ) does not exist in SqlDataSource .

I'm working on SqlDataSource on my project and I want to use the insert/update/delete commands which use CommandName and SqlDataSource

so..

any help for this problem .... I will be thankful

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 04 May 2011, 05:39 AM
Hello Mahmoud,

You can bind RadGrid to SQLdataSource. Here is the documentation and code library which explains more on this.
Declarative DataSource.
Automatic operations with SqlDataSource control

Thanks,
Shinu.
Tags
Grid
Asked by
Mahmoud
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or