I want to make a stored procedure for the following task : Get records from 3 tables based on particular parameters using like command in MySQL. The parameters here, 'first name','last name','id','city','state','country','street'. Here, my procedure worked correctly if,it contains the data in database. For example, In database I've name "Rajkumar". when i search name like "Raj", it'll retry the data. But if i search the name, which is not present in database it'll show the error
The IListSource does not contain any data sources.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.Web.HttpException: The IListSource does not contain any data sources.
Source Error:
|
Source File: C:\SHCS final\AAARSW\SHCS V.1\HMS 1.1\HMS.UI\SRC.aspx.cs Line: 272
Stack Trace:
|
I also try to bind the datagrid within if(!IsPostBack){}. But there's no change
I'm struggle with this. Can anyone help me to do this?

Sanjeeb LenkaPosted Sep 6, 2013, 7:59 AM