Hi
still my last question was un-answered which is near same :)
I Created a web-service with connection string (sql), web methods etc . . . I tried to create a web-form on same website The application is working fine but when i tried to access the same web-service from other website to retrieve data ?? its not functioning right ///
check my attachment and resolve this simple issue :(
Loading


Iftikar HussainRank #423 · 5.9K reputationPosted Sep 20, 2013, 2:53 AM EDT
in your code behind
int rno=Convert.ToInt32(HdnRno.Value);
HdnRno.Value=rno;
int rno=Convert.ToInt32(HdnRno.Value);
HdnRno.Value=rno;
Regards,
Iftikar
Iftikar HussainRank #423 · 5.9K reputationPosted Sep 19, 2013, 11:35 PM EDT
What error you are getting? Can you share the error message?
Regards,
Iftikar
SUNIL GUTTARank #1,832 · 810 reputationPosted Sep 19, 2013, 11:59 PM EDT
But my table consists of 6 records .. y its not gng further . . i checked bit by bit everything looks good . Once please you too just look at the code where i consuming webservice under next & previous buttons
ty for reply mate :)
Iftikar HussainRank #423 · 5.9K reputationPosted Sep 20, 2013, 12:08 AM EDT
Regards,
Iftikar
SUNIL GUTTARank #1,832 · 810 reputationPosted Sep 20, 2013, 1:56 AM EDT
ufff code is clear but still problem co-exists dam ... i hate such minor bugs .. goshh
Iftikar HussainRank #423 · 5.9K reputationPosted Sep 20, 2013, 2:06 AM EDT
Put the break point and check.
Regards,
Iftikar
SUNIL GUTTARank #1,832 · 810 reputationPosted Sep 20, 2013, 2:29 AM EDT
Thing i don't understand is why is it going to int rno=0; for each of my next button click ??
any suggestions mate .. i declared rno globally to zero :)
SUNIL GUTTARank #1,832 · 810 reputationPosted Sep 20, 2013, 2:33 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Sep 20, 2013, 2:42 AM EDT
Regards,
Iftikar
SUNIL GUTTARank #1,832 · 810 reputationPosted Sep 20, 2013, 2:49 AM EDT
SUNIL GUTTARank #1,832 · 810 reputationPosted Sep 20, 2013, 3:04 AM EDT
U Made my day better :) cheers .. have a beautiful day mate