Click here to Skip to main content
16,006,013 members
Home / Discussions / Database
   

Database

 
AnswerRe: Temporary Tables - SQL Stored Procedures Pin
N a v a n e e t h22-Mar-07 0:34
N a v a n e e t h22-Mar-07 0:34 
GeneralRe: Temporary Tables - SQL Stored Procedures Pin
AskSharp22-Mar-07 8:30
AskSharp22-Mar-07 8:30 
QuestionMove to previous recors Pin
hamid_m21-Mar-07 8:19
hamid_m21-Mar-07 8:19 
AnswerRe: Move to previous recors Pin
N a v a n e e t h21-Mar-07 20:18
N a v a n e e t h21-Mar-07 20:18 
GeneralRe: Move to previous recors Pin
hamid_m21-Mar-07 20:38
hamid_m21-Mar-07 20:38 
GeneralRe: Move to previous recors Pin
Colin Angus Mackay21-Mar-07 23:48
Colin Angus Mackay21-Mar-07 23:48 
GeneralRe: Move to previous recors Pin
hamid_m22-Mar-07 6:16
hamid_m22-Mar-07 6:16 
GeneralRe: Move to previous recors Pin
Mairaaj Khan22-Mar-07 10:44
professionalMairaaj Khan22-Mar-07 10:44 
hamid_m wrote:
when form loaded, it read last record and show it to user and user have ability to edit, new, delete and move next (disable this case), previous and last and home.

For this situation the Generic Data Classes (that is dataset etc) are ideal. DataReader is one of the *Managed Provider classes* and just reads the rows in forward only direction.

hamid_m wrote:
my table is very much so i wast time if i want use dataset(and fill all) therefor i have to use datareader.

Although datasets are slower than datareaders, connecting to the database over and over again, greatly reduces the application's performance. Memory resident data in the form of DataSet and related objects will be a better choice to work with the data. Another good feature of dataset is that they are not specific to any database, and work with any sort of database in the same manner. You should spend a little time to explore DataSet and related classes (that are DataRelation, DataTable, DataView, DataColumn, DataRow etc); other wise the chances of user time wastage by the application may arise.

Regards.


________________________________
Success is not something to wait for, its something to work for.

GeneralRe: Move to previous recors Pin
hamid_m22-Mar-07 11:13
hamid_m22-Mar-07 11:13 
Questionstore & retrive(play) audio file in\from database [modified] Pin
shriku2421-Mar-07 6:12
shriku2421-Mar-07 6:12 
AnswerRe: store & retrive(play) audio file in\from database Pin
Colin Angus Mackay21-Mar-07 7:43
Colin Angus Mackay21-Mar-07 7:43 
GeneralRe: store & retrive(play) audio file in\from database Pin
N a v a n e e t h21-Mar-07 18:44
N a v a n e e t h21-Mar-07 18:44 
GeneralRe: store & retrive(play) audio file in\from database Pin
Colin Angus Mackay21-Mar-07 22:30
Colin Angus Mackay21-Mar-07 22:30 
QuestionQuerying SQL2005 in C# on Current DateTime Pin
briwright21-Mar-07 5:29
briwright21-Mar-07 5:29 
AnswerRe: Querying SQL2005 in C# on Current DateTime Pin
Pete O'Hanlon21-Mar-07 5:41
mvePete O'Hanlon21-Mar-07 5:41 
AnswerRe: Querying SQL2005 in C# on Current DateTime Pin
Laxman Auti21-Mar-07 5:50
Laxman Auti21-Mar-07 5:50 
QuestionIs there and difference between .mdf file in MSSQL & SQLEXPRESS? Pin
sir_moreno21-Mar-07 1:38
sir_moreno21-Mar-07 1:38 
AnswerRe: Is there and difference between .mdf file in MSSQL & SQLEXPRESS? Pin
Colin Angus Mackay21-Mar-07 4:57
Colin Angus Mackay21-Mar-07 4:57 
GeneralRe: Is there and difference between .mdf file in MSSQL & SQLEXPRESS? Pin
sir_moreno21-Mar-07 5:18
sir_moreno21-Mar-07 5:18 
GeneralRe: Is there and difference between .mdf file in MSSQL & SQLEXPRESS? Pin
Pete O'Hanlon21-Mar-07 5:23
mvePete O'Hanlon21-Mar-07 5:23 
GeneralRe: Is there and difference between .mdf file in MSSQL & SQLEXPRESS? Pin
sir_moreno21-Mar-07 6:09
sir_moreno21-Mar-07 6:09 
QuestionHow to avoid primary key violation error Pin
JeyKey21-Mar-07 0:15
JeyKey21-Mar-07 0:15 
AnswerRe: How to avoid primary key violation error Pin
Pete O'Hanlon21-Mar-07 0:39
mvePete O'Hanlon21-Mar-07 0:39 
GeneralRe: How to avoid primary key violation error Pin
JeyKey21-Mar-07 0:45
JeyKey21-Mar-07 0:45 
GeneralRe: How to avoid primary key violation error Pin
Pete O'Hanlon21-Mar-07 2:43
mvePete O'Hanlon21-Mar-07 2:43 

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.