Dear Freinds I face a problem that if i make a datattype in sql server of Integer and then use it in linq to sql query it give error of "specific cast not valid" and when i change datatype into varchar the linq to sql query work fine

one more thing how to use linq to sql query to make crystal report

Recommended Answers

Sounds like you changed it from varchar to integer and didn't change the DataContext to match.

Jump to Post

All 2 Replies

Sounds like you changed it from varchar to integer and didn't change the DataContext to match.

how to change datacontext varchar into integer

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.