473,394 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Repeater And Adding A Function

Hi
I have a repeater and want to add a function to a field
the function is this


public static void CreateSendertMessage(string server)
{
string s_html;
s_html = server.ToString();

}

*** the s_html is just for example

the repeater is
<asp:Repeater ID="Grd_subpages" runat="server">
<ItemTemplate>
<%# CreateSendertMessage(DataBinder.Eval(Container.Dat aItem, "content_name"))%>
%>
</ItemTemplate>
</asp:Repeater>

the error i am getting is
Compiler Error Message: CS1502: The best overloaded method match for '_Default.CreateSendertMessage(string)' has some invalid arguments
please can anyone help
thanks
hesh
Mar 6 '08 #1
0 761

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Scott Lyon | last post by:
I am having a strange problem. The program is a bit complex, but I'll try to simplify what I can. I apologize if this is complicated, but I think this would still be simpler than posting a bunch of...
0
by: Charlie | last post by:
Hi: I'm using the Repeater control to display one-to-many relationship between Customer, Orders and Order Items. To do this, I bind the control to Customer table to show customer data, then...
6
by: simon | last post by:
I have <asp:repeater> with Item template: <ItemTemplate> <%# writeLine(DataBinder.Eval(Container.DataItem, "danIme"),DataBinder.Eval(Container.DataItem, "timeStart"))%> </ItemTemplate> In my...
8
by: Matthew Curiale | last post by:
I am creating an app that lists clients of a company for management of different attributes for that company. The first page is a listing of the companies currently in the database. I have my...
4
by: TheBurgerMan | last post by:
Hi all. I have an array of objects (Let's call it Object A) and each of these objects has an array of other objects (Let's call these Object B) in it. I can successfully repeat through Object A's...
2
by: Steve | last post by:
I am having issues adding a new row in my repeater when my repeater's table cells reach a certain number. what i'm doing is adding a predetermined number of color cells from the database and...
5
by: Brad Baker | last post by:
I am trying to make a "tabbed" interface by iterating through a dataset with a conditional statement. For example: ...
3
by: NullQwerty | last post by:
Hey folks, I've got a DataGrid that has gotten a little out of control and really slow because of its complexity (bunch of Template Columns too). For performance reasons, I'm looking to change...
4
by: Nathan Sokalski | last post by:
I have a Button that uses the PostBackUrl property which is inside a Repeater template. When I get to the Page that is being posted to (the one specified in PostBackUrl), I am having trouble...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.