Click here to Skip to main content
15,895,656 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Help/Sample Pin
-Dr_X-14-Jun-04 19:39
-Dr_X-14-Jun-04 19:39 
GeneralRe: SQL Help/Sample Pin
karitoppinen15-Jun-04 6:00
karitoppinen15-Jun-04 6:00 
Generalkeyboard shortcuts for sql database managment tool Pin
amitmerla11-Jun-04 9:59
amitmerla11-Jun-04 9:59 
GeneralRe: keyboard shortcuts for sql database managment tool Pin
Thea Burger13-Jun-04 8:41
Thea Burger13-Jun-04 8:41 
GeneralOutput Parameters - Help! Pin
mikasa11-Jun-04 9:16
mikasa11-Jun-04 9:16 
GeneralStored Procedures in C# Pin
dtbiju10-Jun-04 19:25
dtbiju10-Jun-04 19:25 
GeneralRe: Stored Procedures in C# Pin
Michael Potter11-Jun-04 4:31
Michael Potter11-Jun-04 4:31 
GeneralRe: Stored Procedures in C# Pin
VenkatFor.NET11-Jun-04 8:37
VenkatFor.NET11-Jun-04 8:37 
I work in VB.NET but I guess, ADO.NET must be same in C#. So, here is how we use DB procedures for data handling.

We have some SQL Helper classes defined parallel to Data.SQLClient methods. These methods will discover the parameters of the procedures at runtime using SQLCommandBuilder.DeriveParameters. This gives us the current parameter information of Procedures we have in DB.Though it is a bit slow, we will have current parameter collection information. If size of a parameter in underlying SP is changed this method will have it too. So, while referencing this method, we dont have to mention datatype or size of parameters.

This works fine without changing the client or recompiling, as long as the singnature of SP is not changed. Else obviously we have to change the code in the client application.



Bhaskara
GeneralRe: Stored Procedures in C# Pin
mikasa11-Jun-04 9:13
mikasa11-Jun-04 9:13 
GeneralRe: Stored Procedures in C# Pin
Steven Campbell11-Jun-04 18:36
Steven Campbell11-Jun-04 18:36 
GeneralRe: Stored Procedures in C# Pin
Arjan Einbu15-Jun-04 2:00
Arjan Einbu15-Jun-04 2:00 
GeneralMFC/DAO temporary table Pin
IQ010-Jun-04 10:59
IQ010-Jun-04 10:59 
GeneralPlease i'm stuck with this !!! Pin
IQ012-Jun-04 9:00
IQ012-Jun-04 9:00 
GeneralDatabase Load COmmand Pin
asv10-Jun-04 8:33
asv10-Jun-04 8:33 
GeneralRe: Database Load COmmand Pin
Chris Meech10-Jun-04 9:07
Chris Meech10-Jun-04 9:07 
GeneralRe: Database Load COmmand Pin
Anonymous11-Jun-04 9:51
Anonymous11-Jun-04 9:51 
GeneralDefault name Pin
Small Rat10-Jun-04 7:33
Small Rat10-Jun-04 7:33 
GeneralTransferring data from dbaseIII+ to SQLSvr2000/Access Pin
sanjaysagrawal10-Jun-04 1:51
sanjaysagrawal10-Jun-04 1:51 
GeneralRecord No. Pin
Tuwing.Sabado9-Jun-04 20:56
Tuwing.Sabado9-Jun-04 20:56 
GeneralRe: Record No. Pin
Hesham Amin9-Jun-04 21:30
Hesham Amin9-Jun-04 21:30 
Generalupdate sql server table with dataset from excel Pin
Anonymous9-Jun-04 4:00
Anonymous9-Jun-04 4:00 
Generaldelete/modify stored procedure Pin
sharonz9-Jun-04 2:44
sharonz9-Jun-04 2:44 
GeneralRe: delete/modify stored procedure Pin
Michael Potter9-Jun-04 6:13
Michael Potter9-Jun-04 6:13 
GeneralRe: delete/modify stored procedure Pin
Edbert P9-Jun-04 20:02
Edbert P9-Jun-04 20:02 
GeneralRe: delete/modify stored procedure Pin
sharonz9-Jun-04 20:22
sharonz9-Jun-04 20:22 

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.