I have a Hashtable[] value =newHashtable[1];
In response I have validate the Value as below
if ((Hashtable[])temp["data[]"] != null)
{
acc = (Hashtable[])temp["data[]"];
value = acc;
btn_Click(args,null);
}
btn_Click(object sender, RoutedEventArgs e)
{ int rowcount=0
rowCount = value.Length;
if (rowCount > 0 && value[0] != null)
validData(value, rowCount);
}
Here Value is the hastable which contains array of hashtable
In Request I need to clear the hashtable
Im not able to use value.clear();
if i clear with a loop like
if (rowCount > 0 && value[0] != null)
for (int i = 0; i <= rowCount; i++)
{
value[i].Clear();
}
only values of array hashtable only cleared but I neeed to clear the hastable value itself, how to do it?