473,395 Members | 1,527 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.

objectDataSource

Ok, well Im working with .Net 2.0 (VB to be exact) in a ASP.NET
enviroment

Im sold on the Code folder(soon to become Application_Code I belive)
and I SOLD on the MS implementation of Business Objects with that and
the ability to bind them to data controls

NOW all that said

Where can I find a sample that does ADD, UPDATE and DELETE in a VB
sample ?

I created a class CutomerObject and it has GetCustomer that does a
Select * on Customers , and Binds it to a Grid

Works GREAT

Now I stubbed Update, Delete and Insert for the moment because well, I
can get it working but I want to have those available to the Grid
(less Insert of course since for some reason you cant insert through a
Grid without writing some extra code , why is that MS ?)

What would be MUCH appreciated from any souls out there is what do I
need to do in my Update and Delete methods of the object ?

What is the PROPER way to do this in .Net 2.0 using the RECCOMEDED MS
conventions

Please any sample that do update and delete from a class to an
objectDataSource

Pretty please ?

Chris
Nov 18 '05 #1
2 1019
Thanks

EXACTLY What I was looking for !

Not related to Hans Beamer are you ?

Chris
"Cowboy (Gregory A. Beamer) - MVP" <No************@comcast.netNoSpamM> wrote in message news:<3F**********************************@microso ft.com>...
I would look at the beta samples. If you have not installed on your machine,
try:
http://beta.asp.net/quickstart/aspnet/doc/data.aspx

---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
"WertmanTheMad" wrote:
Ok, well Im working with .Net 2.0 (VB to be exact) in a ASP.NET
enviroment

Im sold on the Code folder(soon to become Application_Code I belive)
and I SOLD on the MS implementation of Business Objects with that and
the ability to bind them to data controls

NOW all that said

Where can I find a sample that does ADD, UPDATE and DELETE in a VB
sample ?

I created a class CutomerObject and it has GetCustomer that does a
Select * on Customers , and Binds it to a Grid

Works GREAT

Now I stubbed Update, Delete and Insert for the moment because well, I
can get it working but I want to have those available to the Grid
(less Insert of course since for some reason you cant insert through a
Grid without writing some extra code , why is that MS ?)

What would be MUCH appreciated from any souls out there is what do I
need to do in my Update and Delete methods of the object ?

What is the PROPER way to do this in .Net 2.0 using the RECCOMEDED MS
conventions

Please any sample that do update and delete from a class to an
objectDataSource

Pretty please ?

Chris

Nov 18 '05 #2
Thanks

EXACTLY What I was looking for !

Not related to Hans Beamer are you ?

Chris
"Cowboy (Gregory A. Beamer) - MVP" <No************@comcast.netNoSpamM> wrote in message news:<3F**********************************@microso ft.com>...
I would look at the beta samples. If you have not installed on your machine,
try:
http://beta.asp.net/quickstart/aspnet/doc/data.aspx

---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
"WertmanTheMad" wrote:
Ok, well Im working with .Net 2.0 (VB to be exact) in a ASP.NET
enviroment

Im sold on the Code folder(soon to become Application_Code I belive)
and I SOLD on the MS implementation of Business Objects with that and
the ability to bind them to data controls

NOW all that said

Where can I find a sample that does ADD, UPDATE and DELETE in a VB
sample ?

I created a class CutomerObject and it has GetCustomer that does a
Select * on Customers , and Binds it to a Grid

Works GREAT

Now I stubbed Update, Delete and Insert for the moment because well, I
can get it working but I want to have those available to the Grid
(less Insert of course since for some reason you cant insert through a
Grid without writing some extra code , why is that MS ?)

What would be MUCH appreciated from any souls out there is what do I
need to do in my Update and Delete methods of the object ?

What is the PROPER way to do this in .Net 2.0 using the RECCOMEDED MS
conventions

Please any sample that do update and delete from a class to an
objectDataSource

Pretty please ?

Chris

Nov 18 '05 #3

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

Similar topics

12
by: Jim Hammond | last post by:
I am passing the whole object instead or parameters in my select and update methods. I can get the updated object if I set UpdateMethod, let ASP.NET autogenerate an update button, and then press...
5
by: Ole M | last post by:
I'm having some trouble using the ObjectDataSource in ASP.NET 2.0. I have a wrapper that contains the static methods for Select and Update. The Update-method takes the business object as...
3
by: avezina | last post by:
We would like to use those new cool features of Asp.Net 2.0 like the ObjectDataSource in our project. I tried few basics examples and its work well. Let's say I have a page that displays a...
0
by: Eiriken | last post by:
Hello everyone, I am using ASP.NET 2 and trying to bind a objectdatasource to a gridview. By doing this the most common way by adding an objectdatasource to the page and by using the wizard to...
2
by: J055 | last post by:
Hi I've implemented caching for my ObjectDataSource. <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" EnableCaching="True" CacheDuration="10" CacheExpirationPolicy="Sliding" ...
0
by: Northern | last post by:
Hello, I have some trouble to declare and instantiate dynamically an ObjectDataSource in the codebehind file. The idea is to bind the objectdatasource to a gridview and have automate sorting and...
10
by: J055 | last post by:
Hi I've been trying out SqlCacheDependency using the ObjectDataSource and SQL Server 2005. It all works quite well with the minimum of configuration, e.g. <asp:ObjectDataSource...
14
by: Rolf Welskes | last post by:
Hello, I have an ObjectDataSource which has as business-object a simple array of strings. No problem. I have an own (custom) control to which I give the DataSourceId and in the custom-control...
5
by: Randy Smith | last post by:
Hi ALL, I wonder if anyone has been using n-tier to bind to a GridView control by using the ObjectDataSource. This is our first OOP web application, and we have no tables. Right now we are...
3
by: btreddy | last post by:
Hii all, I've a problem regarding passing select parameters to objectdatasource from code behind. i would like to pass the select parameters to a objectdatasource ..not in the selecting or...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
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
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...

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.