473,722 Members | 2,397 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Microsoft Search Server 2008: binding results to ASP.NET controls and/or data structures

I have set up Microsoft Search Server 2008 Express.

I want to know how I can query against it and return results in a form that
can be bound to ASP.NET controls like ListViews. If there's simply a way to
return results as an ArrayList or other data structure I can figure out the
rest of this problem myself.

What I don't want:
* I don't want to deal with XSLT
* I don't want to work with prebuilt controls from SharePoint or somesuch. I
want to create fairly customized presentations and behaviors.

I have looked at this:
http://www.codeplex.com/sctsc

It does not seem to be what I want -- at least in the examples it is relying
on XSLT, and the control exposes XSLT-related properties. I just want the
data that's being returned from Search Server to be accessible in some
standard structured form.

Any other examples or articles I should be looking at?

Thanks,
-KF

Jul 7 '08 #1
1 2449
Hi KF,

Based on my research, the search server's search is still depend on the
sharepoint search.asmx webservice. Therefore, this is the main entry point
of client programmability . I've had a look at the search control you
refered, yes, it seems it directly query the webservice and process the
result as plain xml so that you can apply XSLT to produce the output html.

I've also found the following reference, it call the webservice via
standard .net webservice proxy and return the result as a dataset. The
dataset is able to be bound to ASP.NET DataSource control or directly to
databound controls.

#Creating Search Queries Programmaticall y by Using the Search Web Service
in SharePoint Server 2007
http://msdn.microsoft.com/en-us/library/bb625950.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Ken Fine" <ke*****@newsgr oup.nospam>
Subject: Microsoft Search Server 2008: binding results to ASP.NET controls
and/or data structures
>Date: Mon, 7 Jul 2008 13:28:47 -0700
>
I have set up Microsoft Search Server 2008 Express.

I want to know how I can query against it and return results in a form
that
>can be bound to ASP.NET controls like ListViews. If there's simply a way
to
>return results as an ArrayList or other data structure I can figure out
the
>rest of this problem myself.

What I don't want:
* I don't want to deal with XSLT
* I don't want to work with prebuilt controls from SharePoint or somesuch.
I
>want to create fairly customized presentations and behaviors.

I have looked at this:
http://www.codeplex.com/sctsc

It does not seem to be what I want -- at least in the examples it is
relying
>on XSLT, and the control exposes XSLT-related properties. I just want the
data that's being returned from Search Server to be accessible in some
standard structured form.

Any other examples or articles I should be looking at?

Thanks,
-KF

Jul 8 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3269
by: Lance Hoffmeyer | last post by:
Hi all, Anyone know where I can find a python script to search ebay? I have been looking around but haven't found anything. I know there must be one somewhere so I am probably just looking in the wrong places. Optimally, I would like the script to search ebay and then send an email out with the results. Lance
0
2804
by: Wesman | last post by:
Why does the following code not work (displays the correct values in the second textbox). if i chane the OnFocusChange method to the following it will work: private void OnFocusChange(object sender, System.ComponentModel.CancelEventArgs e) { Control control = (Control) sender; control.BindingContext.EndCurrentEdit(); results.Text = test.BindingTestString;
4
22637
by: James | last post by:
Why does my LDAP query from a C# console app limit its results to 1000? When I run the same query from a vb script I get over 6000 results. I have tried to set the SearchRequest.SizeLimit to a value grater than the expected results and still only get 1000 records. I did notice that in the LdapConnection constructor I was required to specify the target server where in the vbs I simply passed an LDAP query to the ADSDSOObject provider. ...
1
6425
by: ratnakarp | last post by:
Hi, I have a search text box. The user enters the value in the text box and click on enter button. In code behind on button click i'm writing the code to get the values from the database and binding it to a repeater control. This repeater control has multiple text boxes and buttons. Can you please tell me how can i do paging in this case ? I'm posting my code below. The problem is that if i click on "AdjustThisAd" button, it opens...
2
4922
by: Mike | last post by:
Hi, I am strugling with a simple problem which I can't seem to resolve. I have an asp.net page which contains a server-control (flytreeview, which is a kind of a tree to be exact). The tree is being updated by some other process through remoting. When the page loads, I init the tree, and in my browser I can see the initialized tree. The problem is that every time that I receive update to tree from the remote process,
0
2079
by: | last post by:
I have a question about spawning and displaying subordinate list controls within a list control. I'm also interested in feedback about the design of my search application. Lots of code is at the end of this message, but I will start with an overview of the problem. I've made a content management solution for my work with a decently structured relational database system. The CMS stores articles. The CMS also stores related items --...
3
17275
by: =?Utf-8?B?YWJjZA==?= | last post by:
I have a generic list of objects. Each object contains multiple objects and one of the object has some properties. Now I need to filter the list based on those properties. Whats the best way for me. I tried foreach loop but I am unable to write the filter criteria. All the proeperties I need to filter must have AND operation. I need to consider conditions like blank etc. To use list.Find I need to write predicate...any samples anywhere... ...
0
1021
by: jaffarkazi | last post by:
Hi I have a search page. A user would select the search parameters from various textbox, dropdowns, etc. Now the user will click search and get a list of search results. This is available in a repeater. With each record, there is a checkbox which will allow the user to select some records and go to another page with the selected data. My problem is that after the search results appear and I try to select and take the data to another...
7
2393
by: raylopez99 | last post by:
I was building a "hello world" application in ASP.NET and during the construction of the same it attempted to access the above site, owned by Microsoft. Webroot Spy Sweeper, which resides on my system, blocked the connection and lists the site as a known malware site. Why is this and has anybody else had this happen? Ordinarily Webroot is very reliable. RL
0
8863
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9384
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9238
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9088
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8052
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5995
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4502
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4762
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2147
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.