Click here to Skip to main content
15,921,463 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Access to SQL Server Pin
Russell Jones16-Jul-07 1:00
Russell Jones16-Jul-07 1:00 
QuestionHidden Fields Pin
gauthee15-Jul-07 22:41
gauthee15-Jul-07 22:41 
AnswerRe: Hidden Fields Pin
Guffa15-Jul-07 22:50
Guffa15-Jul-07 22:50 
Questionhow to get value from hash table Pin
Piyush Vardhan Singh15-Jul-07 22:16
Piyush Vardhan Singh15-Jul-07 22:16 
AnswerRe: how to get value from hash table Pin
Mubashir Javaid15-Jul-07 22:44
Mubashir Javaid15-Jul-07 22:44 
GeneralRe: how to get value from hash table Pin
Piyush Vardhan Singh15-Jul-07 23:08
Piyush Vardhan Singh15-Jul-07 23:08 
GeneralRe: how to get value from hash table Pin
Parwej Ahamad15-Jul-07 23:41
professionalParwej Ahamad15-Jul-07 23:41 
GeneralRe: how to get value from hash table Pin
Mubashir Javaid15-Jul-07 23:43
Mubashir Javaid15-Jul-07 23:43 
This code works for you. You can add different items in child node.
These item can be of any type.
All you need is type casting.
Lets suppose you added SinglNode of XMLNode type in child hash table.
You shall use this line for getting that object

((XMLNode)((Hashtable)mainHashTable["HashTable"])["ChildValue"]))
This line first get the value of child table then convert it to XMLNode.
You can add multiple different objects in hash table.


//Make main Hash table
Hashtable mainHashTable = new Hashtable();
//Make child Hash Table
Hashtable childHashTable = new Hashtable();
//Add child hash table value
childHashTable.Add("ChildValue", "Mubashir");
//Add child hash table to main hash table
mainHashTable.Add("HashTable", childHashTable);
//Get Child Hash table value
((Hashtable)mainHashTable["HashTable"])["ChildValue"].ToString()
AnswerRe: how to get value from hash table Pin
-Dr_X-18-Jul-07 10:11
-Dr_X-18-Jul-07 10:11 
QuestionHelp in Response.Write statement Pin
Prakash_Mishra15-Jul-07 22:12
Prakash_Mishra15-Jul-07 22:12 
AnswerRe: Help in Response.Write statement Pin
_AK_15-Jul-07 22:42
_AK_15-Jul-07 22:42 
GeneralRe: Help in Response.Write statement Pin
Prakash_Mishra15-Jul-07 23:24
Prakash_Mishra15-Jul-07 23:24 
GeneralRe: Help in Response.Write statement Pin
_AK_15-Jul-07 23:33
_AK_15-Jul-07 23:33 
GeneralRe: Help in Response.Write statement Pin
Prakash_Mishra16-Jul-07 0:27
Prakash_Mishra16-Jul-07 0:27 
GeneralRe: Help in Response.Write statement Pin
_AK_16-Jul-07 0:44
_AK_16-Jul-07 0:44 
GeneralRe: Help in Response.Write statement Pin
Prakash_Mishra16-Jul-07 0:52
Prakash_Mishra16-Jul-07 0:52 
GeneralRe: Help in Response.Write statement Pin
_AK_16-Jul-07 1:03
_AK_16-Jul-07 1:03 
GeneralRe: Help in Response.Write statement Pin
Prakash_Mishra16-Jul-07 1:05
Prakash_Mishra16-Jul-07 1:05 
GeneralRe: Help in Response.Write statement Pin
_AK_16-Jul-07 1:18
_AK_16-Jul-07 1:18 
GeneralRe: Help in Response.Write statement Pin
Prakash_Mishra16-Jul-07 1:30
Prakash_Mishra16-Jul-07 1:30 
GeneralRe: Help in Response.Write statement Pin
_AK_16-Jul-07 2:22
_AK_16-Jul-07 2:22 
GeneralRe: Help in Response.Write statement Pin
Prakash_Mishra16-Jul-07 2:58
Prakash_Mishra16-Jul-07 2:58 
GeneralRe: Help in Response.Write statement Pin
_AK_16-Jul-07 3:02
_AK_16-Jul-07 3:02 
QuestionHow to Redirect from one URL to another??? Pin
bijeshputhalath15-Jul-07 21:59
bijeshputhalath15-Jul-07 21:59 
AnswerRe: How to Redirect from one URL to another??? Pin
_AK_15-Jul-07 22:00
_AK_15-Jul-07 22:00 

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.