Ниже приведена урезанная версия моего кода:
ASPX
Код: Выделить всё
Код: Выделить всё
protected void btnSubmit_Click(object sender, EventArgs e)
{
IQClient client = QuickBase.Login("username", "password", "domain");
IQApplication app = client.Connect("db_id", "app_token";
AppInfo appInfo = app.GetApplicationInfo();
IQTable table = app.GetTable("table_id");
IQRecord newRecord = table.NewRecord();
newRecord["File Name"] = txtFileName.Text;
// attach file?
newRecord.AcceptChanges();
table.AcceptChanges();
client.Logout();
}
Подробнее здесь: https://stackoverflow.com/questions/208 ... e-api-in-c