Hi I am using html server controls with vb.net. I used sqlDataAdapter and Dataset to connect to tables. I am using sqlCommand to insert records in to database. If there is a better way to insert or update custom fields please tell me. Error: System.FormatException: Input string was not in a correct format Error Code: If Not Text4.Value.Empty Then SqlInsertCommand1.Parameters("@Date_Reg_RI").Value = Text4.Value Date_Reg_RI is a dateTime field in Database sql server2000 and i want to keep it blank. Any quick help is welcome. Regards Varun
U
User 1875985
@User 1875985
Posts
-
How to fill form with blank fields in sql server using vb.net, i m new to .net -
Please Help me, i m new in .net.Hi I am using html server controls with vb.net. I used sqlDataAdapter and Dataset to connect to tables. I am using sqlCommand to insert records in to database. If there is a better way to insert or update custom fields please tell me. Error: System.FormatException: Input string was not in a correct format Error Code: If Not Text4.Value.Empty Then SqlInsertCommand1.Parameters("@Date_Reg_RI").Value = Text4.Value Date_Reg_RI is a dateTime field in Database sql server2000 and i want to keep it blank. Any quick help is welcome. Regards Varun