I have 2 parameters
ID - txtID.text
Name - txtName.text
I would like to select (SQL):
SELECT
ID
,NAME
FROM
TABLE
WHERE
If ID is not null read in txtID
If Name is not null read in txtName
If ID is null read all in select statement
If Name not null read all in select statement
Please help. Thank you!