Hi Imar Thank you for the quick response but I don't really understand the previous post you linked me to.
Follow me on twitter for quick updates: @mostafaelzoghbi I also write articles at hadafsoft's blog: blog.Hi folks,on 2002 i start my knowledge on web services,by implementing a solution for XML web services security,and i wrote a thesis on that.i work with XML web serivces extensions since WSDK (web serivces development kit),and i work also with WSE 1.0that time,alot of code and lots of configuration you have to do it on windows and go to control panel to configure and install certificates....Now, No more dependancy on windows configuration and writing in XML files for keep the configuration of XML web services.i have a project using web serives on Enterprise scale,and i download and install WSE 3.0 which be shipped with Certificates and configuraiton tools and alot of other value feature related to WS-* implementations.
This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. By joining today you can post your own programming questions, respond to other developers questions, and eliminate the ads that are displayed to guests. Literature Cataloguing Entities Dim all Publications = From publication In my Literature Catalogue.
By calling the data binding code again in Page Index Changing, you reassign the data source.
Additionally, Criteria Button_Click isn't fired, and thus the Grid View is empty.
Title" Then Using my Literature Catalogue As New Model.
Grid View is also the type of the control, so giving it the same ID may be asking for trouble (for example, you now need the Me prefix). Protected Sub Criteria Button_Click(By Val sender As Object, By Val e As System.
E,.g you can move your code to a method like Get Data Source and then call Get Data Source () in both Page_Load and in Page Index Changing. The user will select their search category(table to query in my sql database) from the dropdownlist value. Title" Then Using my Literature Catalogue As New Model.
Data Bind() End Using Where exactly do you call the code you posted in your first message? If so, you need to call it in Page Index Changing as well. The page I have designed has three main controls; Drop Down List, Text Box and Button.
For clarity, it's probably better to rename your Grid View. I have two seperate tables I wish to search hence the reason why I have a below IF statement to determine which table to perform the seach on. Publications From subject In my Literature Catalogue.
In the latter method you end up with Alternatively, you can repeat the code that accesses your Entities in Page Index Changing, but that feels like duplicating a lot of code. The textbox will hold their search criteria and the button control is used to execute the below code which performs the search facility. Literature Cataloguing Entities Dim all Publications = From publication In my Literature Catalogue.
Everywhere I have looked states this error is down to the sorting of the gridview results, but I thought I have overcome this problem by sorting the results with "Order By publication.