Solution for your Question.
Same Questions[
^]
Suggestion:
This is the worst idea i think , Do not try to Display the next Id on the Textbox while on Page Load,If two or three user's open the same page at a time then what will happen?
Each have the Same next Id on the Text Box , So there is a possibility to Insert duplicate Id on Table.