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
Atul Rokade
NA
141
43.9k
how to auto increment image name as 1,2 and so on
Sep 16 2016 3:26 PM
Hi all,
Iam creating one application where data is save in jpg format with customer name+today datye but problem is when same customer detail im enter previous image is remove i want save data in ajay17-09-2016(1),ajay17-09-2016(2),(3) format
Bitmap bitmap = new Bitmap(Screen.PrimaryScreen.Bounds.Width,
Screen.PrimaryScreen.Bounds.Height);
Graphics graphics = Graphics.FromImage(bitmap as Image);
graphics.CopyFromScreen(0, 0, 0, 0, bitmap.Size);
var date = DateTime.Now.ToString("dd-MM-yyyy");
string format = txtname.Text +=date;
bitmap.Save(@"E:\\Project backups\\Medical\\Sales_receipt\\" +format + ".jpg", System.Drawing.Imaging.ImageFormat.Jpeg);
format ="";
this.Close();
Form3 f = new Form3();
f.Show();
Reply
Answers (
2
)
In mvc "RouteTable" data store under which Event of appl. ?
Download Excel file on button click in windows form