I want to add values to the resources dynamically through codings(C#). My below coding runs without any error but the values are not getting added to the resource file.
protected void Button2_Click(object sender, EventArgs e)
{
using (ResXResourceWriter resx = new ResXResourceWriter("Resources.resx"))
{
resx.AddResource( "joth", "joth");
resx.Close();
}
}