I am still unsure about what you commented. So I just need to insert this chunk into my code? In addition, int value represents which variable of mine? I am actually quite new to programming so please help me.
Returning things like DataTable is generally a bad idea, especially if your client needs to be lean and use minimal data resources. When you return a DataTable you get a lot of stuff returned, when you are normally just interested in the data.
What people normally do is define a class object that represents the bits of data you want to return. So if you want to return a Customer table you'll create a Customer class with properties like ID, FirstName, Surname etc, then in your web method you create a List<customer> and for each row of your datatable you'll create a Custom object, populate the properties from the fields, add it to the List<customer> and then return the List. This will greatly reduce the amount of data sent to your app, and your app now just sees a simply collection with just the data it needs.
Thank you very much for your reply. Can you tell me how I should make Android could handle List< Customer >? A sample code would be great. Moreover is it a good idea to send List< Customer > and List< Order > at the same time?
Thanks a lot.
I have developed win form application. I have MDI form and I have created many child forms. When I click ribbon control tab child forms rendering not properly. when it's showing some shaking and blurring appeared after its showing properly. It is take some time.
Not enough information. We have no idea what you mean by "When I click ribbon control tab child forms rendering not properly "when it's showing some shaking and blurring appeared after its showing properly. It is take some time."
We also have no idea what you're code looks like and what its doing.
Working around a puzzle slider game, using picturebox and tag properties. After the form has reshuffled the images, I set a function void IsWin() using if statement to check the arrangement upon completion and display an output. but after arranging the scrabbled images the message box in the if statement doesn't pop up.
I will be glad if some anyone can help me identify what i am doing wrong. Thank you