15,895,667 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 SDAP_INDIA (Top 9 by date)
SDAP_INDIA
15-Jul-14 23:08pm
View
Hello,
I am Using Win Form in C# 4.0 Version
SDAP_INDIA
2-Feb-13 2:15am
View
thanks..
to alternate solution... but i have to do it as i want.
any script/command something else
SDAP_INDIA
10-May-12 9:30am
View
when i select the records from table
SDAP_INDIA
5-May-12 8:03am
View
i m using
1. select a.name,b.job1,b.job2 from Jobs b inner join Users a on a.name=b.name where b.dep='OP'
2. select a.name,b.job1,b.job2 from Jobs b inner join Users a on a.name=b.name where b.dep='SA'
I want result of both query result like below in a single selection query.
Name job1 job2 job1 job2
A 5 88 1 20
B 8 4 3 25
C 6 10 5 11
SDAP_INDIA
26-Apr-12 7:17am
View
Its working but i have binded my listbox with sql values like
if (!Page.IsPostBack)
{
str = "select * from TBL_NM_State where StateId<112";
cmd = new SqlCommand(str, con);
DataSet ds = new DataSet();
da.SelectCommand = cmd;
con.Open();
da.Fill(ds, "TB1");
Lst1.DataSource = ds.Tables[0].DefaultView;
Lst1.DataTextField = "Statename";
Lst1.DataValueField = "Statename";
Lst1.DataBind();
}
if (Lst1.SelectedIndex > -1)
{
Int32 idx = Lst1.SelectedIndex;
}
values are there but could not finding index values after clicking on particular item
( I think my sql values are not a part of items collection)
SDAP_INDIA
26-Apr-12 5:44am
View
i tried very...in all ways..
SDAP_INDIA
26-Apr-12 5:43am
View
dear that's not working, i need selected items index value....
SDAP_INDIA
5-Apr-12 6:16am
View
Re-Install your SSMS
SDAP_INDIA
5-Apr-12 6:14am
View
yessssss
Show More