3
Answers

On Button Click loosing dataset tables and rows from dsObj

Photo of Avnish  Kumar

Avnish Kumar

9y
363
1
Hi All,
 
I am new to WPF . I have small issue in my application when i  click on button i am loosing the dataset value from dataset object , how can i restore the value in WPF.
 
In webforms i was using ViewState , but looks like there is no Viewstate concept in wpf. Could any body can help me with example.
 
Thanks a ton
Avnish 
 

Answers (3)

0
Photo of mrxs1999
NA 19 0 20y
first problem solved i used the following code : protected void FileSaveAs_Click(object sender, EventArgs e) { Object o = null; AxWebBrowser1.ExecWB(SHDocVw.OLECMDID.OLECMDID_SAVEAS, SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_PROMPTUSER, ref o, ref o); } but i still have the open htm file problem, any ideas ? Thanks