=====* ISBN 조회 *=====
Yes24 - 가격 검색 추가. DateTime 버그 수정. 검색시 몇개가 검색됬는지 표출. =====* unimarc *===== - 목록등록 - 머리글에 맞춰 숫자 입력기능 추가 - 목록조회 - 거래처 엔터시 명단이 출력되고 그 상태에서 엔터 입력 시 해당 데이터 선택으로 간주. 데이터 조회창으로 이관. - 목록집계 - 필터링 테스트 코드 삭제 엔터 입력시 검색기능 추가 납품처명 필터링 추가 - 주문관리 - 주문할 때 선택 내용 엑셀로 임시저장 추가 + 양식수정, 엑셀 내용 수정. 임시저장된 파일을 미리 설정된 거래처 주문방법에 따라 팩스/메일로 나뉘어져 보내게 됨. 팩스시 FTP업로드, 바로빌 FAX 전송, 전송결과와 주문수량 주문일자 등 자체 DB에 저장됨. 전송결과를 알아볼수있는 창도 리뉴얼.
This commit is contained in:
@@ -33,6 +33,7 @@ namespace ISBN_Check_test
|
||||
db.DBcon();
|
||||
Take_DataBase();
|
||||
Base_Setting();
|
||||
cb_bracket.Checked = true;
|
||||
}
|
||||
#region Yes24_Load_Sub
|
||||
private void Take_DataBase()
|
||||
@@ -51,16 +52,22 @@ namespace ISBN_Check_test
|
||||
private void Base_Setting()
|
||||
{
|
||||
int count = f1.dataGridView1.Rows.Count - 1;
|
||||
string price = "";
|
||||
|
||||
for (int a = 0; a < count; a++)
|
||||
{
|
||||
if (f1.dataGridView1.Rows[a].Cells["price"].Value != null)
|
||||
{
|
||||
price = f1.dataGridView1.Rows[a].Cells["price"].Value.ToString();
|
||||
}
|
||||
string[] grid = {
|
||||
f1.dataGridView1.Rows[a].Cells["book_name"].Value.ToString(),
|
||||
Replace_target(f1.dataGridView1.Rows[a].Cells["book_name"].Value.ToString(), "book_name"),
|
||||
f1.dataGridView1.Rows[a].Cells["author"].Value.ToString(),
|
||||
Replace_target(f1.dataGridView1.Rows[a].Cells["author"].Value.ToString(), "author"),
|
||||
f1.dataGridView1.Rows[a].Cells["book_comp"].Value.ToString(),
|
||||
Replace_target(f1.dataGridView1.Rows[a].Cells["book_comp"].Value.ToString(), "book_comp")
|
||||
Replace_target(f1.dataGridView1.Rows[a].Cells["book_comp"].Value.ToString(), "book_comp"),
|
||||
price
|
||||
};
|
||||
dataGridView1.Rows.Add(grid);
|
||||
}
|
||||
@@ -116,6 +123,7 @@ namespace ISBN_Check_test
|
||||
grid[a, 0] = count.ToString();
|
||||
grid[a, 1] = dataGridView1.Rows[a].Cells["after_book_name"].Value.ToString();
|
||||
grid[a, 3] = dataGridView1.Rows[a].Cells["after_book_comp"].Value.ToString();
|
||||
grid[a, 4] = dataGridView1.Rows[a].Cells["price"].Value.ToString();
|
||||
}
|
||||
Excel_change(grid);
|
||||
}
|
||||
@@ -170,5 +178,25 @@ namespace ISBN_Check_test
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void cb_bracket_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
int count = dataGridView1.Rows.Count;
|
||||
for(int a = 0; a < count; a++)
|
||||
{
|
||||
if (cb_bracket.Checked)
|
||||
{
|
||||
string book_name = dataGridView1.Rows[a].Cells["before_book_name"].Value.ToString();
|
||||
string After = Replace_target(book_name, "book_name");
|
||||
dataGridView1.Rows[a].Cells["after_book_name"].Value = After;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
string book_name = dataGridView1.Rows[a].Cells["before_book_name"].Value.ToString();
|
||||
dataGridView1.Rows[a].Cells["after_book_name"].Value = book_name;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user