hi
while resetting text box value to blank it gives error

txt_cash_acc.text=''
Error : conversion from type 'DBNull' to type 'String' is not valid.//

thank you in advance

It should be txt_cash_acc.text="" or txt_cash_acc.text= string.empty

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.