Retrieving the data from database using webservice dataset that time display the error

Posted by Sekar.C under ASP.NET on 3/3/2012 | Points: 10 | Views : 2533 | Status : [Member] | Replies : 1
sir,

Retrieving the data from database using webservice dataset that time display the error
there is no row at position 0.

My code
localhost.WebService s = new localhost.WebService();

DataSet ds = s.serverstatuspasient1(nymbleticket, Servername);

string sts = ds.Tables[0].Rows[0].ItemArray[0].ToString();

regard
sekar.c

Regards
Sekar.c



Responses

Posted by: Vuyiswamb on: 3/3/2012 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
To is a repeat of the post i answered above

Thank you for posting at Dotnetfunda
[Administrator]

Sekar.C, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response