Questions tagged [data-access]

Data access typically refers to software and activities related to storing, retrieving, or acting on data housed in a database or other repository.

Data Access is simply the authorization you have to access different data files. Data access can help distinguish the abilities of Administrators and users. E.g. Admins may be able to remove, edit and add data, while a general user may not be able as they don’t have the access to that particular file.

327 questions
0
votes
2 answers

Enterprise Library Data Access Block Transaction Management Best Practice

What is the best practice for processing a batched series of CRUD operations in a single transaction with the Enterprise Library Data Access Block that it won't be esclated to a distributed transaction? Edit Full Source: public void…
Chris Marisic
  • 32,487
  • 24
  • 164
  • 258
0
votes
1 answer

Why Oracle doesn't retrieve data when publishing on IIS on Windows 8?

I'm working with Oracle 10g R2 10.2.0.1 - 64 Bits. I migrated my web application from VS2010 (running on Win7 32 bits) to VS2012 (running on Win8 64Bits) and the app runs without any problem when I'm using Visual Studio 2012 debug. My problem…
Walter Colchado
  • 337
  • 1
  • 6
  • 16
0
votes
2 answers

How to use string indexing with IDataReader in F#?

I'm new to F# and trying to dive in first and do a more formal introduction later. I have the following code: type Person = { Id: int Name: string } let GetPeople() = //seq { use conn = new…
User
  • 62,498
  • 72
  • 186
  • 247
0
votes
4 answers

How to SELECT data from SQL Server using .NET 2.0 -- as simple as possible

Easy question: I have an app that needs to make a half dozen SELECT requests to SQL Server 2005 and write the results to a flat file. That's it. If I could use .NET 3.5, I'd create a LINQ-To-SQL model, write the LINQ expressions and be done in an…
Robert Claypool
  • 4,262
  • 9
  • 50
  • 61
0
votes
2 answers

Different methods of accessing Azure storage

Is there any other method for accessing Azure storage other than using key and account name?
user176679
0
votes
1 answer

Setting Oracle Connection to HttpContext.User.Identity.Name

I need to have users that update/insert information logged correctly. Currently the connection string is used as my user and a trigger on the database takes that and logs that as the person who updated the record. Obviously, everone that uses the…
SoftwareSavant
  • 9,467
  • 27
  • 121
  • 195
0
votes
3 answers

spring mvc prevent direct access a method

I just started learning spring mvc 3. I found a small problem where my controller would handle a post request (registration form). but if type the mapping value (bla3/save.html) in address bar, it will execute the method which it shouldn't. That's…
Beny Xu
  • 39
  • 1
  • 6
0
votes
2 answers

Using a transaction to Roll Back Changes with the Entity Framework

I have this specific DAO that inherits methods from a generic DAO I would like to add a transaction to this code in order to roll back all changes that where made if an exception is found TDAO tDAO = new TDAO(); TDAO2 tDAO2 = new…
rjcossa
  • 117
  • 4
  • 18
0
votes
1 answer

Where to find a good database (factory) class with connectionpooling?

I found a lot of information about how to make a database factory or how to deal with connection pooling but i nowhere found a complete solution. I have always used my own solutions, but they're not complete i think or could be improved. Are there…
Sander Versluys
  • 72,737
  • 23
  • 84
  • 91
0
votes
1 answer

Silverlight RIA Services Data

I've been trying to figure out how to access data from my Silverlight application for a few days, now. I want to use a data class and a business class already written. Based on some advice from another post I created a Silverlight Business…
Bob Avallone
  • 379
  • 1
  • 10
  • 29
0
votes
3 answers

Can not access the Instance Data of a Singleton class from MBean

I am working against the deadline and i am sweating now. From past few days I have been working on a problem and now its the time to shout out. I have an application (let's call it "APP") and i have a "PerformanceStatistics" MBean written for APP. I…
EclipseGuru
  • 1,047
  • 3
  • 14
  • 16
0
votes
2 answers

How can I use the dropdownlist to populate/enter data?

Here's my existing code:
Yves
  • 12,059
  • 15
  • 53
  • 57
0
votes
1 answer

Accessing JSON parsed object (works with trace but not without...)

I'm facing a weird problem after parsing a JSON file. I access the data and can use it only if I use "trace" at the right place ! When I comment the trace line I get "undefined"... Is it a problem of execution order of my code or maybe a problem…
Coralie
  • 107
  • 3
  • 17
0
votes
1 answer

Microsoft Enterprise Library 5.0 Data Access - is it possible to do "query by example" functionality?

I'm evaluating using the Data Access Application Block 5.0 at work since we are married to stored procedures for the foreseeable future. I like the simplicity and the Mapper that is included in this, but what is turning me off is that there doesn't…
Wayne Molina
  • 19,158
  • 26
  • 98
  • 163
-1
votes
4 answers

Return an int instead of a datatable

How would I change my syntax below to return an Int instead of a data table. I dont need a datatable its just one value that will be returned in the query. New to this whole data access thing. Thanks for your help. public DataTable…
CsharpBeginner
  • 1,753
  • 8
  • 38
  • 68
1 2 3
21
22