U
U_123
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TformMain.IWDBGrid1Columns0Click(ASender: TObject;
const AValue: String);
begin
with webapplication.Response do
begin
cookies.Clear;
cookies.Add;
cookies[0].Name:='XH';//学号
COOKIES[0].Value:=dm.query1.FieldValues['XH'];
cookies.Add;
cookies[1].Name:='XM';//姓名
cookies[1].Value:=dm.query1.FieldValues['XM'];
end;
end;
procedure TformMain.IWButton1Click(Sender: TObject);
begin
with webapplication.Request do
begin
iwedit1.Text:=cookiefields.Values['XH'];
IWedit2.Text:=cookiefields.Values['XM'];
end;
end;
数字,字母(学号).正常显示,但汉字(姓名)却是%d%c...不知为何?
且没有建立COOK文本文件.
const AValue: String);
begin
with webapplication.Response do
begin
cookies.Clear;
cookies.Add;
cookies[0].Name:='XH';//学号
COOKIES[0].Value:=dm.query1.FieldValues['XH'];
cookies.Add;
cookies[1].Name:='XM';//姓名
cookies[1].Value:=dm.query1.FieldValues['XM'];
end;
end;
procedure TformMain.IWButton1Click(Sender: TObject);
begin
with webapplication.Request do
begin
iwedit1.Text:=cookiefields.Values['XH'];
IWedit2.Text:=cookiefields.Values['XM'];
end;
end;
数字,字母(学号).正常显示,但汉字(姓名)却是%d%c...不知为何?
且没有建立COOK文本文件.