|
I have solved out this problem
i can transact with my paypal account and my code is working properly..
if anyone wants the solution then feel free to contact me....
bye...
thanks everyone for looking this problem.
|
|
|
|
|
Hello friends,
I have a table with fields subject, having different values.
i want to show these values on the different labels.
Such as if i am having subject as math, eng, science etc..
Label1.text should be math.
Label2.text should be eng.
Label3.text should be science.
plzz help me there may be any no of subjects.
How to do this????
Thanks in advance...........
Deepak Nigam
|
|
|
|
|
If the subjects are coming from a table, the most likely way to render this is with a repeater.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hello frnd
I have some value in drop down list box(like 1,2,3,4). if i change the selected text value i want to show month (like jan,feb,..) value in text box,which event i want to write code?
|
|
|
|
|
onchange event.
dropdownload.Attribute.Add("onchange", "yourJSfunction();")
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
initially i was using the selectedindexchange funciton , now it improved the access time .Thanks...
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Sonia Gupta wrote: now it improved the access time
True. It is because now you have overcome and have avoided a costly server roundtrip and doing it on the clientside itself.
|
|
|
|
|
Yes sir
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
ps.srinivasan wrote: which event i want to write code?
DropDownList1_SelectedIndexChanged
if (DropDownList1.SelectedValue == "1")<br />
{<br />
TextBox1.Text = "Jan";<br />
}
|
|
|
|
|
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
quantityTotal += ((int)(Eval("Quantity")));
priceTotal += ((decimal)(Eval("SubTotal")));
}
}
there is a compilation mistake.
i think i should use the <%# (inline binding) along with this Eval("Quantity") at opening and closing
how to do this
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
use like this
<%# Eval("Quantity") %>
Devjit Das.
|
|
|
|
|
i am currently in the rowe bound function of grid view in code behind.
the synatx error is invalid character #
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
what u want to do . just to convert in integer.
(int)(quantity)
will convert in integer.
Devjit Das.
|
|
|
|
|
i was trying to know the basic differences between
eval("abc")
databinder.eval(container.dataitem,"abc")
as in the item template and edit item template the formmer one is working .
i am not being able to understand in which condition , i should use which one, the former one , just making the syntax easy , i think.
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
go through this link
http://forums.asp.net/p/984156/1264782.aspx
or u have all ready visit then u must get the difference.
Devjit Das.
|
|
|
|
|
helloooo i am using this query
SELECT Format([StartDateTime], "dd mm yyyy") as StartDate, Format([StartDateTime], "dddd") as Day
FROM Messages;
output of this query:-
StartDate Day
StartDate Day
13 11 2007 Tuesday
13 11 2007 Tuesday
14 11 2007 Wednesday
14 11 2007 Wednesday
14 11 2007 Wednesday
14 11 2007 Wednesday
14 11 2007 Wednesday
now i want to count starttime and out put like this Format(all things in MSaCCess)
StartDate – Day - ChatCount
14 Nov 2007- Wednesday – 5
13 Nov 2007- Tuesday – 2
Piyush Vardhan Singh
|
|
|
|
|
u have all the query. just check in Archiviewer u will get the same query.
Devjit Das.
|
|
|
|
|
but that in sql server and its in ms access syntax is very diff between them
Piyush Vardhan Singh
|
|
|
|
|
just try to use group by or some related to access to get calculate.
Devjit Das.
|
|
|
|
|
try to use this one can solve ur problem.
SELECT Format([StartDateTime], "dd mm yyyy") as StartDate, Format([StartDateTime], "dddd") as Day,
Count(*) as ChatCount
FROM Messages where 1=1 group by Format([StartDateTime], "dd mm yyyy")
Devjit Das.
|
|
|
|
|
Eval is just syntactic sugar, it's just a shortcut that does the same thing. I got the impression you were trying to do a <%# block in your code behind, you can't - that block is to tell the aspx that it's code, you're already in the code behind and don't need it.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I guess you are doing this in code behind. It's not possible to do this on code behind. You can use the GridViewRowEventArgs object e , and access the cell value instead.
|
|
|
|
|
how to use Distinct in ms access
i want to count distinct starttime from table
Piyush Vardhan Singh
|
|
|
|
|
Microsoft Access Team Blog: Writing a Count(Distinct) Query in Access[^]
SELECT Count(*) AS N<br />
FROM<br />
(SELECT DISTINCT starttime FROM yourtable) AS T;
i haven't tested it yet but i hope it gonna work..
btw, This form is for ASP.NET question only.. Please don't post the question related to database here. Thank you.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
it show all starttime count. its not show according different starttime count
Piyush Vardhan Singh
|
|
|
|