protected void Button1_Click( object sender , EventArgs e ) { pbModule pm = new pbModule(); if ( !pm.isValidIntString( syfzTextBox.Text.Trim() ) || !pm.isValidIntString( mzrsTextBox.Text.Trim() ) ) { messageLabel.Text = Resources.Resource.strNotValidInt; return; } dbModule dm = new dbModule(); int syid = Convert.ToInt32( Request["id"] ); string bhqz = sybhTextBox.Text.Trim(); int syfz = Convert.ToInt32( syfzTextBox.Text.Trim() ); int mzrs = Convert.ToInt32( mzrsTextBox.Text.Trim() ); string jsid = syjsDDL.SelectedValue; int sysid = Convert.ToInt32( syddDDL.SelectedValue ); dm.syfz( syid , bhqz, syfz , mzrs,sysid,jsid ); messageLabel.Text = Resources.Resource.strOperateSuccess; }