Click here to Skip to main content
15,893,190 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi.......

C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
 
public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Raj.changerate rs = new Raj.changerate();
        DataSet ds = rs.getrates();
        GridView1.DataSource = ds.Tables[0];
        GridView1.DataBind();
    }
 
}




ASM
Error   1   Reference.svcmap: Could not load file or assembly 'itextsharp, Version=5.5.0.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca' or one of its dependencies. The system cannot find the file specified.    App_WebReferences/ServiceReference1/
Error   2   The type or namespace name 'changerate' does not exist in the namespace 'Raj' (are you missing an assembly reference?)  E:\mine\WebSiteD\Default.aspx.cs    16  13  WebSiteD
Error   3   The type or namespace name 'changerate' does not exist in the namespace 'Raj' (are you missing an assembly reference?)  E:\mine\WebSiteD\Default.aspx.cs    16  37  WebSiteD
Posted
Updated 4-Aug-14 0:44am
v2
Comments
Prasad Avunoori 4-Aug-14 6:35am    
1. Give reference to iTextSharp
2. Give Reference to Raj namespace.

1 solution

I think u cannot get connected to ur service. Try to update the service reference. If it fails, again host the web service.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900