Good Day Klbaiju
You cannot just bind anything to a Gridview. Most of the Functions exposed by the Web service they return a String. To use the Third part webservice , you need to Go to your Visual Studio and Add Web Reference and enter the URL you have given us , and give your Web service a meaningfull name in your VS to access it and when you are Done do it like this
private String Bind_Grid()
{
BIBLE.BibleWebservice obj = new BIBLE.BibleWebservice();
String Word = obj.GetBibleWordsByBookTitleAndChapter("Genesis", 1);
return Word;
}
i have used one of the Functions and i hardcoded the parameters as you can see i looked for Genesis 1, and in my page load i call the Function and write the Results in the page not grid, like this
protected void Page_Load(object sender, EventArgs e)
{
Response.Write(Bind_Grid());
}
You cant bind everything to a Grid.
Thank you for posting at Dotnetfunda
Vuyiswa Maseko
Thank you for posting at Dotnetfunda
[Administrator]
Klbaiju, if this helps please login to Mark As Answer. | Alert Moderator