Saturday 1 September 2012

No mapping exists from object type System.Web.UI.HtmlControls.HtmlInputText to a known managed provider native type.

    cmd.Parameters.Add("@stud_rollno", txtstudroll);
              cmd.Parameters.Add("@paidfee", txtpaid);
              cmd.Parameters.Add("@remain_fee", txtremain);

that is incorrect that why you are getting error like that.
now to corect it

cmd.Parameters.AddWithValue("@stud_rollno", txtstudroll.Value);
               cmd.Parameters.AddWithValue("@paidfee", txtpaid.Value);
               cmd.Parameters.AddWithValue("@remain_fee", txtremain.Value);
Share This
Previous Post
Next Post

FYJC XI standard online admisson Process and declaraton of Merit list . Cut off List For prevous year also . 10 Th Results onlne declaraton Maharashtra Region .

0 comments: