Hi all,
you have been a lot of help for me and i really appreciate the help i get form you all.
My question for today is as follows: I am using sqlDataSource and i created my own sql like this SqlDataSource1.SelectCommand = Sql
I am not sure what I did belwo here is legitimate, if so can someone give a suggestion how this can be done.
If (Trim(txtVendorName.Text) <> "") Then
Sql = Sql & " AND (Upper(V.VNAMEL) LIKE '%' || Trim(Upper
VendorName))|| '%') "
SqlDataSource1.SelectParameters.Add("VendorName", txtVendorName.Text)
End If
as always, i am very grateful for the help i get from here
you have been a lot of help for me and i really appreciate the help i get form you all.
My question for today is as follows: I am using sqlDataSource and i created my own sql like this SqlDataSource1.SelectCommand = Sql
I am not sure what I did belwo here is legitimate, if so can someone give a suggestion how this can be done.
If (Trim(txtVendorName.Text) <> "") Then
Sql = Sql & " AND (Upper(V.VNAMEL) LIKE '%' || Trim(Upper
SqlDataSource1.SelectParameters.Add("VendorName", txtVendorName.Text)
End If
as always, i am very grateful for the help i get from here