473,395 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 3512

"thejackofall" <th**********@discussions.microsoft.comwrote in message
news:4D**********************************@microsof t.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:
>
"thejackofall" <th**********@discussions.microsoft.comwrote in message
news:4D**********************************@microsof t.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.
----------------------------------
"thejackofall" <th**********@discussions.microsoft.comwrote in message
news:37**********************************@microsof t.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:
>>
"thejackofall" <th**********@discussions.microsoft.comwrote in message
news:4D**********************************@microso ft.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
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...
3
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...
0
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...
4
by: lkamal | last post by:
What is CRUD? Read at http://lkamal.blogspot.com/
0
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,...
13
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...
11
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...
0
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...
1
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.