C cuker Unregistered / Unconfirmed GUEST, unregistred user! 2001-03-22 #1 如何得到TDATABASE控件中ALIASNAME属性中的所有数据库别名
H hclee Unregistered / Unconfirmed GUEST, unregistred user! 2001-03-22 #2 MyStringList := TStringList.Create; try Session.GetAliasNames(MyStringList); { fill a list box with alias names for the user to select from } for I := 0 to MyStringList.Count - 1 do ListBox1.Items.Add(MyStringList); finally MyStringList.Free; end;
MyStringList := TStringList.Create; try Session.GetAliasNames(MyStringList); { fill a list box with alias names for the user to select from } for I := 0 to MyStringList.Count - 1 do ListBox1.Items.Add(MyStringList); finally MyStringList.Free; end;
飘 飘摇客 Unregistered / Unconfirmed GUEST, unregistred user! 2001-03-22 #3 嘿!又来晚了。使用Session.GetaliasNames(****)就搞定。就象上面的一样。