problem wif inserting information into database
SqlDataSource1.SelectParameters(
"Hotel").DefaultValue = TextBox1.TextGridView1.DataBind()
SqlDataSource1.Insert()
what i wanna do is to insert information to my database
the user can type the hotelname in the textbox1 and when the user press the ok button the hotelname that the user type in should appear in my database
i wrote the fllowing codes and but got the error sayin "Object reference not set to an instance of an object"
wats tat ?

