Private void navBarGroupControlContainer1_Click(object sender,System.EventArgs e)
Private void btnSearchSight_Click(object sender,System.EventArgs e)
{
this.listBox1.Items.Clear();
string s;
if(rdoSight.SelectedIndex==0)
{
s = “自然景点”;
}
Else
{
s = “人文景点”;
}
ESRI.MapObjects2.Core.Table pTable = new ESRI.MapObjects2.Core.TableClass();
pTable.Database=fmMain.m_pAppConfig.ConnectionString;
pTable.Name=s;
string searchField;
if(this cboSight.SelectedIndex == 0)
{
If(rdoSight.SelectedIndex == 0)
{
searchField = “景观名称”;
}
Else
{
searchField = “景点名称”;
}
}
else
{
searchField = “地理位置”;
}
ToolsLib.CFind pFind = new CFind (pTable);
System.Collections.IList pList = pFind.
Find(this .txtSight.Text,searchField,this chkSight.Checked);
If(pList.Count == 0)
{
System.Windows.Forms.MessageBox.Show(“没有找到要求的记录”);
}
Else
{
For(int i = 0;i<pList.Count;i++)
{
This.listBox1.Items.Add(pList[i]);
}
This.navBarControl1.ActiveGroup=this.ResultBarGroup;
}
DM.rar_旅游_旅游查询_景点查询
版权申诉
201 浏览量
2022-09-24
00:43:58
上传
评论
收藏 675B RAR 举报
APei
- 粉丝: 65
- 资源: 1万+
最新资源
- 编译原理:正规式转NFA(有穷自动机)
- 通过 Navicat 备份文件读取连接信息和解析密码
- Linux下开箱即用的C++单元测试demo示例,public成员函数单元测试
- 连接Redis服务器 在使用Redis之前,首先需要使用redis-cli工具连接到Redis服务器 redis-cli是Re
- 连接Redis服务器 在使用Redis之前,首先需要使用redis-cli工具连接到Redis服务器 redis-cli是Red
- 连接Redis服务器 在使用Redis之前,首先需要使用redis-cli工具连接到Redis服务器 redis-cli是Red
- redis命令实践 详细教程
- redis命令实践 详细教程
- redis命令实践 详细教程
- redis命令实践 详细教程
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈