Click here to Skip to main content
16,008,490 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionLaptop Pin
ADY0076-Apr-06 21:13
ADY0076-Apr-06 21:13 
AnswerRe: Laptop Pin
albCode6-Apr-06 23:15
albCode6-Apr-06 23:15 
QuestionHow to declare a DLL function in VB.NET? Urgent need help! Pin
Ling Chen Wu6-Apr-06 19:30
Ling Chen Wu6-Apr-06 19:30 
Questionproblem in dispaly images dynamically Pin
Amit Agarrwal6-Apr-06 18:32
Amit Agarrwal6-Apr-06 18:32 
AnswerRe: problem in dispaly images dynamically Pin
Christian Graus6-Apr-06 19:02
protectorChristian Graus6-Apr-06 19:02 
GeneralRe: problem in dispaly images dynamically Pin
Amit Agarrwal6-Apr-06 19:09
Amit Agarrwal6-Apr-06 19:09 
GeneralRe: problem in dispaly images dynamically Pin
Purple Monk7-Apr-06 2:11
Purple Monk7-Apr-06 2:11 
Questionproblem creating dynamic webchart Pin
uglyeyes6-Apr-06 18:12
uglyeyes6-Apr-06 18:12 
Hi All,

the tool i am using is mycos web chart and i have no idea how this chart renders the data.

here are my codes.


------

Try
'select the table with only distinct ID based
cmd = New SqlCommand("select distinct measure_id from measuredata m, textdata t where t.ScoreCardId = m.ScoreCardId", objConn)

Dim da As SqlDataAdapter = New SqlDataAdapter(cmd)
Dim dtId As New DataTable("MeasureId")

da.Fill(dtId)

'select all columns with ID
Dim cmd1 As SqlCommand = New SqlCommand("select * from measureData", objConn)

Dim da1 As SqlDataAdapter = New SqlDataAdapter(cmd1)
Dim dt As New DataTable("MeasureSource")

da1.Fill(dt)


Dim datarow As DataRow

For Each datarow In dtId.Rows

Dim myView As New DataView(dt)
Dim chart As New Mycos.MycosChartWeb
chart.ID = "chart" + dtId.ToString
myView.RowFilter = String.Format("Measure_Id='{0}'", datarow.Item("measure_Id"))
chart.DataSource = myView
chart.DataBind()
PlaceHolder1.Controls.Add(chart)
Next datarow


Catch ex As Exception
Response.Write("OOPs what went wrong:" + ex.ToString)
Finally
End Try
------

Now my problem is how to add data to those dynamically generated charts. i also need to assign the ID for each chart. how do i do that. and also i want those charts to displayed in specific area but not one by one in for loop. i dont know if anyone of you have done this. well if you have please help me
thanks

QuestionPower status Pin
Snoot_5435336-Apr-06 12:16
Snoot_5435336-Apr-06 12:16 
AnswerRe: Power status Pin
progload6-Apr-06 12:53
progload6-Apr-06 12:53 
QuestionWeb Browsing with VB Pin
Snoot_5435336-Apr-06 12:15
Snoot_5435336-Apr-06 12:15 
AnswerRe: Web Browsing with VB Pin
Regardt7-Apr-06 1:50
Regardt7-Apr-06 1:50 
GeneralRe: Web Browsing with VB Pin
Regardt7-Apr-06 1:51
Regardt7-Apr-06 1:51 
QuestionIP to IP Pin
ADY0076-Apr-06 11:10
ADY0076-Apr-06 11:10 
AnswerRe: IP to IP Pin
Regardt7-Apr-06 1:01
Regardt7-Apr-06 1:01 
QuestionCreate new Shortcut Pin
kostasdiktia26-Apr-06 8:44
kostasdiktia26-Apr-06 8:44 
AnswerRe: Create new Shortcut Pin
Eric Dahlvang6-Apr-06 11:26
Eric Dahlvang6-Apr-06 11:26 
GeneralRe: Create new Shortcut Pin
kostasdiktia26-Apr-06 12:10
kostasdiktia26-Apr-06 12:10 
GeneralRe: Create new Shortcut Pin
Dave Kreskowiak6-Apr-06 14:13
mveDave Kreskowiak6-Apr-06 14:13 
GeneralRe: Create new Shortcut Pin
kostasdiktia26-Apr-06 15:09
kostasdiktia26-Apr-06 15:09 
QuestionHow to update database using values in textboxes Pin
Mohit Namdeo6-Apr-06 7:44
Mohit Namdeo6-Apr-06 7:44 
AnswerRe: How to update database using values in textboxes Pin
albCode6-Apr-06 8:11
albCode6-Apr-06 8:11 
AnswerRe: How to update database using values in textboxes Pin
minhnguyen086-Apr-06 20:02
minhnguyen086-Apr-06 20:02 
QuestionSelf contained app development... Pin
Sam Marrocco6-Apr-06 4:51
Sam Marrocco6-Apr-06 4:51 
AnswerRe: Self contained app development... Pin
Dave Kreskowiak6-Apr-06 14:08
mveDave Kreskowiak6-Apr-06 14:08 

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.