Bineesh  Viswanath

Bineesh Viswanath

  • NA
  • 1k
  • 760.9k

DataGridView CellDoubleClick Event Error

Jan 5 2014 11:26 AM
Sir, I am in the midst of a CellDoubleClick event of DataGridView in ADO.NET Program.

I want the function, when I perform CellDoubleClick Event of DataGridView, the concerned data to be pass into the concerned  controls. Here how they would be:-



But none of the data is passing to the concerned controls.

Thus  Getting an Error. Here the error;-



Please take a look to the Sql Server Stored Procedure to do this function:-

ALTER PROCEDURE  CustomerView
@customerId int
AS

     
     SELECT     Name, Address, DOB, motherTongue, Nationality
     FROM    tbl_Customer where customerId=@customerId


Answers (1)