Click here to Skip to main content
15,908,776 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Disable all textbox & window.open problem Pin
J Liang25-Jul-07 18:10
J Liang25-Jul-07 18:10 
QuestionBest way to generate and wire-up events for dynamic controls? Pin
Red_Wizard_Shot_The_Food24-Jul-07 22:36
Red_Wizard_Shot_The_Food24-Jul-07 22:36 
QuestionUser.Identity.name Pin
isaii24-Jul-07 22:35
isaii24-Jul-07 22:35 
GeneralRe: User.Identity.name Pin
BasharatAli24-Jul-07 23:42
BasharatAli24-Jul-07 23:42 
Questionhow to use scrolling in grid view Pin
Piyush Vardhan Singh24-Jul-07 21:18
Piyush Vardhan Singh24-Jul-07 21:18 
AnswerRe: how to use scrolling in grid view Pin
BasharatAli24-Jul-07 23:38
BasharatAli24-Jul-07 23:38 
GeneralRe: how to use scrolling in grid view Pin
Piyush Vardhan Singh25-Jul-07 2:04
Piyush Vardhan Singh25-Jul-07 2:04 
Questionradchart labeles Pin
devsam24-Jul-07 20:44
devsam24-Jul-07 20:44 
hello is there any help plz guys i got "Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index " error

Public Sub RadChart1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadChart1.Load

Dim sqls As String = "select CallType, count(CallType) from RecCalls where CallType = 0 Group by (CallType)"

Dim cmd As New SqlCommand
cmd.CommandText = sqls
Dim strcon As New SqlConnection(Conn)

Dim CallsAdapter As New SqlDataAdapter
CallsAdapter.SelectCommand = cmd
cmd.Connection = strcon

strcon.Open()

' RadChart1.Series.Item(0).Item(0).Name = "In " + sqls
Dim result As Integer

'for loop for all items i =0 -4
Dim strType As String
Dim i As Integer
For i = 0 To 3 + 1
Select Case (RadChart1.Series.Item(0).Item(i).Name)
Case "in"
strType = 0
Case "out "
strType = 1
Case "Missed"
strType = 2
Case "RAdio"
strType = 3
End Select
Next i
sqls = "select CallType, count(CallType) from RecCalls where CallType = " & strType & " Group by (CallType)"
result = cmd.ExecuteScalar()
RadChart1.Series.Item(0).Item(i).Name() = RadChart1.Series.Item(0).Item(i).Name() + " " + result
End Sub

thank in advanceBlush | :O


Developer

AnswerRe: radchart labeles Pin
Christian Graus24-Jul-07 20:47
protectorChristian Graus24-Jul-07 20:47 
GeneralRe: radchart labeles Pin
devsam24-Jul-07 21:29
devsam24-Jul-07 21:29 
GeneralRe: radchart labeles Pin
Christian Graus24-Jul-07 21:50
protectorChristian Graus24-Jul-07 21:50 
GeneralRe: radchart labeles Pin
devsam24-Jul-07 23:12
devsam24-Jul-07 23:12 
AnswerRe: radchart labeles Pin
Arindam Tewary24-Jul-07 23:18
professionalArindam Tewary24-Jul-07 23:18 
GeneralRe: radchart labeles Pin
devsam24-Jul-07 23:23
devsam24-Jul-07 23:23 
GeneralRe: radchart labeles Pin
Arindam Tewary24-Jul-07 23:32
professionalArindam Tewary24-Jul-07 23:32 
GeneralRe: radchart labeles Pin
devsam25-Jul-07 1:35
devsam25-Jul-07 1:35 
QuestionPrinting by default landscape Pin
samerh24-Jul-07 20:31
samerh24-Jul-07 20:31 
Questionformat date in gridview control Pin
kinnuP24-Jul-07 20:12
kinnuP24-Jul-07 20:12 
AnswerRe: format date in gridview control Pin
Imran Khan Pathan24-Jul-07 21:19
Imran Khan Pathan24-Jul-07 21:19 
Questionsecurity problem to create files in shared wwwroot Pin
SamRST24-Jul-07 20:01
SamRST24-Jul-07 20:01 
AnswerRe: security problem to create files in shared wwwroot Pin
N a v a n e e t h24-Jul-07 20:23
N a v a n e e t h24-Jul-07 20:23 
GeneralRe: security problem to create files in shared wwwroot Pin
SamRST25-Jul-07 1:27
SamRST25-Jul-07 1:27 
QuestionDetailsView - selected object Pin
boy.pockets24-Jul-07 20:00
boy.pockets24-Jul-07 20:00 
QuestionText box Pin
Imthu24-Jul-07 19:34
Imthu24-Jul-07 19:34 
AnswerRe: Text box Pin
Christian Graus24-Jul-07 19:52
protectorChristian Graus24-Jul-07 19:52 

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.