Avatar of nectarios777
nectarios777
Flag for United Kingdom of Great Britain and Northern Ireland asked on

Ideas about Editing records in ASP.NET

I have a gridview which is loaded with sqldatasource through a stored procedure. I have enabled editing the record so I can edit the record inline. What I want though is to edit the record on a different form using textboxes, dropdownlists etc.
Is there any way in ASP.NET that the update, delete, and new buttons are generated automatically when it comes to custom editing like WinForms - bindingsource control?
What is the best way to edit/update/delete record which requires minimum programming?

Thanks!
ASP.NET.NET Programming

Avatar of undefined
Last Comment
Manoj Patil

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Manoj Patil

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
nectarios777

ASKER
Thanks. Do you think using sqldatasource in the ascx controls or .xsd files is a security risk in any way? Having the queries as stored procedures would it be faster rather than having the code in the .xsd file or in the code behind?
Manoj Patil

Yes off course Stored Procedures are always faster than having Database code in code behind.
And I have given only a sample to do the stuff you can use stored procedure.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck