473,385 Members | 1,331 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,385 software developers and data experts.

Recommendation for CRUD functionality?

After being spoiled by Ruby on Rails, I'm seeking a similar rough
implementation in ASP.NET 2.0. I don't want a half-baked solution like Castle
on Rails.

I assumed it would be as easy as defining a SqlDataSource, dropping a
GridView on the page, and enabling Edit and Delete. Unfortunately, it doesn't
work. The table displays properly (for reading and editing), but clicking
both 'Edit' or 'Delete' does nothing. It chokes with an error message if the
source table contains TEXT fields.

Are there additional steps involved in making this work? Is there a better
approach?

Thank you.
Dec 14 '05 #1
1 1404
http://aspnet101.com/aspnet101/tutorials.aspx?id=51


"Brenden Bixler" <Br***********@discussions.microsoft.com> wrote in message
news:8F**********************************@microsof t.com...
After being spoiled by Ruby on Rails, I'm seeking a similar rough
implementation in ASP.NET 2.0. I don't want a half-baked solution like Castle
on Rails.

I assumed it would be as easy as defining a SqlDataSource, dropping a
GridView on the page, and enabling Edit and Delete. Unfortunately, it doesn't
work. The table displays properly (for reading and editing), but clicking
both 'Edit' or 'Delete' does nothing. It chokes with an error message if the
source table contains TEXT fields.

Are there additional steps involved in making this work? Is there a better
approach?

Thank you.

Dec 15 '05 #2

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

Similar topics

9
by: Reginald Blue | last post by:
I asked this before, although several months ago, and I want to make sure the recommendation hasn't changed. I'm a developer who is working on a Web application, but most of my work is at the...
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...
7
by: news.microsoft.com | last post by:
I am in the process of porting a program from DOS to VB.NET. I was given the direction of recreating the feel and functionality of the menu system from DOS. The system will not have access to a...
0
by: H5N1 | last post by:
hi all it's extremely common scenario, so I would like to ask you how do you usually implement CRUD functionality for following structure. Basically it's all about displaying "foreign name" (ie....
4
by: lkamal | last post by:
What is CRUD? Read at http://lkamal.blogspot.com/
3
by: =?Utf-8?B?dGhlamFja29mYWxs?= | last post by:
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...
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: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.