Click here to Skip to main content
15,891,925 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 4:15
sri_00993-Jul-08 4: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 4:31
leppie3-Jul-08 4: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 5:52
Dan Neely3-Jul-08 5: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 6:07
User 66583-Jul-08 6: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 6:18
protectorChristian Graus3-Jul-08 6: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 6:54
Dan Neely3-Jul-08 6: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 22:48
leppie3-Jul-08 22:48 
Questioncheked list box control Pin
Hum Dum3-Jul-08 1:52
Hum Dum3-Jul-08 1: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 2:07
leppie3-Jul-08 2:07 
GeneralRe: cheked list box control Pin
Hum Dum3-Jul-08 2:13
Hum Dum3-Jul-08 2:13 
GeneralRe: cheked list box control Pin
leppie3-Jul-08 2:20
leppie3-Jul-08 2:20 
GeneralRe: cheked list box control Pin
Hum Dum3-Jul-08 2:38
Hum Dum3-Jul-08 2:38 
GeneralRe: cheked list box control Pin
leppie3-Jul-08 3:57
leppie3-Jul-08 3:57 
QuestionHow to protect my c# code from decompiling Pin
Member 17396853-Jul-08 1:42
Member 17396853-Jul-08 1:42 
AnswerRe: How to protect my c# code from decompiling Pin
N a v a n e e t h3-Jul-08 1:48
N a v a n e e t h3-Jul-08 1:48 
GeneralRe: How to protect my c# code from decompiling Pin
Member 17396853-Jul-08 1:56
Member 17396853-Jul-08 1:56 
GeneralRe: How to protect my c# code from decompiling Pin
leppie3-Jul-08 2:08
leppie3-Jul-08 2:08 
GeneralRe: How to protect my c# code from decompiling Pin
Member 17396853-Jul-08 3:06
Member 17396853-Jul-08 3:06 
GeneralRe: How to protect my c# code from decompiling Pin
Gareth H3-Jul-08 3:35
Gareth H3-Jul-08 3:35 
GeneralRe: How to protect my c# code from decompiling Pin
ajtunbridge3-Jul-08 4:03
ajtunbridge3-Jul-08 4:03 
GeneralRe: How to protect my c# code from decompiling Pin
Member 17396856-Jul-08 23:49
Member 17396856-Jul-08 23:49 
GeneralRe: How to protect my c# code from decompiling Pin
Gareth H7-Jul-08 1:43
Gareth H7-Jul-08 1:43 
GeneralRe: How to protect my c# code from decompiling Pin
Thomas Stockwell3-Jul-08 10:14
professionalThomas Stockwell3-Jul-08 10:14 
AnswerRe: How to protect my c# code from decompiling Pin
Thomas Stockwell3-Jul-08 10:12
professionalThomas Stockwell3-Jul-08 10:12 
Questiongeneric collection Pin
arkiboys3-Jul-08 1:36
arkiboys3-Jul-08 1: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.