15,905,028 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 Member 12355460 (Top 19 by date)
Member 12355460
14-May-16 6:37am
View
thank you it worked :)
Member 12355460
14-May-16 6:36am
View
thanks it worked
i was not able to exclude this page because of this?
Member 12355460
14-May-16 6:33am
View
are you getting what i asked? thr is this page of crystal report which is run even when i try to run some other page, in the chrome it display report page first, i did not even put any link of report page in my website and when i exclude it from website, my website dont run at all.
Member 12355460
14-May-16 6:30am
View
visual studio only
Member 12355460
14-May-16 6:27am
View
yes if i type the other url it work
Member 12355460
29-Mar-16 4:52am
View
thank you
Member 12355460
17-Mar-16 5:37am
View
it remove the error but now the solution is not show in the total textbox.
Member 12355460
16-Mar-16 3:30am
View
did not ask about the code. but if i have an query whr should i seek it.
Member 12355460
15-Mar-16 8:31am
View
answer not helping :(
Member 12355460
14-Mar-16 5:36am
View
SqlConnection con = new SqlConnection("Data Source=MICKEY\\SQLEXPRESS;Initial Catalog=rr;Integrated Security=True");
string query = "select Distinct itemName from itemMaster where name = '"+olDDLItem.Text+"'";
// SqlCommand com = new SqlCommand();
SqlDataReader sdr;
SqlCommand com = new SqlCommand(query, con);
SqlDataAdapter sda = new SqlDataAdapter();
try
{
con.Open();
sdr = com.ExecuteReader();
while(sdr.Read())
{
string sDes = sdr.GetString(1);
string sUnit = sdr.GetString(2);
oltxtDescription.Text= sDes;
oltxtUnit.Text= sUnit;
}
}
catch(Exception ex)
{
olResult.Text = "successfull";
even this is not working
Member 12355460
14-Mar-16 3:14am
View
ok sir
Member 12355460
14-Mar-16 3:12am
View
i found it..
olDDLItem.Items.Add(sdr[0].ToString());
this is working now. thank you
Member 12355460
14-Mar-16 2:34am
View
any other sugesstions
Member 12355460
11-Mar-16 0:48am
View
i know how to connect or to show values from dropdown list as i am working on 3 tier its not what i am looking for. if you can answer what i asked i will be thankfull.
Member 12355460
10-Mar-16 7:11am
View
thank you !!!
Member 12355460
9-Mar-16 2:15am
View
it actually worked. thank you so much !! :)
Member 12355460
9-Mar-16 2:10am
View
thank you for your solution.
Member 12355460
5-Mar-16 0:42am
View
how
Member 12355460
5-Mar-16 0:39am
View
can you elaborate it
Show More