Click here to Skip to main content
15,903,012 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: release dates of WCF,AJAX,.. Pin
Abhijit Jana5-Aug-09 8:03
professionalAbhijit Jana5-Aug-09 8:03 
QuestionHow to enable folder rw rights in IIS 7.0 for ASP.NET web app? Pin
Chesnokov Yuriy5-Aug-09 4:14
professionalChesnokov Yuriy5-Aug-09 4:14 
AnswerRe: How to enable folder rw rights in IIS 7.0 for ASP.NET web app? Pin
Muhammad Mazhar5-Aug-09 4:29
Muhammad Mazhar5-Aug-09 4:29 
Questiondisplaying column from different tables Pin
srikantha_nagaraj5-Aug-09 4:06
srikantha_nagaraj5-Aug-09 4:06 
AnswerRe: displaying column from different tables Pin
Muhammad Mazhar5-Aug-09 4:40
Muhammad Mazhar5-Aug-09 4:40 
QuestionRe: displaying column from different tables Pin
srikantha_nagaraj5-Aug-09 19:57
srikantha_nagaraj5-Aug-09 19:57 
Questionsearch method Pin
thejakl555-Aug-09 3:50
thejakl555-Aug-09 3:50 
AnswerRe: search method Pin
Muhammad Mazhar5-Aug-09 4:49
Muhammad Mazhar5-Aug-09 4:49 
First of all create your UI and place desired control for example dropdown for selecting property type etc. In order to implement search function you would need to build query on runtime depending upon values selected by user. For example let say there is a table having 4 columns id,name,gender,age and you need to build some page where user can filter users upon age and gender.
Suppose you placed a dropdown box with two values Male,Female and a text box to enter the age, a button with caption filter to trigger filter and finally a grid view for showing filtered data. Now write a function that takes two parameters gender and age and returns matched customer records for example

public DataTable FilterUsers(string gender,int age)
{
string selectQuery = "SELECT * FROM c_Users WHERE Gender ='{0}' AND Age={1} ";
selectQuery = string.Format(selectQuery,gender,age);

//Code here to execute query
//finally return the returned data table with resutls

}

Share your experience with others
Check my Blog...

QuestionGet ID's Of All Textboxes into an Array? Pin
Pawan Kiran5-Aug-09 2:39
Pawan Kiran5-Aug-09 2:39 
AnswerRe: Get ID's Of All Textboxes into an Array? Pin
Arun Jacob5-Aug-09 2:41
Arun Jacob5-Aug-09 2:41 
GeneralRe: Get ID's Of All Textboxes into an Array? Pin
Pawan Kiran5-Aug-09 3:06
Pawan Kiran5-Aug-09 3:06 
GeneralRe: Get ID's Of All Textboxes into an Array? Pin
Blue_Boy5-Aug-09 3:09
Blue_Boy5-Aug-09 3:09 
AnswerRe: Get ID's Of All Textboxes into an Array? Pin
Arun Jacob5-Aug-09 3:10
Arun Jacob5-Aug-09 3:10 
GeneralRe: Get ID's Of All Textboxes into an Array? Pin
Abhijit Jana5-Aug-09 3:12
professionalAbhijit Jana5-Aug-09 3:12 
JokeRe: Get ID's Of All Textboxes into an Array? Pin
Manas Bhardwaj5-Aug-09 3:43
professionalManas Bhardwaj5-Aug-09 3:43 
Questionlocation in x,y of a controlin web form Pin
shankbond5-Aug-09 2:07
shankbond5-Aug-09 2:07 
AnswerRe: location in x,y of a controlin web form Pin
Not Active5-Aug-09 2:13
mentorNot Active5-Aug-09 2:13 
Questionbased on the session modalpopup extrender have to show Pin
Member 38798815-Aug-09 1:58
Member 38798815-Aug-09 1:58 
AnswerRe: based on the session modalpopup extrender have to show Pin
Sundeep Ganiga5-Aug-09 2:17
Sundeep Ganiga5-Aug-09 2:17 
AnswerRe: based on the session modalpopup extrender have to show Pin
Jay Royall5-Aug-09 2:19
Jay Royall5-Aug-09 2:19 
QuestionIFrame Pin
Ersan Ercek5-Aug-09 1:09
Ersan Ercek5-Aug-09 1:09 
AnswerRe: IFrame Pin
Christian Graus5-Aug-09 1:14
protectorChristian Graus5-Aug-09 1:14 
GeneralRe: IFrame Pin
Ersan Ercek5-Aug-09 1:16
Ersan Ercek5-Aug-09 1:16 
GeneralRe: IFrame Pin
Blue_Boy5-Aug-09 1:27
Blue_Boy5-Aug-09 1:27 
GeneralRe: IFrame Pin
Ersan Ercek5-Aug-09 1:32
Ersan Ercek5-Aug-09 1:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.