Click here to Skip to main content
15,909,242 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
How can I build a WebForm with GridView
that can Sort and Page. And be able to Insert, Update, Delete.

But I want to have a class that manage the connection and Queries
that can be used for multiple WebForm in the project.

I have VS2010 with Oracle DB and Oracle Data Access.

Thank you.
Posted
Updated 17-Feb-11 9:30am
v2

This is a really good way to find out about stuff like this. Don't be scared of the mighty Google. He is really your friend.
 
Share this answer
 
Comments
TheCodeVB 17-Feb-11 23:13pm    
It's the first I do but not success, Sorry. There are a lot of info about ASP.net and SqlServer but not the same with Oracle and ASP.net 4.0
fjdiewornncalwe 18-Feb-11 10:59am    
The only differences between working with oracle or mssql would potentially be the connection string syntax and some subtle sql syntax variations. If you can't connect properly to oracle, verify that your connection strings are correct by comparing them to samples at www.connectionstrings.com
There are a number of articles here at CP - http://www.codeproject.com/KB/aspnet/#Data[^]

There are many tutorials out there - See Here[^]
 
Share this answer
 
Comments
TheCodeVB 17-Feb-11 23:10pm    
The first thing I do it's search but I don't find I want need.
The article found uses SqlDataAdapter where I have to specified ConnectionString. And I don't want to Open a DataBase connection in every WebForm I have.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900