示例#1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (this.textBox1.Text != "")
     {
         Strid = this.textBox1.Text;
         int replyid = Int32.Parse(Strid);
         bindingSource1.DataSource = userservice.findReply(replyid);
     }
     else
     {
         bindingSource1.DataSource = userservice.replies;
     }
 }