Developer Forum [ All Topics | New Topic ]

Thread: Data Not Display

'http://technet.rapaport.com/WebServices/Feeds/RapNetInventoryLink.asmx

Dim MyWeb As New InventoryLink.RapNetInventoryLinkSoapClient

Dim MySearch As New InventoryLink.RapNetInventoryLinkParameters

Dim MyShapes As Shapes() = New Shapes(0) {}

MyShapes(0) = InventoryLink.Shapes.ROUND

MySearch.ShapeCollection = MyShapes

MySearch.MinSize = 1

MySearch.MaxSize = 2.05

Dim Da1 As DataSet

Da1 = MyWeb.GetDiamonds(MyWeb.Login("xyz", "001"), MySearch)

this is my Code. my Search Result not Display. can any one help me .



>> add a comment
Rajesh
09/03/2010 06:31


1 Replies:

hi
please try this example and also it's best if you download smaller parts of data at a time 1 - 2.05 will give you a lot of data and it will take a long time.

Function GetRapLinkData() As DataSet

            Dim ds As DataSet = Nothing

            Dim webServiceManager As RapNetInventoryLink = New RapNetInventoryLink()

            webServiceManager.Login("user", "pass")

 

            Dim MySearch As RapNetInventoryLinkParameters

            MySearch = webServiceManager.Init()

            Dim MyShapes As Shapes() = New Shapes(0) {}

 

            MyShapes(0) = Shapes.ROUND

 

            MySearch.ShapeCollection = MyShapes

 

            MySearch.MinSize = 1

 

            MySearch.MaxSize = 1

 

            MySearch.IncludeFancyDiamonds = False

            MySearch.IncludeWhiteDiamonds = True

 

            ds = webServiceManager.GetDiamonds(MySearch)

 

            Return ds

      End Function





>> add a comment
Ahaliav Fox
9/5/2010 1:13:00 AM