ASP Searching | Sololearn: Learn to code for FREE!

+1

ASP Searching

"ASP program to accept student number from the user and search for availability" If anyone can give a solution to this it would be great as I have not much idea about ASP programming.

10/30/2019 6:36:32 PM

harshit

1 Answer

New Answer

+1

protected void btnSearch(object sender, EventArgs e) { string search tag =txtsearch.Text.Trim(); DataTable dt = objstudentinfo.Getstudentname( searchTag); if (txtSearch.Text.Trim() != string.Empty){ if( dt.rows.Count>0){ dt.studentName = txtsearchresult.text(); } } }