Click here to Skip to main content
15,892,005 members
Home / Discussions / Database
   

Database

 
AnswerRe: DTS Pin
andyharman29-Mar-07 22:51
professionalandyharman29-Mar-07 22:51 
QuestionData transfer Pin
keroed_edmond29-Mar-07 17:57
keroed_edmond29-Mar-07 17:57 
AnswerRe: Data transfer Pin
Chetan Patel29-Mar-07 20:55
Chetan Patel29-Mar-07 20:55 
QuestionGetting the connection string Pin
dptalt29-Mar-07 8:36
dptalt29-Mar-07 8:36 
AnswerRe: Getting the connection string Pin
Rob Graham29-Mar-07 9:10
Rob Graham29-Mar-07 9:10 
QuestionHow can I Inserting to a table Pin
mghiassi29-Mar-07 6:46
mghiassi29-Mar-07 6:46 
AnswerRe: How can I Inserting to a table Pin
Colin Angus Mackay29-Mar-07 21:16
Colin Angus Mackay29-Mar-07 21:16 
Questionprivate Table Adapters Pin
Drathmar29-Mar-07 5:49
Drathmar29-Mar-07 5:49 
Lately I have be using Strongly typed datasets and adapters and have been liking them. However I have come across a few stumbling blocks that I was wondering if someone could help me with.


1. I'm making a code library that does various things, I guess you would call it something of a 'business layer.' I have strongly typed data adapters, with my own sql fuctions. In my library I use these data adapters and also enforce a few key rules like setting timestamps and logging user names. If someone could create their own instance of the data adapter and bypass my library it would threaten the integrity of the data. Is there some way to secure the dataset so that my libary would be the only thing that could create it?


2. Next thing, in my library each function creates a data adapter, calls its function or functions and then returns its value. Since it is a class I was looking at making a private static version of each of these data adapters. Are there any pitfalls that I should be aware of, (adapters not clearing data, or disconnecting, etc....) or is this a pretty common practice?


3. Lastly, is there some way to enforce rules into the data adapter itself. For instance if i have a function called "Add_Record(recorddata, username, timestamp)" do something to enfoce that username must always be "HttpContext.Current.User.Identity.Name" and that the timestamp is "datetime.now"
QuestionServer Error in '/aspx' Application. Pin
nothingbutcat29-Mar-07 5:07
nothingbutcat29-Mar-07 5:07 
AnswerRe: Server Error in '/aspx' Application. Pin
Colin Angus Mackay29-Mar-07 5:22
Colin Angus Mackay29-Mar-07 5:22 
GeneralRe: Server Error in '/aspx' Application. Pin
nothingbutcat29-Mar-07 6:44
nothingbutcat29-Mar-07 6:44 
QuestionConvert .NET Framework types to SQL data type? Pin
Gywox29-Mar-07 4:24
Gywox29-Mar-07 4:24 
Questionconvert datetime Pin
Test27030729-Mar-07 0:16
Test27030729-Mar-07 0:16 
AnswerRe: convert datetime Pin
Colin Angus Mackay29-Mar-07 0:47
Colin Angus Mackay29-Mar-07 0:47 
GeneralRe: convert datetime Pin
Test27030729-Mar-07 1:00
Test27030729-Mar-07 1:00 
GeneralRe: convert datetime Pin
Colin Angus Mackay29-Mar-07 3:16
Colin Angus Mackay29-Mar-07 3:16 
AnswerRe: convert datetime Pin
Krish - KP29-Mar-07 1:39
Krish - KP29-Mar-07 1:39 
GeneralRe: convert datetime Pin
Test27030729-Mar-07 1:52
Test27030729-Mar-07 1:52 
AnswerRe: convert datetime Pin
Chetan Patel29-Mar-07 21:00
Chetan Patel29-Mar-07 21:00 
QuestionSnap-in failed to initilize error on enterprise manager Pin
mohd imran abdul aziz28-Mar-07 21:02
mohd imran abdul aziz28-Mar-07 21:02 
QuestionDuplicate records Pin
Sophia Rekhi28-Mar-07 18:55
Sophia Rekhi28-Mar-07 18:55 
AnswerRe: Duplicate records Pin
jijoaresseriljose28-Mar-07 21:33
jijoaresseriljose28-Mar-07 21:33 
GeneralRe: Duplicate records Pin
Sophia Rekhi28-Mar-07 23:10
Sophia Rekhi28-Mar-07 23:10 
AnswerRe: Duplicate records Pin
Krish - KP29-Mar-07 1:46
Krish - KP29-Mar-07 1:46 
GeneralRe: Duplicate records [modified] Pin
jijoaresseriljose29-Mar-07 3:31
jijoaresseriljose29-Mar-07 3:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.