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
avijit chatterjee
NA
16
0
no overload for method takes gridviewfetch '0' arguments....
Aug 21 2010 8:50 AM
someone please solve this prolem.....i am getting error like "no overload for method takes gridviewfetch '0' arguments...."
i am sending code below....
The class file code is..
public DataTable
gridviewfetch
(int sr_no, string contractor_name, string labour_name, string shift, string entry_time, string exit_time, string location, string job_desc, string start_time, string end_time, string OT_from, string OT_end, string OT_reason)
{
library lib = new library();
DataTable dtdetailview = new DataTable();
dtdetailview = lib.GetconDetail(sr_no);
return dtdetailview;
}
and aspx.cs page code is ....
private void fillgrid()
{
DataTable dttab = cons.gridviewfetch();
if (dttab.Rows.Count > 0)
{
GridView1.DataSource = dttab;
GridView1.DataBind();
}
i am getting error like "no overload for method takes gridviewfetch '0' arguments...." I tried like took 0 argument also.
like
public DataTable gridviewfetch()
{
}
please solve that problem....
thanks....
Reply
Answers (
1
)
Learning System.Net.Sockets
Calculate Sum with textchanged event