|
Don't use words like urgent in your post or subject line. That's just flat out rude.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I especially love when it's not so urgent for them to bother replying to people who try to help.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Yeah, I figure those types are ones who put out their inquiry and hope for an instant answer. After all, isn't the Internet supposed to be instant information at one's fingertips
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I'm just curious what it is they do, if they don't repost, for them to be gone and not willing to respond ? I think it's more the case that I tend to ask questions they can't answer so they sit tight for code they can copy and paste.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
this is my repeter code
<asp:Repeater ID="rptrr" runat="server">
<HeaderTemplate>
<table>
<tr>
<th>
Language</th>
<th>
Description</th><th>Title</th>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td>
<asp:Label runat="server" ID="Label1" Text='<%#DataBinder.Eval(Container, "DataItem.res_Language").ToString() %>' />
</td>
<td>
<asp:Label runat="server" ID="Label2" Text='<%#DataBinder.Eval(Container, "DataItem.res_Description").ToString() %>' />
</td>
<td>
<asp:Label runat="server" ID="Label5" Text='<%#DataBinder.Eval(Container, "DataItem.res_Title").ToString() %>' />
</td>
<td >
<a href="EditResources.aspx?id=<%#DataBinder.Eval(Container, "DataItem.res_ID").ToString() %>">
<asp:Image ID="Image1" runat="server" ImageUrl="~/Images/icon_edit.gif" /></a>
</td>
<td >
<asp:Image ID="Image2" runat="server" ImageUrl="~/Images/icon_delete.gif" />
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>
please let me know the code to delete a row from the repeater whn im clicking on the image button "delete"
|
|
|
|
|
Well, obviously, an image won't to it. An imagebutton, on the other hand....
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi guy i have this problem
When i am working in my own pc. I have not problem converting from String to dataTime
using this code
Convert.toDateTime(TextBox10.Text).toString("MM/dd/yyyy") and it seem fine with it. But when i transfer to server side. This error occur later. I am using ASP.net 2.0
Any reason or tips to resolve this error?
Thanks Guys
KaKaShi HaTaKe
|
|
|
|
|
Gee - it's urgent. Great.
Probably your locale settings differ, so 12/20/2008 is a valid date on one and not the other.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Ok so u mean i have to go to the regional and language setting in the control panel to do the time setting to MM/dd/yyyy?
KaKaShi HaTaKe
|
|
|
|
|
yes. And write code that catches that exception and tells the user their date is not valid, and tells them what format to use.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
But Bro i have set the regional setting to the (dd/MM/yyyy) in the server as well
how come still cannot?
KaKaShi HaTaKe
|
|
|
|
|
If they are both the same, then it makes no sense at all, assuming the input is the same. Have you written code to tell you what the string is that won't parse ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Ya.... In the GUI in display 31/08/2008 in textbox
then i do the convert.toDatetime("31/08/2008").toString("MM/dd/yyyy")
They say the string is not recognized as a valid DateTime in the server but in my local host work prefectly fine bro
KaKaShi HaTaKe
|
|
|
|
|
OK, so there is a setting different between the server and the client.
Why are you performing this operation at all ? Why are you asking for DD/MM/YYYY and then converting to MM/DD/YYYY ? Why not have seperate text boxes to make it clear which is which, then build a datetime from that instead of relying on the server settings ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
But bro something the server work but sometime the server don't very weird right?
KaKaShi HaTaKe
|
|
|
|
|
Not at all. The date 12/12/2008 and any dates with lower numbers, will work regardless of the format on the machine. It will just get the wrong result, unless DD and MM are actually the same, as per my example.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
No that's not what i mean bro..... Sometime my value in ths textbox right is this 31/08/2008
and when i Convert.toDatetime(Textbox1.Text).toString("MM/dd/yyyy") it works and then sometime it don't. When it work it works but it don't , it don't is like there's a schedule for it to work and not to work... Thta' weird man
KaKaShi HaTaKe
|
|
|
|
|
Are you *sure* the correct value is hitting the textbox in this instance ? Have you tried a try/catch that sets the value you're using into a label so you can avoid the crash and see what the string was ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Christian Graus wrote: it's urgent
Geeze, another one....
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Sorry Bros Will take not next time
KaKaShi HaTaKe
|
|
|
|
|
Don't use words like urgent in your subject line or in a post. People help when they can, not when you are under some deadline.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Yup sorry man.... will take note...... so you have any solution regarding my problem?
KaKaShi HaTaKe
|
|
|
|
|
Can anyone help me use the RateWS.wsdl webservice in ASP.net
How can I resolve this error message?
The remote name could not be resolved: 'wwwcie.ups.com'
Trace Tack....
57:[return: System.Xml.Serialization.XmlElementAttribute("RateResponse",
Namespace="http://www.ups.com/XMLSchema/XOLTWS/Rate/v1.1")]
58:public RateResponse ProcessRate([System.Xml.Serialization.
XmlElementAttribute(Namespace="http://www.ups.com/
XMLSchema/XOLTWS/Rate/v1.1")] RateRequest RateRequest) {
Line 59:object[] results = this.Invoke("ProcessRate", new object[] {
Line 60: RateRequest});
Line 61: return ((RateResponse)(results[0]));
changed or added......
I added a reference to the RateWS.dll
I add this to the config file
add key="AccessLicenseNumber" value="xxxxxxxxx"
add key="Password" value="xxxxxx"
add key="UserId" value="xxxxxxxx"
add key="RateWSs.RateWS"
value="https://wwwcie.ups.com:8080/webservices/Rate"/
I changed these two elements in the wsdl file
<soap:operation soapaction="http://wwwcie.ups.com/ <br mode=" hold=" /> webservices/RateBinding/v1.1" style="document" xmlns:soap="#unknown">;
<soap:address location="https://wwwcie.ups.com/webservices/Rate" xmlns:soap="#unknown">;
xxx
modified on Friday, August 15, 2008 9:07 AM
|
|
|
|
|
Can't you wait for some time. You have just posted the same question.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
No, he probably expects someone to drop what they are doing and figure it out for him.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|