I want to show the Hashtable data in textbox of Telerik report. My class structure is like:
Public class MyClass
{
public Hashtable ValHash { get; set; }
}
MyClass obj = new MyClass();
obj.ValHash = new Hashtable();
obj.ValHash.Add("Name", "Prasant");
While setting Hahtable value to textbox, as:
this.textBox1.Value = "= Fields.ValHash[\"Name\"]";
I am getting an error as "Missing operator before '["Name"]' operand.
Am i doing anything wrong?
Public class MyClass
{
public Hashtable ValHash { get; set; }
}
MyClass obj = new MyClass();
obj.ValHash = new Hashtable();
obj.ValHash.Add("Name", "Prasant");
While setting Hahtable value to textbox, as:
this.textBox1.Value = "= Fields.ValHash[\"Name\"]";
I am getting an error as "Missing operator before '["Name"]' operand.
Am i doing anything wrong?