Click here to Skip to main content
14,741,131 members
Home » Discussions » C#
   

C#

 
GeneralRe: I want to implement the Linked list, hash table functionality in .NET without using the standard inbuilt classes assuming they are not present.How Can I achieve this? Pin
sri_00993-Jul-08 5:15
Membersri_00993-Jul-08 5:15 
GeneralRe: I want to implement the Linked list, hash table functionality in .NET without using the standard inbuilt classes assuming they are not present.How Can I achieve this? Pin
leppie3-Jul-08 5:31
Memberleppie3-Jul-08 5:31 
AnswerRe: I want to implement the Linked list, hash table functionality in .NET without using the standard inbuilt classes assuming they are not present.How Can I achieve this? Pin
Dan Neely3-Jul-08 6:52
MemberDan Neely3-Jul-08 6:52 
AnswerRe: I want to implement the Linked list, hash table functionality in .NET without using the standard inbuilt classes assuming they are not present.How Can I achieve this? Pin
User 66583-Jul-08 7:07
MemberUser 66583-Jul-08 7:07 
AnswerRe: I want to implement the Linked list, hash table functionality in .NET without using the standard inbuilt classes assuming they are not present.How Can I achieve this? Pin
Christian Graus3-Jul-08 7:18
protectorChristian Graus3-Jul-08 7:18 
AnswerRe: I want to implement the Linked list, hash table functionality in .NET without using the standard inbuilt classes assuming they are not present.How Can I achieve this? Pin
Dan Neely3-Jul-08 7:54
MemberDan Neely3-Jul-08 7:54 
GeneralRe: I want to implement the Linked list, hash table functionality in .NET without using the standard inbuilt classes assuming they are not present.How Can I achieve this? Pin
leppie3-Jul-08 23:48
Memberleppie3-Jul-08 23:48 
Questioncheked list box control Pin
Hum Dum3-Jul-08 2:52
MemberHum Dum3-Jul-08 2:52 
there is a table in database, having feild StationName & pk as stationID.

Now i am adding the StationName in chekedlistBox control and also using stationID in Tag property for each item i add.

after this what i want to do if a user check 1 or more item from list, then all those items deleted/updated(whatever function i want to perform) ona button click.

I am doing this as:

a) On form load event populating the CheckedListBox control.
b) On Button click event performing my action.
IEnumerator myEnum = chkList.CheckedIndices.GetEnumerator();
string SQL;

while(myEnum.MoveNext() != false)
{
  SQL = "Update A Set [xyz] = 1 where [stationID] =" chkList.Tag.Tostring();//sample query 
  ExecuteSQL(SQL);// method i m calling to update
}


the tag property is not giving the corresponding stationID for stationName.

What is wrong?

Also how to use foreach loop for chekedListBox items?
AnswerRe: cheked list box control Pin
leppie3-Jul-08 3:07
Memberleppie3-Jul-08 3:07 
GeneralRe: cheked list box control Pin
Hum Dum3-Jul-08 3:13
MemberHum Dum3-Jul-08 3:13 
GeneralRe: cheked list box control Pin
leppie3-Jul-08 3:20
Memberleppie3-Jul-08 3:20 
GeneralRe: cheked list box control Pin
Hum Dum3-Jul-08 3:38
MemberHum Dum3-Jul-08 3:38 
GeneralRe: cheked list box control Pin
leppie3-Jul-08 4:57
Memberleppie3-Jul-08 4:57 
QuestionHow to protect my c# code from decompiling Pin
Member 17396853-Jul-08 2:42
MemberMember 17396853-Jul-08 2:42 
AnswerRe: How to protect my c# code from decompiling Pin
N a v a n e e t h3-Jul-08 2:48
MemberN a v a n e e t h3-Jul-08 2:48 
GeneralRe: How to protect my c# code from decompiling Pin
Member 17396853-Jul-08 2:56
MemberMember 17396853-Jul-08 2:56 
GeneralRe: How to protect my c# code from decompiling Pin
leppie3-Jul-08 3:08
Memberleppie3-Jul-08 3:08 
GeneralRe: How to protect my c# code from decompiling Pin
Member 17396853-Jul-08 4:06
MemberMember 17396853-Jul-08 4:06 
GeneralRe: How to protect my c# code from decompiling Pin
Gareth H3-Jul-08 4:35
MemberGareth H3-Jul-08 4:35 
GeneralRe: How to protect my c# code from decompiling Pin
ajtunbridge3-Jul-08 5:03
Memberajtunbridge3-Jul-08 5:03 
GeneralRe: How to protect my c# code from decompiling Pin
Member 17396857-Jul-08 0:49
MemberMember 17396857-Jul-08 0:49 
GeneralRe: How to protect my c# code from decompiling Pin
Gareth H7-Jul-08 2:43
MemberGareth H7-Jul-08 2:43 
GeneralRe: How to protect my c# code from decompiling Pin
Thomas Stockwell3-Jul-08 11:14
professionalThomas Stockwell3-Jul-08 11:14 
AnswerRe: How to protect my c# code from decompiling Pin
Thomas Stockwell3-Jul-08 11:12
professionalThomas Stockwell3-Jul-08 11:12 
Questiongeneric collection Pin
arkiboys3-Jul-08 2:36
Memberarkiboys3-Jul-08 2:36 

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.