Code
EId Manager EName Email Mobile Department
Hey how to increment Eid after E10
by selected manager and How to increment E001,E010,E011 likeCode
| EId | |||
| Manager | |||
| EName | |||
| Mobile | |||
| Department | |||
VulpesRank #55 · 29.2K reputationPosted Oct 19, 2014, 5:22 AM EDT
So are you saying that E9 is being read from the database but, even though the code is getting executed, it still displays E9 rather than E10?
VulpesRank #55 · 29.2K reputationPosted Oct 17, 2014, 10:12 AM EDT
Pankaj KumarRank #2,081 · 692 reputationPosted Oct 19, 2014, 2:36 AM EDT
Main Page Both are see Admin and User but All file control by Admin
just Like 1=>Photo admin allow all permission and check Button Enable all like add,Delete,update,view
2=>But Document admin checked only add User Only add Document not Allow Delete,update ,view.
3=>But Bill section Admin only check View User Only View bill Not Add,Delete,updated.
Pls tail me how to write code logic
VulpesRank #55 · 29.2K reputationPosted Oct 19, 2014, 5:47 AM EDT
To avoid this problem, change the query to the following:
string query = "SELECT TOP(1) EId FROM emps ORDER BY CAST(SUBSTRING (EId, 2, LEN(EId) - 1) AS INT) DESC";
Pankaj KumarRank #2,081 · 692 reputationPosted Oct 20, 2014, 9:52 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts