473,662 Members | 2,588 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CRUD

Hi.

Is there a way to generate the CRUD stored procedures for a table using the
Visual Studio 2005? I tried to do it in a new database project, but I can't
find a way to do it. Can VS 2005 generate them?

Thanks.
J

--
Be Cool!
Feb 16 '07 #1
3 3534

"thejackofa ll" <th**********@d iscussions.micr osoft.comwrote in message
news:4D******** *************** ***********@mic rosoft.com...
Hi.

Is there a way to generate the CRUD stored procedures for a table using
the
Visual Studio 2005? I tried to do it in a new database project, but I
can't
find a way to do it. Can VS 2005 generate them?

Thanks.
J

--
Be Cool!
Right-click on the StoredProcedure folder under the database connection in
Server Explorer and select Add New Stored Procedure from the context menu,
or select the database connection and click Data/Addnew/StoredProcedure
from the main menu.

Robin S.

Feb 16 '07 #2
Robin,

Thanks for your reply. I guess I should state my question more clearly.

What I wanted to find out is whether or not the Visual Studio 2005 can
actually
create the entire CRUD stored procedures and not just the skeleton of stored
procedure. I am talking about the actual stored procedure code for create,
retrieve, update, and delete.

If I do what you wrote, it only gives me a skeleton and not the actual SQL
code
to create, retrieve, update or delete a row.

There are some tools that can generate the entire stored procedures
for CRUD and you don't have to write a line of code.

Thanks.
J

--
Be Cool!
"RobinS" wrote:
>
"thejackofa ll" <th**********@d iscussions.micr osoft.comwrote in message
news:4D******** *************** ***********@mic rosoft.com...
Hi.

Is there a way to generate the CRUD stored procedures for a table using
the
Visual Studio 2005? I tried to do it in a new database project, but I
can't
find a way to do it. Can VS 2005 generate them?

Thanks.
J

--
Be Cool!

Right-click on the StoredProcedure folder under the database connection in
Server Explorer and select Add New Stored Procedure from the context menu,
or select the database connection and click Data/Addnew/StoredProcedure
from the main menu.

Robin S.

Feb 20 '07 #3
No, it doesn't. But check out this article. It tells how to build a stored
procedure generator. :-)

http://www.code-magazine.com/Article...uickid=0509041

Robin S.
----------------------------------
"thejackofa ll" <th**********@d iscussions.micr osoft.comwrote in message
news:37******** *************** ***********@mic rosoft.com...
Robin,

Thanks for your reply. I guess I should state my question more clearly.

What I wanted to find out is whether or not the Visual Studio 2005 can
actually
create the entire CRUD stored procedures and not just the skeleton of
stored
procedure. I am talking about the actual stored procedure code for
create,
retrieve, update, and delete.

If I do what you wrote, it only gives me a skeleton and not the actual
SQL
code
to create, retrieve, update or delete a row.

There are some tools that can generate the entire stored procedures
for CRUD and you don't have to write a line of code.

Thanks.
J

--
Be Cool!
"RobinS" wrote:
>>
"thejackofal l" <th**********@d iscussions.micr osoft.comwrote in message
news:4D******* *************** ************@mi crosoft.com...
Hi.

Is there a way to generate the CRUD stored procedures for a table
using
the
Visual Studio 2005? I tried to do it in a new database project, but I
can't
find a way to do it. Can VS 2005 generate them?

Thanks.
J

--
Be Cool!

Right-click on the StoredProcedure folder under the database connection
in
Server Explorer and select Add New Stored Procedure from the context
menu,
or select the database connection and click Data/Addnew/StoredProcedure
from the main menu.

Robin S.


Feb 20 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
332
by: amber | last post by:
Hello, I'm looking for some guidance . I'm new to VB.NET and SQL server, and have been working on a project for a while. I have been reading up on implementing CRUD operations using stored procedures. I have created my stored procedures, but I can't figure out how to call them from VB. Is there any good tutorials/walkthroughs that somone can suggest? An example of how someone else has done this would be ideal.
3
3725
by: Torben Madsen | last post by:
Hello, I have a C# problem that I hope you could help me with. I'm making a program where I need data from a database using ADO.NET. The problem is that I can't figure out how to retrieve the data without using a datagrid (I presume that a dataset is the correct solution, when I also need to CRUD (Create-Read-Update-Delete).
0
4082
by: Marie Ramos | last post by:
I'm looking for some good basic samples of Winforms C# CRUD models. The app is pretty simple, so I'm not looking for a super-sophisticated framework. Can anyone recommend some good books or online resources? I've done mostly vb.net / asp.net work, so I don't have any good models to work from. Thanks in advance, Marie
4
2711
by: lkamal | last post by:
What is CRUD? Read at http://lkamal.blogspot.com/
0
2488
by: RickmanCR750 | last post by:
People, I have an old (php3?) script which does CRUD over a mySQL db. I've upgraded to php5 and PostgreSQL (on Linux), and the script bombs (multiple errors). I'm working through it at the moment, but it's slow going. I have "list display" and "editable" working, but the DB write is not working nor is it posting an error. Are there any all-in-one, single table CRUD scripts around the traps I can pinch? I'm happy to hack an existing...
13
2703
by: John Kraft | last post by:
Friends, I'm working on some crud stuff, and I was looking for opinions on the subject. Below, I have pasted some VERY simple sample code. Class2 is a "traditional" crud type object. In a real example, these objects would probably implement some kind of ICrud interface with the common methods. I'm finding that many times, though, I want to use these objects as simple data objects, and I don't need all the database functionallity.
11
4346
by: walterbyrd | last post by:
With PHP, libraries, apps, etc. to do basic CRUD are everywhere. Ajax and non-Ajax solutions abound. With Python, finding such library, or apps. seems to be much more difficult to find. I thought django might be a good way, but I can not seem to get an answer on that board. I would like to put together a CRUD grid with editable/deletable/
0
1379
by: CBFalconer | last post by:
For the past week I have been collecting data on the relative incidence of crud in the 18 newsgroups I monitor. Here crud is defined as anything that gets caught by my filters, and good is anything that passes them. The results follow: date | Sat | Sun | Mon | Tue | Wed | Thu | Fri | Sat ---- --- --- --- --- --- --- --- --- Bad | 96 | 108 | 93 | 100 | 101 | 135 | 101 | 74 Good | 387 | 388 | 598 | 519 | 550 | 643 |...
1
3687
by: nospam | last post by:
Hello all, Using Net 2 0 and VS 2005 and MSSQL 2000... I am a newbie to ASP. I am trying to created a screen to manipulate a table - CRUD commands. The problem is the checkbox to autogenerate the CRUD commands is grayed out. - Drop SqlDataSource on design - CreateNewConnection
0
8432
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8857
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8764
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8633
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5654
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2762
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1752
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.