Click here to Skip to main content
15,908,274 members
Home / Discussions / C#
   

C#

 
Questiondelete rows in listView using KeyPressed event and Delete Key Pin
al3xutzu0015-Jul-09 3:14
al3xutzu0015-Jul-09 3:14 
AnswerRe: delete rows in listView using KeyPressed event and Delete Key Pin
Christian Graus15-Jul-09 3:14
protectorChristian Graus15-Jul-09 3:14 
GeneralRe: delete rows in listView using KeyPressed event and Delete Key Pin
al3xutzu0015-Jul-09 3:20
al3xutzu0015-Jul-09 3:20 
GeneralRe: delete rows in listView using KeyPressed event and Delete Key Pin
Christian Graus15-Jul-09 3:45
protectorChristian Graus15-Jul-09 3:45 
GeneralRe: delete rows in listView using KeyPressed event and Delete Key Pin
Nagy Vilmos15-Jul-09 3:52
professionalNagy Vilmos15-Jul-09 3:52 
GeneralRe: delete rows in listView using KeyPressed event and Delete Key Pin
Nagy Vilmos15-Jul-09 3:59
professionalNagy Vilmos15-Jul-09 3:59 
AnswerRe: delete rows in listView using KeyPressed event and Delete Key Pin
MatheusMK35-Aug-09 10:40
MatheusMK35-Aug-09 10:40 
QuestionRecreate OracleDataReader? Pin
Mark McArthey15-Jul-09 3:10
Mark McArthey15-Jul-09 3:10 
I'm writing an Active Directory class in which I'd like to recreate the implementation of the OracleDataReader. For those of you not familiar, you can create an object in the typical fashion:
OracleDataReader reader = cmd.ExecuteReader(blah, blah);

The implementation is similar to the following:
while (reader.Read())
{
   Add(reader["name"].ToString());
}

What's important to note is the fact that the Read() method returns a boolean. My ExecuteReader() method (I named mine something else) generates a DataView. I can envision the equivalent Read() method stepping through the DataView and returning this boolean value whether or not more records exist.

The item I'm stuck on is the implementation of access an object like a HashTable. I'm relatively new to the OOP world but I haven't seen this sort of access method before and am not sure how to implement it. Is this somehow overriding the array method?

I'd appreciate any tips on how to get started!

Thanks!
AnswerRe: Recreate OracleDataReader? Pin
Ennis Ray Lynch, Jr.15-Jul-09 3:24
Ennis Ray Lynch, Jr.15-Jul-09 3:24 
QuestionEnum outlook folder Pin
john563215-Jul-09 2:59
john563215-Jul-09 2:59 
AnswerRe: Enum outlook folder Pin
benjymous15-Jul-09 3:22
benjymous15-Jul-09 3:22 
QuestionRe: Enum outlook folder Pin
john563215-Jul-09 21:29
john563215-Jul-09 21:29 
AnswerRe: Enum outlook folder Pin
benjymous15-Jul-09 22:25
benjymous15-Jul-09 22:25 
GeneralRe: Enum outlook folder Pin
john563215-Jul-09 22:40
john563215-Jul-09 22:40 
QuestionRe: Enum outlook folder Pin
john563215-Jul-09 23:05
john563215-Jul-09 23:05 
QuestionHow to : Get the variable name in runtime ? Pin
bonzaiholding15-Jul-09 2:21
bonzaiholding15-Jul-09 2:21 
AnswerRe: How to : Get the variable name in runtime ? Pin
musefan15-Jul-09 2:24
musefan15-Jul-09 2:24 
QuestionRe: How to : Get the variable name in runtime ? Pin
bonzaiholding15-Jul-09 2:29
bonzaiholding15-Jul-09 2:29 
AnswerRe: How to : Get the variable name in runtime ? Pin
musefan15-Jul-09 2:33
musefan15-Jul-09 2:33 
AnswerRe: How to : Get the variable name in runtime ? Pin
Eddy Vluggen15-Jul-09 2:46
professionalEddy Vluggen15-Jul-09 2:46 
GeneralRe: How to : Get the variable name in runtime ? Pin
Luc Pattyn15-Jul-09 2:50
sitebuilderLuc Pattyn15-Jul-09 2:50 
QuestionHow to Get AutoGenerate Code with Strings and Numbers in C# Pin
ChandrakanthGaddam15-Jul-09 2:12
ChandrakanthGaddam15-Jul-09 2:12 
AnswerRe: How to Get AutoGenerate Code with Strings and Numbers in C# Pin
dan!sh 15-Jul-09 2:17
professional dan!sh 15-Jul-09 2:17 
AnswerRe: How to Get AutoGenerate Code with Strings and Numbers in C# [modified] Pin
musefan15-Jul-09 2:17
musefan15-Jul-09 2:17 
GeneralRe: How to Get AutoGenerate Code with Strings and Numbers in C# Pin
Luc Pattyn15-Jul-09 2:51
sitebuilderLuc Pattyn15-Jul-09 2:51 

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.