![]() |
#3 |
Участник
|
Вот такой джоб у меня работает
X++: static void Job17(Args _args) { System.Data.OleDb.OleDbCommand command; System.Data.CommandType t; ; new InteropPermission(InteropKind::ClrInterop).assert(); command = new System.Data.OleDb.OleDbCommand(); command.set_CommandTimeout(300); command.set_CommandText("select * from t"); t = command.get_CommandType(); print t.ToString(); pause; command.set_CommandType(System.Data.CommandType::StoredProcedure); t = command.get_CommandType(); print t.ToString(); pause;} X++: info(strfmt("%1", t.ToString())); Последний раз редактировалось Ace of Database; 15.10.2011 в 16:52. |
|
Теги |
.net, ado, generic, net |
|
|