Click here to Skip to main content
15,888,733 members
Home / Discussions / C#
   

C#

 
QuestionOpen (or focus) forms from listbox items Pin
nelsonpaixao22-Jul-08 12:34
nelsonpaixao22-Jul-08 12:34 
AnswerRe: Open (or focus) forms from listbox items Pin
Luc Pattyn22-Jul-08 13:29
sitebuilderLuc Pattyn22-Jul-08 13:29 
AnswerRe: Open (or focus) forms from listbox items Pin
nelsonpaixao23-Jul-08 14:06
nelsonpaixao23-Jul-08 14:06 
Questiondata insert mysql+c# Pin
SHINOJK22-Jul-08 12:09
SHINOJK22-Jul-08 12:09 
AnswerRe: data insert mysql+c# Pin
Dirso22-Jul-08 12:30
Dirso22-Jul-08 12:30 
GeneralRe: data insert mysql+c# Pin
Mbah Dhaim22-Jul-08 23:37
Mbah Dhaim22-Jul-08 23:37 
QuestionYet another multi-threading question... Pin
DavidBoyd22-Jul-08 11:58
DavidBoyd22-Jul-08 11:58 
Questionpivot table control in c# Pin
Shuaib wasif khan22-Jul-08 11:46
Shuaib wasif khan22-Jul-08 11: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 12:03
professionalVimalsoft(Pty) Ltd22-Jul-08 12:03 
GeneralRe: pivot table control in c# Pin
PIEBALDconsult22-Jul-08 12:10
mvePIEBALDconsult22-Jul-08 12:10 
AnswerRe: pivot table control in c# Pin
Guffa22-Jul-08 12:22
Guffa22-Jul-08 12:22 
QuestionCreate a file chooser. Pin
AgroDuck22-Jul-08 11:32
AgroDuck22-Jul-08 11:32 
AnswerRe: Create a file chooser. Pin
Vimalsoft(Pty) Ltd22-Jul-08 11:56
professionalVimalsoft(Pty) Ltd22-Jul-08 11:56 
AnswerRe: Create a file chooser. Pin
PIEBALDconsult22-Jul-08 12:13
mvePIEBALDconsult22-Jul-08 12:13 
Questionsocket programming Pin
AlexPizzano22-Jul-08 11:28
AlexPizzano22-Jul-08 11:28 
AnswerRe: socket programming Pin
DavidBoyd22-Jul-08 11:47
DavidBoyd22-Jul-08 11:47 
GeneralRe: socket programming Pin
AlexPizzano22-Jul-08 11:50
AlexPizzano22-Jul-08 11:50 
AnswerRe: socket programming Pin
nelsonpaixao22-Jul-08 12:22
nelsonpaixao22-Jul-08 12:22 
QuestionBlocking Input Pin
Dirso22-Jul-08 11:15
Dirso22-Jul-08 11:15 
AnswerRe: Blocking Input Pin
Vimalsoft(Pty) Ltd22-Jul-08 11:53
professionalVimalsoft(Pty) Ltd22-Jul-08 11:53 
GeneralRe: Blocking Input Pin
Dirso22-Jul-08 12:26
Dirso22-Jul-08 12:26 
Questiondata binding to combobox Pin
bfis10813722-Jul-08 10:58
bfis10813722-Jul-08 10:58 
AnswerRe: data binding to combobox Pin
Vimalsoft(Pty) Ltd22-Jul-08 11:43
professionalVimalsoft(Pty) Ltd22-Jul-08 11:43 
GeneralRe: data binding to combobox Pin
bfis10813723-Jul-08 3:08
bfis10813723-Jul-08 3:08 
GeneralRe: data binding to combobox Pin
Vimalsoft(Pty) Ltd23-Jul-08 5:45
professionalVimalsoft(Pty) Ltd23-Jul-08 5: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.