TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Muhammad Mateen
NA
1
759
how to assign a default value to an ID using c#
Apr 23 2016 6:23 AM
i have two methods first one is getlisting(string url,int ID) i am having ID here from data table from database which has status zero and ID is greater than 1, now i want to pass this parameter to another class's method named updatevalue(int ID), which i have assigned by making object of this class. now i want to make this ID's value equal to zero, so my datatable won't select records of ID having zero value, so can anyone give me the loop of any condition with which i can assign zero value always to that ID, and one more thing there will be a different value always in getlisting method, all i want to do is to make that id assign a value zero in update method via code, i don't want to hard code it, so please tell me any condition if else or which ever will work
Reply
Answers (
1
)
billing code for sent urgently sir....
After Web_Reference added get error