Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5 > BOOK: Beginning ASP.NET 4.5 : in C# and VB
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 11th, 2015, 04:41 PM
Authorized User
Join Date: Nov 2010
Posts: 63
Thanks: 3
Thanked 0 Times in 0 Posts
Default update data in entity by passing name of field in procedure

I want to reuse a procedure that updates a field in the database using entity framework.
How can I pass the name of the column through the procedure? In DAO for example I could pass the column name as string (for example columname) and put in in () (like rs!(columname)).
Thanks for the help.
Alexander Avidan
Old April 12th, 2015, 09:19 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi thee,

You may find this useful:



Imar Spaanjaars
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch.14: Unable to update the Entity Diagram to include new tables wassim84 BOOK: Beginning ASP.NET 4.5 : in C# and VB 1 January 24th, 2015 12:07 PM
Entity Framework update problem melis_13nic BOOK: Beginning ASP.NET 4.5 : in C# and VB 7 April 11th, 2014 06:39 AM
Entity Data Source and bit data types DennisE ASP.NET 4 General Discussion 5 July 25th, 2011 02:51 PM
Entity Update avidan ASP.NET 4 General Discussion 1 December 28th, 2010 02:20 AM
Update city field based on zip field nganb SQL Server ASP 0 April 22nd, 2004 10:30 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.