weird funtion calling effect/result
hi, i face a very weird problem out here..
i have a funtion call "calldw" which download a file from a web service
if i call it within this funtion ,
protected override void OnInit(EventArgs e) , it will return nicely the file, but if i call the funtion in other funtion or anywhere else ( within a button in datagrid, from a funtion) , the file tat i receive would be corrupted..
anyone know why is this happen?
i really wish to know.. thank you..