16,020,714 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 Visual Basic questions
View Javascript questions
View .NET 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 Amit Kumar143 (Top 12 by date)
Amit Kumar143
1-Dec-14 13:56pm
View
i think the problem is in using complex class.
because instead of returning List<TblAdmin> when i am returning a List<customeclass>
an binding in a query,it is working fine.
Do you Know How to resolve this problem,and any modification needed here to return List<TblAdmin>?
Amit Kumar143
21-Apr-14 3:13am
View
i have a Button Event,in which i have save the values.
in my database situation,when user select 1st option and click save then "A" is save in database
when user click 2nd option and click save then "B" is save in database
when user click 3rd option and click save then "C" is save in database
when user click 4th option and click save then "D" is save in database
when user click 5th option and click save then "E" is save in database
Do you have any idea how can i achieve it?
Help in this..!!
Amit Kumar143
21-Apr-14 2:46am
View
it's working fine
Thanks @Damith Weerasinghe...!!
Can u tell me how to retrieve the selected options because i have to save the selected options in database.
Amit Kumar143
21-Apr-14 2:08am
View
it is varchar
Amit Kumar143
7-Feb-14 4:33am
View
yes even i have tried it in another application and it is working well there,but don't know what is problem in my current application
in my application it reacquires to binding first listbox that is "lstboxSkill" from a dropdown selectedIndex change event
and fill second listbox from first listbox selected value
i am binding first list box using this methods
protected void ddlSkillType_SelectedIndexChanged(object sender, EventArgs e)
{
List<TblSkillType> lstSkillType = ServiceAccess.GetProxy().GetSkillType();
List<TblSkill> lstSkill = ServiceAccess.GetProxy().GetAllSkill();
List<TblSkillDetail> lstSkillDetails = ServiceAccess.GetProxy().GetAllSkillDtls();
var skill = (from a in lstSkillType
from b in lstSkill
from c in lstSkillDetails
where a.SkillTypeId == Convert.ToInt32(ddlSkillType.SelectedValue) && a.SkillTypeId == b.SkillTypeId && b.SkillId == c.SkillId
select new { b.SkillId, c.SkillName }).ToList();
lstboxSkill.DataSource = skill;
lstboxSkill.DataTextField = "SkillName";
lstboxSkill.DataValueField = "SkillId";
lstboxSkill.DataBind();
}
first list box is binding properly.
and i have written code for transfer selected item from one listbox to another in a button click event like
protected void imgbtnMoveRightListBox_Click(object sender, ImageClickEventArgs e)
{
for (int i = 0; i < lstboxSkill.Items.Count; i++)
{
if (lstboxSkill.Items[i].Selected)
{
lstBBoxSkill2.Items.Add(lstboxSkill.Items[i]);
}
}
}
Amit Kumar143
7-Feb-14 4:02am
View
yes
Amit Kumar143
7-Feb-14 3:55am
View
yes code is working but the problem is in lstboxSkill always first item is selected true and not the other items. It is not getting which items are selected except first .
so in second listbox the first item of first-listbox is added even when it is not selected.
Amit Kumar143
14-Jan-14 4:15am
View
yes i replace ~ with "../../AttachedFile" but it not working yet again file is saving in the same folder where i created the webpage
Amit Kumar143
14-Jan-14 4:14am
View
yes i replace ~ with "../../AttachedFile" but it not working yet again file is saving in the same folder where i created the webpage
Amit Kumar143
14-Jan-14 4:14am
View
yes i replace ~ with "../../AttachedFile" but it not working yet again file is saving in the same folder where i created the webpage
Amit Kumar143
20-Dec-13 3:06am
View
the output should be like in tree structure,
Amit Kumar143
27-Nov-13 2:03am
View
Reason for my vote of 5 \n nice
Show More