TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sadiq Kashif
NA
1
806
content reader from database
Aug 11 2014 10:05 AM
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
DataDBDataContext mdc = new DataDBDataContext();
var Movies = from m in mdc.Movies
where m.MoviesCategory == 1
select m;
foreach (Movies item in Movies)
{
Console.WriteLine(item.MoviesName + " : " + item.MoviesCategory);
}
Console.ReadKey();
}
}
}
this codr is not working but allthough it is correct
Reply
Answers (
1
)
Strongly Typed Data (MVC)
COMException (0x800a03ec): Microsoft Excel cannot access the