SqlDataSource ERROR: Function or stored procedure has too many arguments passed. [modified]
-
hi,
i m facing problem in gridview updating. I m using sqldatasource to select and update the record.
In select of sqldatasource i m passing three parameter and in update i m passing 4 parameter. when i run my program, the select in sqldatasource works perfect. but when i update that record...its throws error...
" Function or stored procedure has too many arguments passed". Even though i m getting this error and my page crashes...i m still able to update the record, this i noticed when i stop the program after webpage crash and then run the program again. but i dont want my webpage to crash.Here is my ASPX file code...
-
hi,
i m facing problem in gridview updating. I m using sqldatasource to select and update the record.
In select of sqldatasource i m passing three parameter and in update i m passing 4 parameter. when i run my program, the select in sqldatasource works perfect. but when i update that record...its throws error...
" Function or stored procedure has too many arguments passed". Even though i m getting this error and my page crashes...i m still able to update the record, this i noticed when i stop the program after webpage crash and then run the program again. but i dont want my webpage to crash.Here is my ASPX file code...
Way too much code: you need to cut it down so that only the pertinent fragments are here. If anyone that answers needs more they'll ask.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me
-
hi,
i m facing problem in gridview updating. I m using sqldatasource to select and update the record.
In select of sqldatasource i m passing three parameter and in update i m passing 4 parameter. when i run my program, the select in sqldatasource works perfect. but when i update that record...its throws error...
" Function or stored procedure has too many arguments passed". Even though i m getting this error and my page crashes...i m still able to update the record, this i noticed when i stop the program after webpage crash and then run the program again. but i dont want my webpage to crash.Here is my ASPX file code...
-
hi mominafiz, can you post complete code of so that it is clearer to understand why your page is crashing? HTH
Jinal Desai - LIVE Experience is mother of sage....