|
Post by jayantharmj on Dec 3, 2023 17:18:32 GMT
This is working nicely.How can I use LIKE OPERATOR in following code
public void search_option1()//by name
{
string kw = studname.text;
// if (cbo.options[cbo.value].text == "INDEX NUM")
bool recordExists;
var firstRecord = dbManager.QueryFirstRecord<Maths_players>(out recordExists, "SELECT stuid,pl_name FROM Maths_players WHERE pl_name = ?", kw);
if (recordExists)
{
outname.text = firstRecord.pl_name;
outind.text = firstRecord.stuid;
}
}
|
|
|
Post by echo17 on Dec 4, 2023 10:38:25 GMT
Please see this FAQ: link
|
|