|
I am doing a project for school and am in need of some cool web services anyone know of any?
Tim St.Martin
|
|
|
|
|
Hi there,
Do you mean the cool web service in terms of the functionality or implementation? Or what else do you mean? Does Google bring up anything? Anyway, the link below can get you started:
Web Service Developer Center[^]
|
|
|
|
|
|
how to open a word document in a web browser. OR to opening a word document in a separate window.
Deepak Anish
Computer Programmer
Maxumise Fiji Ltd
Suva, Fiji
|
|
|
|
|
Just link to the document. It will either open in the browser, in a separate window or in MS Word, depending on what is installed on the client computer and how the browser is set up to handle that file type.
You should put something next to the link, like a document icon, to show the user that it will open a document, and not just a web page.
---
b { font-weight: normal; }
|
|
|
|
|
YEP..that is ok but i want the word document to be in the browser where the user can type in that document and save it directly to the database either by clickiing a save button OR by saving for the menu bar.
Deepak Anish
Computer Programmer
Maxumise Fiji Ltd
Suva, Fiji
|
|
|
|
|
Word can't save to a database. You would have to put the file in a folder in your web where the user has write access, for the program to be able to save the file back.
---
b { font-weight: normal; }
|
|
|
|
|
what if we save that as an object (OLE) in the database .....
Deepak Anish
Computer Programmer
Maxumise Fiji Ltd
Suva, Fiji
|
|
|
|
|
Word still can't save to a database or upload a file. When the user has saved the file you have to get it and put it in the database.
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
I'm new to ASP.NET and have built an ASP.NET (in C#) program that checks to make sure the characters that are entered into a textbox is a decimal.
decimal.Parse(textbox.Text);
The try/catch statement fails if this is entered: 88.95
but this does not: 88,95
Is it something that I'm doing wrong, or has the hosting company configured ASP.NET to a European standard?
Thanks,
Ron
|
|
|
|
|
myNameIsRon wrote: has the hosting company configured ASP.NET to a European standard?
They probably have, judging from your results. You shouldn't rely on the configuration of the server, though. You should provide a CultureInfo or NumberFormatInfo to the parsing method.
Don't use the decimal data type unless you have some special reason. The decimal data type is not supposed to represent a normal floating point number. Use the double data type.
Also use the double.TryParse method to parse the string, to avoid using exceptions.
---
b { font-weight: normal; }
|
|
|
|
|
Thanks Guffa for the great info!
I did what you said (NumberFormatInfo) and it works great now!
I'll study up on the TryParse... thanks again.
Ron
|
|
|
|
|
I am new to asp.net please guide me what is diff between asp.net and asp.net2.0
|
|
|
|
|
ASP.NET 2.0 is the current version of the ASP.NET web application platform. Among the features it adds:
- a host of new server controls, including data source, login, navigation, and web part controls
- support for master pages, themes, and skins to assist developers with page layout
- a full membership API to support authentication and authorization requirements typical of commerce and community web sites
- a number of caching improvements
- a number of language enhancements for VB.NET and C#
- a bunch more stuff
Take a look at the quickStart tutorials on http://www.asp.net[^] to get you started.
|
|
|
|
|
Error = ; expected before or after word row, on line marked with
The code is:
private void DataGridEditUser_UpdateCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
//Find the record that is to be edited
int id = (int)this.DataGridEditUser.DataKeys[e.Item.ItemIndex];
this.oleDbDataAdapterEditUser.Fill(this.dataSetEditUser);
:(this.dataSetEditUser.tblUser row = this.dataSetEditUser.tblUser.FindByUser_ID(id);
//Edit the record it
TextBox aTextBox = (TextBox)(e.Item.Cells[1].Controls[0]);
row.UserName = aTextBox.Text;
//Ipdate the record in the database
this.oleDbDataAdapterEditUser.Update(this.dataSetEditUser);
this.DataGridEditUser.EditItemIndex=-1;
this.DataGridEditUser.DataBind();
}
Tried different things but can't work it out. Any help appreciated.
|
|
|
|
|
how can i create and send mail
Qamar
|
|
|
|
|
System.Web.Mail has everything you need.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Hi,
Mail code using SMTP mail server,
using System.Web.Mail;
//Code to send mail
MailMessage mail = new MailMessage();
mail.To = "SentPerson@yahoo.com";
mail.Subject = "New Mail Test";
mail.Body = "Test mail sent";
mail.BodyEncoding = Encoding.ASCII;
mail.BodyFormat = MailFormat.Html;
SmtpMail.SmtpServer = "www.servername.com" //smtp server
mail.From = "GetPerson@yahoo.co.in";
SmtpMail.Send(mail);
Hope this help u...
|
|
|
|
|
we are trying to develop a folder tree which will came from left side of the browser window. something life in vb will click on toolbox button and it will apper and if we again click it will again minimize.
any one have idea about this how to do this?
vipin desai
|
|
|
|
|
Look at the TreeView control.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Hi all,
I need some ideas or thoughts:
I have a GridView I am populating from a cached DataView with sorting and paging.
My pager row is a custom template with a drop-down list: The user selects the page of the ddl and they are posted-back to that particular page using the cached DataView and a filter.
This worked fine on it's own, in both IE and Firefox.. No problems there..
but as soon as I placed the GridView in a content control in a C# Content page, which is called into the Master page ContentPlace Holder, the Paging NO LONGER functions in Internet Explorer, yet the paging works fine in Firefox.. Also, the sorting works like a charm in both IE and Firefox, in the Master page configuration.
I even tried setting a breakpoint while attaching to the IE process (w3wp.exe) and guess what: the breakpoint isn't getting hit!!
Is their a difference in the event model when using a Master Page, and only in IE?? anyone have any thoughts???
Thanks!
-Eric
Practice sesquipedalianism!
|
|
|
|
|
Hi there,
What do you mean by it's not working in IE? Does that mean the dropdownlist in the pager template does not post the page back? Or the event gets fired and the code gets executed but the page index does not change?
|
|
|
|
|
The event seems to never fire, at least I cannot get it to break in VS when attaching to the process. The ddl has it's AutoPostBack set to true, and it works fine without the Master page.
Practice sesquipedalianism!
|
|
|
|
|
Hi,
Go to kynou.com and try to use the search keyword GridView. I found a tutorial that talks about your question.
I hope I helped.
sfdsfsdf
|
|
|
|
|
I looked at this kynou site but the tutorial was unbearably basic and has no content about rendering custom pager controls. Are you sure this is where you saw it??
Also, an update.. the standard paging controls work, if I remove my custom pager row template, and I am also seeing the same behaviour with imagebutton controls as well, in multiple IE browsers.
Any thought appreciated.
-Eric
|
|
|
|