User-2016271360 posted
I am creating a resource file using following code :
I am getting a resource from user at runtime.
FileName = Server.MapPath(".\Resources\" & "MyStrings" & "." & "resources")
Dim rw As ResourceWriter = New ResourceWriter(FileName)
ReverseBind()
For Each gridrow In DataGrid1.Items
datarow = _dataSet.Captions(gridrow.DataSetIndex)
rw.AddResource(CStr(CType(gridrow.FindControl("Label1"), Label).Text),
CStr(CType(gridrow.FindControl("Textbox1"), TextBox).Text))
_dataSet.Captions(gridrow.DataSetIndex).ItemArray = datarow.ItemArray
Next
File is creating successfully, when i want to modify or update resource there is error of "Access Violation".
For modifying first i am uploading existing file in the grid. and modifying the captions.