EId Manager EName Email Mobile Department
Hey how to increment Eid after E10
by selected manager and How to increment E001,E010,E011 like| EId | |||
| Manager | |||
| EName | |||
| Mobile | |||
| Department | |||
Pankaj KumarPosted Oct 20, 2014, 1:52 PM
VulpesPosted Oct 19, 2014, 9:47 AM
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";
VulpesPosted Oct 19, 2014, 9:22 AM
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?
Pankaj KumarPosted Oct 19, 2014, 6:36 AM
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
VulpesPosted Oct 17, 2014, 2:12 PM