Posted on: 5/17/2011 11:10:27 AM | Views : 214

Hi
Any one can convert this code from VB.net to C#
 
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) SqlDataSource1.InsertParameters("Name").DefaultValue = CType(GridView1.FooterRow.FindControl("txtName"), TextBox).Text SqlDataSource1.InsertParameters("Email").DefaultValue = CType(GridView1.FooterRow.FindControl("Email"), TextBox).Text SqlDataSource1.Insert() GridView1.DataBind() End Sub thanks for your help
...

Go to the complete details ...