public СтрокаДанных GetTableDetail() { СтрокаДанных row = null; if (rqp != null && rqp.SessionId != null) { Guid.TryParse(rqp["uid"] as String, out Guid uid); RequestPackage rqp1 = new RequestPackage() { SessionId = rqp.SessionId, Command = "Supply.dbo.заказы_у_поставщиков_таблица__получить", Parameters = new RequestParameter[] { new RequestParameter() { Name = "session_id", Value = rqp.SessionId }, new RequestParameter() { Name = "uid", Value = uid } } }; ResponsePackage rsp1 = rqp1.GetResponse("http://127.0.0.1:11012"); if (rsp1 != null) { ТаблицаДанных table = new ТаблицаДанных(rsp1.GetFirstTable()); if (table != null && table.RowsCount > 0) { row = table[0]; } } } return(row); }
public СтрокаДанных this[Int32 index] { get { СтрокаДанных row = null; if (dv != null && index >= 0 && index < dv.Count) { row = new СтрокаДанных(dv[index]); } return(row); } }