Nipendra
A few Niceties first
I don't get paid to help out here, my efforts and the efforts of all the others who help out here is purely Voluntary
I don't appreciate being asked to "please now solve it "
If you want to pressure someone to help you you have every right to pay somebody.
Second, Your VBA requires access to a DB which you haven't provided and so the code can't be ran
Thirdly, You refer to TextBox1 above,. but the VBA Form in the file only has Textbox3 and Textbox4
Textbox3 is to the Right of the Employee Name and Textbox4 is underneath Employee name
At the moment when you click on Save (CommandButton1) it:
Sets abc = "insert into emaster(eid,ename) values(" & TextBox4.text & ",'" & TextBox3.text & "')"
Set rs = cn.Execute(abc)
Me.TextBox3 = Me.ListBox1.Column(0)
Me.TextBox4 = Me.ListBox1.Column(1)
Can you tell us what is meant to happen when you click on save on CommandButton1 (Save)