ASP Searching | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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.

30th Oct 2019, 6:36 PM
harshit
harshit - avatar
1 Answer
0
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(); } } }
6th Feb 2020, 11:09 AM
sai charan
sai charan - avatar