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
Abhilash J A
524
2.4k
600.8k
How can I use foreach loop in c# ?
Dec 20 2016 10:53 AM
Hello everyone,
I have list of this items. The
jpgFilesNames
object contain,
And want to save this items to table.
But now saving like this,
I want to save 001,002 to like that...
I have tried this.
foreach
(var item
in
jpgFilePath)
{
foreach
(var item1
in
jpgFilesNames)
{
parrentName = item1.Split(
'_'
)[0];
childName = item1.Split(
'_'
)[1];
objTble_Documents.Parent_File_Name = parrentName;
objTble_Documents.Child_File_Name = childName;
objTble_Documents.FilePath = item;
service.AddScanDocuments(objTble_Documents);
}
}
How can I do that?
Reply
Answers (
1
)
log4net nog logging
where we are using all access specifiers in real time