Click here to Skip to main content
15,884,176 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ASP.NET Deployment, how Pin
awedaonline24-Jan-10 22:23
awedaonline24-Jan-10 22:23 
AnswerRe: ASP.NET Deployment, how Pin
Not Active23-Jan-10 3:41
mentorNot Active23-Jan-10 3:41 
GeneralRe: ASP.NET Deployment, how Pin
awedaonline24-Jan-10 22:25
awedaonline24-Jan-10 22:25 
QuestionMessage Removed Pin
23-Jan-10 1:12
hi_everybody23-Jan-10 1:12 
AnswerRe: how can i handle url Pin
Not Active23-Jan-10 2:28
mentorNot Active23-Jan-10 2:28 
GeneralMessage Removed Pin
24-Jan-10 19:59
hi_everybody24-Jan-10 19:59 
GeneralRe: how can i handle url Pin
Not Active25-Jan-10 1:05
mentorNot Active25-Jan-10 1:05 
QuestionCounting the values in a gridview Pin
AndyASPVB22-Jan-10 23:30
AndyASPVB22-Jan-10 23:30 
Hi
In my gridview, I want to count the number of times each value (based of course on a field in my gridview) occurs. For example, if I have a field called Dept, in my result there is the following:

Dept A

Dept A

Dept A

Dept B

Dept B

Dept C

What I am trying to do is to show that for each Dept A, the count is 3, and for Dept B, the count is 2 and for Dept C the count is 1. When I have my count, I want to save them into my hidden field, which I am going to use else where in my code.

I know I need to do this in my rowdatabound event, and I have had ago, but the results I am getting back are not correct.

How do I solve this problem?
AnswerRe: Counting the values in a gridview Pin
Manas Bhardwaj23-Jan-10 1:12
professionalManas Bhardwaj23-Jan-10 1:12 
GeneralRe: Counting the values in a gridview Pin
AndyASPVB23-Jan-10 1:21
AndyASPVB23-Jan-10 1:21 
GeneralRe: Counting the values in a gridview Pin
Manas Bhardwaj23-Jan-10 1:34
professionalManas Bhardwaj23-Jan-10 1:34 
GeneralRe: Counting the values in a gridview Pin
AndyASPVB23-Jan-10 1:45
AndyASPVB23-Jan-10 1:45 
Questionbrowser issues Pin
saravanan0522-Jan-10 20:08
saravanan0522-Jan-10 20:08 
AnswerRe: browser issues Pin
Manas Bhardwaj23-Jan-10 1:18
professionalManas Bhardwaj23-Jan-10 1:18 
AnswerRe: browser issues Pin
April Fans25-Jan-10 0:52
April Fans25-Jan-10 0:52 
Questionused iframe in my webpage want to get url of the ifram , refresh the iframe, full screen the iframe using the buttons of the web page Pin
praveenkumar_vittaboina22-Jan-10 19:32
praveenkumar_vittaboina22-Jan-10 19:32 
QuestionListbox SelectedIndex changed and click event Pin
sjs4u22-Jan-10 18:56
sjs4u22-Jan-10 18:56 
AnswerRe: Listbox SelectedIndex changed and click event Pin
Not Active23-Jan-10 2:21
mentorNot Active23-Jan-10 2:21 
QuestionPop up or model dialgue for aspx page Pin
indian14322-Jan-10 8:13
indian14322-Jan-10 8:13 
AnswerRe: Pop up or model dialgue for aspx page Pin
Not Active22-Jan-10 11:09
mentorNot Active22-Jan-10 11:09 
QuestionHTML table in Ajax tab control Pin
Rock Star.22-Jan-10 4:24
Rock Star.22-Jan-10 4:24 
QuestionCrystal Report Direct Print Pin
Girish_Sharma22-Jan-10 1:29
Girish_Sharma22-Jan-10 1:29 
AnswerRe: Crystal Report Direct Print Pin
thatraja22-Jan-10 2:12
professionalthatraja22-Jan-10 2:12 
GeneralRe: Crystal Report Direct Print Pin
Girish_Sharma22-Jan-10 2:27
Girish_Sharma22-Jan-10 2:27 
GeneralRe: Crystal Report Direct Print Pin
thatraja22-Jan-10 2:39
professionalthatraja22-Jan-10 2:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.