您的位置:程序门 -> .net技术 -> c#



一个查找问题


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


一个查找问题
发表于:2007-01-10 23:32:06 楼主
本人想实现ie中
编辑-》查找
的功能
但是不知道要怎么实现请大家详细说明
最好有代码
发表于:2007-01-11 15:58:301楼 得分:0
分数少了点
最近问题多
没分了
希望大家帮忙

发表于:2007-06-01 11:01:152楼 得分:0
bindingsource   bind=new   bindingsource();
bind.datasource=datatable;
bind.sort   =   " "   +   strsearch   +   " ";
                        string   strs   =   this.txtsearch.text.trim();
                        int   foundindex   =   bind.find(strsearch,   strs);
                        if   (foundindex   >   -1)
                        {
                                bind.position   =   foundindex;
                        }
                        else
                        {
                                messagebox.show( "没有找到数据! ");
                        }


快速检索

最新资讯
热门点击