Click here to Skip to main content
15,905,874 members
Home / Discussions / C#
   

C#

 
AnswerRe: url rewriting Pin
Guffa10-Feb-09 20:12
Guffa10-Feb-09 20:12 
GeneralRe: url rewriting Pin
icanmakeiteasy10-Feb-09 20:29
icanmakeiteasy10-Feb-09 20:29 
GeneralRe: url rewriting Pin
Guffa10-Feb-09 20:53
Guffa10-Feb-09 20:53 
GeneralRe: url rewriting Pin
J4amieC10-Feb-09 22:02
J4amieC10-Feb-09 22:02 
GeneralRe: url rewriting Pin
N a v a n e e t h10-Feb-09 22:16
N a v a n e e t h10-Feb-09 22:16 
GeneralRe: url rewriting Pin
J4amieC10-Feb-09 22:38
J4amieC10-Feb-09 22:38 
QuestionHow to check the existence of node in TreeNode array Pin
Gonxh Aniket10-Feb-09 19:28
Gonxh Aniket10-Feb-09 19:28 
AnswerRepost Pin
Henry Minute10-Feb-09 19:40
Henry Minute10-Feb-09 19:40 
AnswerRe: How to check the existence of node in TreeNode array Pin
ABitSmart10-Feb-09 21:03
ABitSmart10-Feb-09 21:03 
GeneralRe: How to check the existence of node in TreeNode array Pin
Gonxh Aniket10-Feb-09 23:50
Gonxh Aniket10-Feb-09 23:50 
GeneralRe: How to check the existence of node in TreeNode array Pin
ABitSmart10-Feb-09 23:58
ABitSmart10-Feb-09 23:58 
QuestionC# and Window API Pin
Selvi Moies10-Feb-09 19:22
Selvi Moies10-Feb-09 19:22 
AnswerRe: C# and Window API Pin
Henry Minute10-Feb-09 19:38
Henry Minute10-Feb-09 19:38 
QuestionBinding data to the DataGridView Pin
mrithula810-Feb-09 18:47
mrithula810-Feb-09 18:47 
AnswerRe: Binding data to the DataGridView Pin
Henry Minute10-Feb-09 19:33
Henry Minute10-Feb-09 19:33 
GeneralRe: Binding data to the DataGridView Pin
mrithula810-Feb-09 19:48
mrithula810-Feb-09 19:48 
GeneralRe: Binding data to the DataGridView Pin
Henry Minute10-Feb-09 20:05
Henry Minute10-Feb-09 20:05 
AnswerRe: Binding data to the DataGridView Pin
Ramkithepower10-Feb-09 19:51
Ramkithepower10-Feb-09 19:51 
QuestionProgress of FTP upload or download Pin
Radhakrishnan G.10-Feb-09 18:41
Radhakrishnan G.10-Feb-09 18:41 
Questionlog incoming sms to a form, then can be deleted one by one Pin
irsalina10-Feb-09 18:34
irsalina10-Feb-09 18:34 
AnswerRe: log incoming sms to a form, then can be deleted one by one Pin
Christian Graus10-Feb-09 18:43
protectorChristian Graus10-Feb-09 18:43 
QuestionError in Hashtable with arrayList Pin
r aa j10-Feb-09 18:26
r aa j10-Feb-09 18:26 
I am developing website using C# with ASP.net.
one page I am inserting data into hashtable after reach 1000(>1000),Add it into Array list than Insert into Database...here sometimes saying Exception like
Item has already been added. Key in dictionary: '12' Key being added: '12'
...Please help me with this.....How to avoid this Eception...


and I am using following code..


public static Hashtable ht = new Hashtable();
public string Crid="";
Crid = ht.Count.ToString();
string[] st = new string[4];
st[0] = Crid;
st[1] = "5654546456";
st[2] = "0";
st[3] = "1";
if (ht.Count<1000)
{
ht.Add(ht.Count, st);
}
else
{
ArrayList list = new ArrayList();
foreach (int key in ht.Keys)
{
list.Add(ht[key]);
}
ht.Clear();
ht = new Hashtable();
ht.Add(ht.Count, st);

for (int j = 0; j < list.Count; j++)
{
//here Inserting data into Database
}
}

Raaj

AnswerRe: Error in Hashtable with arrayList Pin
Christian Graus10-Feb-09 18:42
protectorChristian Graus10-Feb-09 18:42 
QuestionC++ dll in C# Pin
kk.tvm10-Feb-09 18:05
kk.tvm10-Feb-09 18:05 
AnswerRe: C++ dll in C# Pin
Christian Graus10-Feb-09 18:43
protectorChristian Graus10-Feb-09 18: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.