Example #1
0
 private void ResetText()
 {
     Converter converter = new Converter();
     string toSave = converter.EncodeWithStringUnicode(Session["imagePath"].ToString());
     Session["rawData"] = toSave;
     string willieData = BuildStringMatch(toSave);
     Session["willieData"] = willieData;
     Session["pad"] = BuildPad(willieData, toSave);
     //            string pictureText = converter.EncodeWithStringUnicode(Session["imagePath"].ToString());
     //            hfRawData.Value = pictureText;
     //            hfWillie.Value = BuildStringMatch(hfRawData.Value);
     //            ViewState.Add("pad",BuildPad(hfWillie.Value, hfRawData.Value)); // keep this one in viewstate just b/c it's easier, being ints rather than a string
 }
Example #2
0
 private void ResetText()
 {
     Converter converter = new Converter();
     databox.Text = converter.EncodeWithStringUnicode(dotPath);
 }