Hi,
Yes what i want to establish is create search class in your business layer, and call the functions of search class by passing parameters from code behind page (presentation layer), and your database layer will perform the database operations. If you still have some questions then let me know.
thanks
User Profile
Collapse
-
Hi Napsterr
Check this link it will solve ur problem
http://social.msdn.microsoft.com/For...6-2498ac7a4e79Leave a comment:
-
I think you have to mention the port number of DatabAse server in the connection string as well
like CV\SQLEXPRESS,p ortnumberLeave a comment:
-
Hi Zohaib
If you use
CType(e.Item.Fi ndControl("edit _ddlUserNe tt"), DropDownList)
instead of
CType(e.Item.Ce lls(15).FindCon trol("edit_ddlU serNe tt"), DropDownList)
it will work because the dropdownlist control dosenot belong to cell it only belongs to row, so need to refrence Cells(15)Leave a comment:
-
Hi
After updating GridView just put these two lines
datagridview.Da taSource=datata blename;
datagridview.Da taBind();
hope this will workLeave a comment:
-
The better approach is use Class. And by using the classes it will seperate your Presentation Layer to Business Layer
In this case you can create a class Search and then you can put all the functions for search i-e search_byContac tno,search_byNa me,search_byEma il in the Search class and call these functions from the page.Leave a comment:
-
You need to create an object of Global master page and then call the function of Global Master Page.
i-e if your gloabal master page is global.master and there is a function public void Test()
so to use this function in your aspx page you have to write the code as
global obj=new global();
obj.Test();
hope it will solve your problem.Leave a comment:
No activity results to display
Show More
Leave a comment: