15,896,606 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Khadar Babu Salijamala (Top 15 by date)
Khadar Babu Salijamala
18-Oct-15 6:59am
View
Validation failed for one or more entities. See 'EntityValidationErrors' property for more details... it was error messsage
Khadar Babu Salijamala
18-Oct-15 6:40am
View
dbentityvalidationexception was unhandled this was the error message ,how can i resolve this
Khadar Babu Salijamala
18-Oct-15 6:34am
View
An unhandled exception of type 'System.Data.Entity.Validation.DbEntityValidationException' occurred in EntityFramework.dll
Khadar Babu Salijamala
18-Oct-15 6:34am
View
An unhandled exception of type 'System.Data.Entity.Validation.DbEntityValidationException' occurred in EntityFramework.dll
Khadar Babu Salijamala
18-Oct-15 6:34am
View
An unhandled exception of type 'System.Data.Entity.Validation.DbEntityValidationException' occurred in EntityFramework.dll
Khadar Babu Salijamala
18-Oct-15 5:39am
View
rError 1 The best overloaded method match for 'System.Data.Entity.DbSet<efbatchjob.product>.Add(EFBatchJob.Product)' has some invalid arguments C:\khadar\EFBatchJob\EFBatchJob\BatchJob.cs 125 29 EFBatchJob
Khadar Babu Salijamala
18-Oct-15 5:27am
View
its working....but i have another question...how to insert by using entity frame work . my code is
using (sampleDbEntities sd = new sampleDbEntities())
{
var t = new AccountDetails
{
Product_Name = d.Product_Name.ToString(),
Product_Name1 = d.Product_Name1,
Product_Name2 = d.Product_Name2,
Product_Name3 = d.Product_Name3,
Product_Name4 = d.Product_Name4,
Product_Name5 = d.Product_Name5,
Product_Name6 = d.Product_Name6,
Product_Name7 = d.Product_Name7,
Product_Price = d.Product_Price,
Product_Price1 = d.Product_Price1,
Product_Price4 = d.Product_Price4,
Product_Price2 = d.Product_Price1,
Product_Price3 = d.Product_Price1,
Product_Price5 = d.Product_Price5,
Product_Price6 = d.Product_Price6,
Product_Price7 = d.Product_Price7,
};
sd.Products.Add(t);
sd.SaveChanges();
its getting error in sd.products.add(t);
showing error is best overloadedmethod must match
Khadar Babu Salijamala
17-Oct-15 10:25am
View
please help me
Khadar Babu Salijamala
17-Oct-15 10:24am
View
static void Main(string[] args)
{
List<string> lines = System.IO.File.ReadAllLines(@"C:\khadar\Demo.mnk").ToList();
var firstEightLines = lines.Take(7).ToList();
var secondEightLines = lines.Skip(8).Take(8);
foreach (var line in firstEightLines)
{
var content = line.Split(',');
var col1 = content[0];
var col2 = content[1];
var col3 = content[2];
// var col4 = content[3];
//var col5 = content[4];
//var col6 = content[5];
//var col7 = content[6];
//var col8 = content[7];
// var3 = content[2];
Console.WriteLine(line);
Console.ReadLine();
}
Khadar Babu Salijamala
17-Oct-15 10:24am
View
its not taking second 8 lines and also its taking first 7 lines only
Khadar Babu Salijamala
17-Oct-15 10:05am
View
Results View = Expanding the Results View will enumerate the IEnumerable
it was the error
Khadar Babu Salijamala
17-Oct-15 9:36am
View
its not working.. it showing all the columns, i want only 8 columns in the text file
Khadar Babu Salijamala
17-Oct-15 9:24am
View
it showing only first line
Khadar Babu Salijamala
17-Oct-15 8:25am
View
its not working...thanks for your reply
Khadar Babu Salijamala
17-Oct-15 7:12am
View
when i reading the data from console application . it reads all the data. but i want to read first 8 columns and second time next 8 columns in note pad
Show More