Click here to Skip to main content
14,427,342 members
   

C#

 
QuestionOpen (or focus) forms from listbox items Pin
nelsonpaixao22-Jul-08 13:34
Membernelsonpaixao22-Jul-08 13:34 
AnswerRe: Open (or focus) forms from listbox items Pin
Luc Pattyn22-Jul-08 14:29
sitebuilderLuc Pattyn22-Jul-08 14:29 
AnswerRe: Open (or focus) forms from listbox items Pin
nelsonpaixao23-Jul-08 15:06
Membernelsonpaixao23-Jul-08 15:06 
Questiondata insert mysql+c# Pin
SHINOJK22-Jul-08 13:09
MemberSHINOJK22-Jul-08 13:09 
AnswerRe: data insert mysql+c# Pin
Dirso22-Jul-08 13:30
MemberDirso22-Jul-08 13:30 
GeneralRe: data insert mysql+c# Pin
Mbah Dhaim23-Jul-08 0:37
MemberMbah Dhaim23-Jul-08 0:37 
QuestionYet another multi-threading question... Pin
DavidBoyd22-Jul-08 12:58
MemberDavidBoyd22-Jul-08 12:58 
Questionpivot table control in c# Pin
Shuaib wasif khan22-Jul-08 12:46
MemberShuaib wasif khan22-Jul-08 12:46 
i am working on C# form and Have axPivotTable Control.

for Databinding i am Using This Code


SqlConnection cn=new SqlConnection("database=durdu;user id=sa;pwd=");
SqlDataAdapter cmd=new SqlDataAdapter ("select * from marksheet",cn);
DataTable dt=new DataTable();
cmd.Fill(dt);
axPivotTable1.DataSource=(msdatasrc.DataSource)(object)dt;

this throws an error -specified cast is not valid.

i have done lots of googling and does not found single satisfied answer


please tell me how to bind data to a pivot table

its very urgent .<b> Sleepy | :zzz:
AnswerRe: pivot table control in c# Pin
Vimalsoft(Pty) Ltd22-Jul-08 13:03
professionalVimalsoft(Pty) Ltd22-Jul-08 13:03 
GeneralRe: pivot table control in c# Pin
PIEBALDconsult22-Jul-08 13:10
professionalPIEBALDconsult22-Jul-08 13:10 
AnswerRe: pivot table control in c# Pin
Guffa22-Jul-08 13:22
MemberGuffa22-Jul-08 13:22 
QuestionCreate a file chooser. Pin
AgroDuck22-Jul-08 12:32
MemberAgroDuck22-Jul-08 12:32 
AnswerRe: Create a file chooser. Pin
Vimalsoft(Pty) Ltd22-Jul-08 12:56
professionalVimalsoft(Pty) Ltd22-Jul-08 12:56 
AnswerRe: Create a file chooser. Pin
PIEBALDconsult22-Jul-08 13:13
professionalPIEBALDconsult22-Jul-08 13:13 
Questionsocket programming Pin
AlexPizzano22-Jul-08 12:28
MemberAlexPizzano22-Jul-08 12:28 
AnswerRe: socket programming Pin
DavidBoyd22-Jul-08 12:47
MemberDavidBoyd22-Jul-08 12:47 
GeneralRe: socket programming Pin
AlexPizzano22-Jul-08 12:50
MemberAlexPizzano22-Jul-08 12:50 
AnswerRe: socket programming Pin
nelsonpaixao22-Jul-08 13:22
Membernelsonpaixao22-Jul-08 13:22 
QuestionBlocking Input Pin
Dirso22-Jul-08 12:15
MemberDirso22-Jul-08 12:15 
AnswerRe: Blocking Input Pin
Vimalsoft(Pty) Ltd22-Jul-08 12:53
professionalVimalsoft(Pty) Ltd22-Jul-08 12:53 
GeneralRe: Blocking Input Pin
Dirso22-Jul-08 13:26
MemberDirso22-Jul-08 13:26 
Questiondata binding to combobox Pin
bfis10813722-Jul-08 11:58
Memberbfis10813722-Jul-08 11:58 
AnswerRe: data binding to combobox Pin
Vimalsoft(Pty) Ltd22-Jul-08 12:43
professionalVimalsoft(Pty) Ltd22-Jul-08 12:43 
GeneralRe: data binding to combobox Pin
bfis10813723-Jul-08 4:08
Memberbfis10813723-Jul-08 4:08 
GeneralRe: data binding to combobox Pin
Vimalsoft(Pty) Ltd23-Jul-08 6:45
professionalVimalsoft(Pty) Ltd23-Jul-08 6:45 

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.