本文介绍了添加网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用asp.net 2.0和语言c#和mysql 5.1数据库.我有一个名称为txtKey的文本框,我想输入任何值,例如软件"
然后按搜索按钮,以便应显示在网格视图中,我正在使用gridview和makin连接,并解析查询,然后从job_post中选择desg,description,location,其中desg如@desg +%",位置如@loc +%" '由desg添加的命令添加了诸如desg参数源控件和控件ID之类的添加参数,是txtdsg.text,但是这里的evere显示语法错误,evere不控制gridview,当单击搜索按钮上的inkink

i am working in asp.net 2.0 and language c# and mysql 5.1 database. i have an text box with name txtKey i want to put any value like ''software''
and then press Search button so that should be show in grid view i am taking gridview and makin connection and parsing query select desg,description,location from job_post where desg like @desg+ ''%'' and location like @loc+ ''%'' order by desg add adding parameter like desg parameter source control and control id is txtdsg.text but here its evere showing the syntax error and evere doesn''t controlling gridview it''s just getting post back when clickink on Search button

推荐答案



这篇关于添加网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-09 21:15