using system;
using system.collections.generic;
using system.linq;
using system.web;
using system.web.services;
using system.data.sqlclient;
using system.drawing;
using system.data;
using system.collections;
using system.text;
using system.io;
using system.web;
using system.windows;
using system.threading;
[webmethod(description = "獲取對應機型名稱產能")]
public string get_product_total(string server, string database, string uid, string pwd, string sql_stored_procedure)
catch (exception ex)
finally
return temp;
}/*public boolean get_product_total(liststore_product_name, string server, string database, string uid, string pwd, string sql_stored_procedure)
catch (exception ex)
finally
return flag;
}*/[webmethod(description = "獲取對應獲取機型名稱")]
public string get_product_name(string read_product_name, string server, string database, string uid, string pwd, string sql_stored_procedure)
else
}if (!ss)}}
}catch (exception ex)
finally
return temp;
}/*public boolean get_product_name(liststore_product_name, string read_product_name, string server, string database, string uid, string pwd, string sql_stored_procedure)
}if(!ss)
store_product_name.add(sdr[read_product_name].tostring());
}n++;
}flag = true;
}catch (exception ex)
finally
return flag;
}*/[webmethod(description = "獲取產能資料")]
public int get_capacity_data(string jobnumber, string year_month_day, string server, string database, string uid, string pwd, string sql_stored_procedure)
else
n=0;
}catch (exception ex)
finally
return n;
}[webmethod(description = "獲取當前月度彙總總產能")]
public boolean get_month_capacity_data(list> month_capacity_data, listkeyinfo, string server, string database, string uid, string pwd, string sql_stored_procedure)
else
temp.add(0);
month_capacity_data.add(temp);
}flag = true;
}catch (exception ex)
finally
return flag;
}[webmethod(description = "獲取產品型號資訊")]
public string get_product_type_info(string server, string database, string uid, string pwd, string sql_stored_procedure)
}catch (exception ex)
finally
return temp;
}/*public boolean get_product_type_info(string item_values, string item, string server, string database, string uid, string pwd, string sql_stored_procedure)
else
}if (!isfind)
}item_values[n]=(sdr["product_type"].tostring() + "#" + sdr["item_count"].tostring() + "#" + sdr["server_name"].tostring() + "#" +
sdr["database_name"].tostring() + "#" + sdr["server_username"].tostring() + "#" + sdr["server_password"].tostring() + "#" +
sdr["table_name"].tostring() + "#" + sdr["stored_procedure"].tostring());// + "#" + sdr["date_time"].tostring());
n++;
}flag = true;
}catch (exception ex)
finally
return flag;
}*/[webmethod(description = "獲取員工資訊")]
public string get_employee_info(string server, string database, string uid, string pwd, string sql_stored_procedure)
}catch (exception ex)
finally
return temp;
}/*public boolean get_employee_info(listitem_values, listitem, string server, string database, string uid, string pwd, string sql_stored_procedure)
}if (!isfind)
item.add(sdr["line_body"].tostring());
}item_values.add(sdr["line_body"].tostring() + "#" + sdr["job_number"].tostring() + "#" + sdr["name"].tostring());
n++;
}flag = true;
}catch (exception ex)
finally
return flag;
}*/}
}
C 通過飛信WebService傳送免費簡訊
在上一編文章 c 非同步呼叫飛信webservice實時接收簡訊 的基礎上,再在視窗新增三個控制項如下 加textbox控制項用於輸入目標好友號 命名 tofno。加textbox控制項用於輸入簡訊內容 命名 msgtxt,設此控制項multiline true,使能輸入多行,並拖大些 加一butt...
通過Web Service傳送手機簡訊
隨著網路資訊時代的到來,網路技術已經越來越受人們的歡迎。網民可以通過網路技術非常方便地進行溝通,網路qq e mail 網路 網路簡訊等服務為廣大網民提供了更加方便快捷的溝通方式。本節將通過例項,使讀者簡單了解利用web service傳送手機簡訊。1 方案分析 通過程式設計實現簡訊息的傳送是一件比...
Linux通過SQLPLus運算元據庫
一直通過plsql developer來運算元據庫,可是到了伺服器上沒有了plsql一臉的茫然,怎麼啟動資料庫,怎麼啟動監聽,之前學的sqlplus的命令也忘記的差不多了,寫下來共以後參考使用。以下所寫均是在linux伺服器上的操作 檢視當前的資料來源和切換例項 echo oracle sid 檢視...