15,897,187 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 Zia Ullah Khan (Top 25 by date)
Zia Ullah Khan
8-Feb-13 7:42am
View
the forms are .Net WinForms
Zia Ullah Khan
8-Feb-13 7:37am
View
the forms are .Net WinForms
Zia Ullah Khan
19-Dec-12 14:38pm
View
can you have a look here please;
http://www.codeproject.com/Answers/512557/howplustopluscalculateplusthepluspositionplusofplu#answer2
Zia Ullah Khan
19-Dec-12 14:28pm
View
no i'm not calculating the gpa
Zia Ullah Khan
19-Dec-12 14:21pm
View
this is just sorting, but what if we have like this;
class student
{
public string positionInEnglish;//position to be calculated and placed in this field for each student
public string positionInMath;//position to be calculated and placed in this field for each student
public int EnglishObtainedMarks;
public int mathObtainedMarks;
public student(int engObtMarks,int mathObtMarks)
{
EnglishObtainedMarks= engObtMarks;
mathObtainedMarks = mathObtMarks;
}
}
list.Add(new student(7,30)); // position of student = 3rd
list.Add(new student(3,40));// position of student = 6th
list.Add(new student(5,60));// position of student = 5th
list.Add(new student(88,70));// position of student = 2nd
list.Add(new student(2,5));// position of student = 7th
list.Add(new student(963,90));// position of student = 1st
list.Add(new student(6,34));// position of student = 4th
list.Add(new student(963,343));// position of student = 1st
list.Add(new student(963,343));// position of student = 1st
Zia Ullah Khan
19-Dec-12 14:05pm
View
but i have another column for positionInEnglish, positionInMath etc and i want to place the position in that column also. your solution will just sort list by obtained marks in subjects either in english or math or physic
Zia Ullah Khan
19-Dec-12 14:02pm
View
i have got a list of students with all subjects and their marks, now on the list of students i want give postion to the each student in each subject? i looked into the list methods but it did not helped in any case.
Zia Ullah Khan
19-Dec-12 14:01pm
View
Deleted
i have got a list of students with all subjects and their marks, now on the list of students i want give postion to the each student in each subject.
Zia Ullah Khan
19-Dec-12 13:57pm
View
by postion i mean first, second, third . . . . 11th in subjects by marks obtained in each subjects, yes i have separate columns for subjects marks , like englishobtainedMarks, MathObtainedMarks etc . . .
Zia Ullah Khan
19-Dec-12 13:56pm
View
i have got a list of students with all subjects and their marks, now on the list of students i want give postion to the each student in each subject? i looked into the list methods but it did not helped in any case.
Zia Ullah Khan
8-Nov-12 3:37am
View
Thankful to you James! I'm looking into this, hopefully this will work for me.
Zia Ullah Khan
26-Jan-12 4:07am
View
The party will select the option to record the call, then a notification will be sent to the other caller either to accept the call recording or reject, if any of the two parties reject the call recording then the call recording should be cancelled.
Zia Ullah Khan
8-Jan-12 10:15am
View
i got the solution, i'm doing this all in one update panel,
doing insertion into db and displaying the comments against that post on single event fired on a button/linkbutton.what you say about this?
Zia Ullah Khan
8-Jan-12 8:17am
View
i don't want to create the full facebook applicaton. i just want to create the post and status updating module
Zia Ullah Khan
23-Dec-11 3:19am
View
i did this all, but now in asp.net mvc3, i want to create a single model for these two tables.
Zia Ullah Khan
4-Apr-11 6:55am
View
i think in this way we can do the xml updation
Zia Ullah Khan
4-Apr-11 6:55am
View
DECLARE @newValue varchar(50)
2 SELECT @newValue = 'NewValue'
3
4 UPDATE [Product]
5 SET ProductXml.modify('replace value of (/Sample/NodeThree/text())[1] with sql:variable("@newValue")')
Zia Ullah Khan
31-Mar-11 10:32am
View
in asp.net form it is require
Zia Ullah Khan
21-Mar-11 2:22am
View
i need it to convert it in web page, and the word file is generated previously, just read the file from my harddisk and then convert it into pdf , in a web site . ..
Zia Ullah Khan
16-Mar-11 6:29am
View
thanks for your reply . . . i solved my problem.
Zia Ullah Khan
15-Mar-11 7:51am
View
i setting the fields from storeprocedure, and creating the datasource through codes,
Zia Ullah Khan
28-Feb-11 3:31am
View
thanks buddy i am going to check link.
Zia Ullah Khan
31-Jan-11 7:08am
View
but let me know how the grid will update without page refresh after closing the popup window, i need that after closing the pop window the grid should be updated without refreshing too.
Zia Ullah Khan
21-Jan-11 1:15am
View
thanks alot i got the idea
Zia Ullah Khan
21-Jan-11 0:57am
View
the given guidlines are correct and absolute but i am getting stuck can you give me an example ......if you give an example i will get the idea
Show More