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
pradip makavana
1.2k
227
2.3k
Merge char values
Nov 11 2013 1:55 PM
i have one integer number which is unique userid for my table ,i have generate it dynamically
like following
first i get the currunt date ans concatinate it in to the string
DateTime _date = DateTime.Now;
int day = _date.Day;
int month = _date.Month;
int year = _date.Year;
int i=0;
string uid = "" + day + "" + month + "" + year + "" +
++i
+ "";
but insted of ++i i want auto generated value based on previous inserted id,,,
so that i first fetch previous id from database table
and i got like this
11112013
04
red is date and green is auto generated number
so now how can i remove first 8 digit so that perform addition operation on remain digits.......
Reply
Answers (
1
)
C# button extract embedded files
List
_list=new List
Sorting