We help IT Professionals succeed at work.

Ideas about Editing records in ASP.NET

nectarios777
nectarios777 asked
on
320 Views
Last Modified: 2014-05-08
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!
Comment
Watch Question

Technical Lead
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
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 PatilTechnical Lead
CERTIFIED EXPERT

Commented:
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.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.