15,910,872 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 jitendra raj (Top 18 by date)
jitendra raj
24-May-16 7:48am
View
thanks vijay rana ji for your reply but i simply want to add column dynamically not row
jitendra raj
11-Mar-16 0:03am
View
there is no error. i have some logical problem.
let me explain when we add two rows value for apr-16 month 1500 and 0 for may-16 month for column Admission Fee then my desired result is 1500+0 =1500 but my code give result 3000 i did not understand where i have fault in my code please let me know
jitendra raj
10-Mar-16 23:59pm
View
Dear kartik ji thanks for your reply .
let me explain when we add two rows value for apr-16 month 1500 and 0 for may-16 month for column Admission Fee then my desired result is 1500+0 =1500 but my code give result 3000 i did not understand where i have fault in my code please let me know
jitendra raj
5-Feb-16 6:40am
View
for read value from viewstate one by one not all values like as below
if (ViewState["_data"] != null)
{
List<field> fieldList = (List<field>)ViewState["_data"];
// Implement your logic
}
I want to read adm_no one by one student from viewstate not all students adm_no at time.
jitendra raj
5-Feb-16 4:33am
View
Thanks Manas ji for reply but i want to retrive value from list one by one means if we have a gridview which have 30 record per column and we store 30 students admission no. now i want to store these 30 admission no in view state from griedview and read these admission no. one by one using loop or what ever
jitendra raj
4-Feb-16 4:31am
View
how we do that
jitendra raj
3-Feb-16 10:13am
View
thank peter for reply but how do that please give some idea
it's urgent for me
jitendra raj
30-Nov-15 5:43am
View
yes if we select Apr-15,May-15 from chekboxlist then my code can calculate the running total like as
for column Apr-15
500
1500
350
400
Running Total 2750
and for column May-15
0
0
0
500
running total is 500
jitendra raj
30-Nov-15 5:32am
View
No I think I clearly not understand my question please I want to calculate the running total of perticular column if we select two items from cheboxlist like Apr-15,May-15 then calculate running total of two column Apr-15,May-15 in gridview if we select Apr-15,May-15,Jun-15 items from cheboxlist then calculate running total of Apr-15,May-15,Jun-15
jitendra raj
24-Nov-15 5:42am
View
Thanks raj for you reply, yes I Have declared a connection string in web.config file with name 'con1'?
and we found error here
Line 191: lbl_aprTotalamount.Text = dr[0].ToString();
jitendra raj
17-Jan-14 1:49am
View
Dear christian Graus following is the result which i want when executing my stored procedure as follows for node 'Ramesh123'
exec count_pairs 'Ramesh123'
result
Joingdate Completed Pair
2014-01-03 13:54:35.000 0
2014-01-04 14:56:35.000 0
2014-01-05 15:58:35.000 0
2014-01-06 16:54:35.000 1
2014-01-07 14:54:35.000 0
2014-01-07 15:34:35.000 1
2014-01-07 15:54:35.000 0
2014-01-09 11:54:35.000 0
2014-01-09 14:64:35.000 0
2014-01-23 17:54:35.000 1
and for 'sonu'
exec count_pairs 'sonu'
result
Joingdate Completed Pair
2014-01-03 13:54:35.000 0
2014-01-04 14:56:35.000 0
2014-01-05 15:58:35.000 0
2014-01-06 16:54:35.000 0
2014-01-07 14:54:35.000 0
2014-01-07 15:34:35.000 0
2014-01-07 15:54:35.000 1
2014-01-09 11:54:35.000 0
2014-01-09 14:64:35.000 1
2014-01-23 17:54:35.000 0
jitendra raj
17-Jan-14 0:45am
View
because this code does not return any value so i can not say this code helpful for me or not if it return some value then i can checked it is helpful or not so please provide the full code which return some value again thanks for your valuable advice
jitendra raj
16-Jan-14 1:28am
View
I am very sorry for that and i never say that Again in future to go for another forum or check code at another forum for any one
thank you very much for valuable advice and reply my problem.
but when we execute your code it does not return any value
please tell us how can pass parentid in above code please give some idea so that we can perform calculation for every parent node
jitendra raj
15-Jan-14 3:00am
View
Dear Christian Graus for more details please check the following link with fig so that you can understand better my question.
http://stackoverflow.com/questions/21087884/how-to-calculate-the-total-number-of-pair-under-particular-parent-according-to-p
jitendra raj
14-Jan-14 12:09pm
View
no i don't have SS2012 i hvae ss2008 and i want to compare rows between days and level also
so how it can we perform please tells us as early as possible it's urgent for me one thing is that you have done any Multilevel Marketing Project where members are added in a tree pattern means thre is one root node and other are child node left child and right child and sub child...sub sub child ....so on please tell us
jitendra raj
13-Jan-14 3:24am
View
but do you have any idea or code
jitendra raj
12-Jan-14 9:42am
View
Dear Christian Graus,
No I want to count number of pairs day to day
jitendra raj
9-Jan-14 6:34am
View
Dear Christian Graus,
Thanks for your reply but
I think you don't understand my question. well i illustrate my question Again in detail.
by using below my stored procedure i can count the total number of pairs under particular node in 2:1,1:1 ratio means first pair is completed when two node added to the left side of given parent node and one node added right side of given parent node after that all pairs are completed when one node added left side and one node added right side of parent node (1:1 ratio)
example if i execute my stored procedure as follows it would return following.
EXEC count_pairs 'Ramesh123'
3
so there is 3 pairs as shown in my figure.
when we execute my stored procedure for ParentID 'sonu' it would return following.
EXEC count_pairs 'sonu'
2
so there is 2 pairs as shown in my figure
bellow is link of MLM TREE figure please check it
http://stackoverflow.com/posts/20932342/revisions
Now I want count total number of pairs under particular node in 1:2,1:1 ratio day to day upto 5 pairs in day.
if i execute my stored procedure like as
EXEC count_pairs 'Ramesh123'
it return 3
means node 'Ramesh123' have total three pairs as shown my figure
but i want node 'Ramesh123' completed how many pairs in day ('2014-01-03 16:31:15.000')
and how many pairs in day(2014-01-04 16:31:15.000)
and how many pairs in day(2014-01-05 16:31:15.000)
.
.
.
.
up to last date as given
Show More