数据源控件我用的是SqlDataSource,selectcommand是用存储过程,请问如何把Trim(Textbox1.text)绑定到参数@bookname,把Trim(Textbox2.text)绑定到参数@author...
SqlDataSource1.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings("boyabookshopConnectionString").ConnectionString
            SqlDataSource1.SelectCommand = "Searchresult"
            SqlDataSource1.SelectCommandType = SqlDataSourceCommandType.StoredProcedure
            SqlDataSource1.SelectParameters.Add("@bookname", Data.SqlDbType.NVarChar, 50)
            SqlDataSource1.SelectParameters.Add("@author", Data.SqlDbType.NVarChar, 50)
            SqlDataSource1.SelectParameters.Add("@press", Data.SqlDbType.NVarChar, 50)
            SqlDataSource1.SelectParameters.Add("@ISBN", Data.SqlDbType.NVarChar, 50)
接下去的代码该怎么写(请给一下具体代码),麻烦了!