15,900,258 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Abdul Imran (Top 7 by date)
Abdul Imran
31-Jul-15 7:55am
View
var brand_qry = (from pd in SvarkWindow.prodlist
join pu in SvarkWindow.produnitslist on pd.Product_id equals pu.Product_id
where pu.position > 0
select pd.Product_name + " " + pd.Manufacturer).Distinct().ToList();
foreach (string item in brand_qry)
{
if (!string.IsNullOrEmpty(Search_txt1.Text))
{
if (item.StartsWith(typedString, StringComparison.CurrentCultureIgnoreCase))
{
autoList.Add(item);
}
}
}
And then i am filling the listBox
if (autoList.Count > 0)
{
lbSuggestion.ItemsSource = autoList;
lbSuggestion.Visibility = Visibility.Visible;
}
else if (Search_txt.Text.Equals(""))
{
lbSuggestion.Visibility = Visibility.Collapsed;
lbSuggestion.ItemsSource = null;
}
else
{
lbSuggestion.Visibility = Visibility.Collapsed;
lbSuggestion.ItemsSource = null;
}
}
But later i am unable to access the first field that is "pd.Product_name" and i am getting both field values .
so help me out of it.
Abdul Imran
31-Jul-15 7:53am
View
This is my code here:
var brand_qry = (from pd in SvarkWindow.prodlist
join pu in SvarkWindow.produnitslist on pd.Product_id equals pu.Product_id
where pu.position > 0
select pd.Product_name + " " + pd.Manufacturer).Distinct().ToList();
foreach (string item in brand_qry)
{
if (!string.IsNullOrEmpty(Search_txt1.Text))
{
if (item.StartsWith(typedString, StringComparison.CurrentCultureIgnoreCase))
{
autoList.Add(item);
}
}
}
And then i am filling the listBox
if (autoList.Count > 0)
{
lbSuggestion.ItemsSource = autoList;
lbSuggestion.Visibility = Visibility.Visible;
}
else if (Search_txt.Text.Equals(""))
{
lbSuggestion.Visibility = Visibility.Collapsed;
lbSuggestion.ItemsSource = null;
}
else
{
lbSuggestion.Visibility = Visibility.Collapsed;
lbSuggestion.ItemsSource = null;
}
}
But later i am unable to access the first field that is "pd.Product_name" and i am getting both field values .
so help me out of it.
Abdul Imran
31-Jul-15 5:00am
View
Yes i want
Abdul Imran
10-Jul-15 2:23am
View
Actually when i created service on that time it has taken all the tables and it added to the wcf service but now i have one more table which i want to add now but it is not adding in the wcf service.
Abdul Imran
30-Jun-15 7:13am
View
Yes its working fine Thank you Mr.Shekher god bless you .you saved my day.
Abdul Imran
17-Mar-15 8:01am
View
i have tried with 10g but still it is unsolved
Abdul Imran
17-Mar-15 7:44am
View
yes i have tried in oracle 10g but it not getting done.
Show More