<asp:SqlDataSource>

  • Thread starter Thread starter Guest
  • Start date Start date
Dim sqlParam1 As System.Web.UI.WebControls.Parameter

sqlParam1 = New
System.Web.UI.WebControls.Parameter("ParameterNameIsCaseSensitive",
SqlDbType.NVarChar, 35)

sqlParam1.DefaultValue = "Bill Gates is Number One"

sqlParam1.Direction = ParameterDirection.Input

SqlDataSource1.SelectParameters.Add(sqlParam1)

SqlDataSource1.SelectParameters.Add("secondParam", "Bill Gates is greate")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top