remove unnecessary code
This commit is contained in:
parent
d821d687b3
commit
b1ce4f40f4
|
@ -69,34 +69,12 @@ namespace db_AI_4
|
|||
}
|
||||
// Search Locations end
|
||||
|
||||
/*
|
||||
//Insert Locations start
|
||||
private void LocationInsertButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
DataAccess db = new DataAccess();
|
||||
|
||||
int CapacityValue;
|
||||
CapacityValue = Convert.ToInt32(LocationCapacityInputBox.Text);
|
||||
CapacityValue = int.Parse(LocationCapacityInputBox.Text);
|
||||
|
||||
db.InsertLocations(StreetnameInsertBox.Text, Convert.ToInt32(LocationCapacityInputBox.Text), LocationNameInputBox.Text);
|
||||
|
||||
StreetnameInsertBox.Text = "";
|
||||
LocationCapacityInputBox.Text = "";
|
||||
LocationNameInputBox.Text = "";
|
||||
|
||||
|
||||
}
|
||||
// Insert Locations end
|
||||
*/
|
||||
|
||||
// Insert Rent start
|
||||
private void RentInsertButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
DataAccess db = new DataAccess();
|
||||
|
||||
|
||||
|
||||
int RentPriceID;
|
||||
RentPriceID = 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue