protected void submit_Click(object sender, EventArgs e) { Lucene_gl lucene = new Lucene_gl(); Data data = new Data(); Profile_gl profile = new Profile_gl(); profile.update(Param); lucene.addLucene(data); go("../client/profile.aspx?profile=" + Param.getString("name") + "&id=" + Param.getString("profileID")); }
protected void submit_Click(object sender, EventArgs e) { Lucene_gl lucene = new Lucene_gl(); Data data = new Data(); Profile_gl profile = new Profile_gl(); profile.insert(Param); Data list = profile.selectInserted(Param); lucene.addLucene(list); go("../client/profile.aspx?profile=" + list.getString("name") + "&id=" + list.getString("id")); }