PC Review


Reply
Thread Tools Rate Thread

binding pivotchart with sql server in vb.net

 
 
omar_aa
Guest
Posts: n/a
 
      15th Apr 2008
hi !

i have written the following code to programmatically bind the pivot chart
with sql server but till now i m not getting any success. i am pasting my
code below.plz help me .thanks.



Dim oconnection As SqlClient.SqlConnection = New
SqlClient.SqlConnection("Server=awais;Database=statlogs;integrated
security=true")

oconnection.Open()

Dim oselectcommand As New SqlClient.SqlCommand("select date from
designfile", oconnection)

Dim odataAdapter As New SqlClient.SqlDataAdapter(oselectcommand)

ptable.ConnectionString = "Server=awais;Database=statlogs;integrated
security=true"

Dim odataset As New DataSet("ptable")

odataAdapter.Fill(odataset, "abc")

ptable.DataMember = "196$"

cspace.DataSource = ptable

oconnection.Close()

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicating PivotChart / Changing PivotChart data range BillG Microsoft Excel Charting 0 4th Feb 2009 08:56 PM
Do the data binding at server side =?Utf-8?B?V2lsc29u?= Microsoft C# .NET 3 5th Jul 2006 09:25 AM
Force pivotchart view when opening a pivotchart form =?Utf-8?B?dHNpc29uNw==?= Microsoft Access 0 27th Jun 2006 11:31 AM
WINS server binding =?Utf-8?B?SmFzb24=?= Microsoft Windows 2000 Networking 2 11th Aug 2004 01:03 PM
ntdsuil and binding to server gurvinder.nijjar Microsoft Windows 2000 Active Directory 9 17th Feb 2004 12:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:55 AM.