TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
saifullah khan
NA
335
300.7k
What it insert in given method
Jul 19 2011 11:10 AM
I have a confusion. in the given code i have used getprice method to get the values of a string named price. can some body tell me what i need to insert in this method. i have used return price; but it didnt give any respons. the fxfeed is a class that provides market values of bid and ask but the method doesnt work to get the values. please help me.
public string price = "bid,ask";
public string getPrice()
{
}
if (fxfeed.getPrice().Equals("bid,ask"))
{
Response.Write("Bid: " + quote["bid"]);
Response.Write("Ask: " + quote["ask"]);
}
else
{
Response.Write(("Price: " + quote["price"]));
}
Reply
Answers (
5
)
How to unload the gridview in asp.net
Multiple languages in ASP.NET