|
Try to use this
string from = "from@from.com";
string to = "to@to.com";
string subject = "UtilMailMessage001";
string body = "UtilMailMessage001 - success";
System.Web.Mail.SmtpMail.SmtpServer = "MyMailServer";
System.Web.Mail.SmtpMail.Send(from, to, subject, body);
Regards,
Mark
|
|
|
|
|
Hi, I got stuck in a problem and don't know what to do. In my aspx form. I am displaying a ModalPopup window(Ajax) when a I click on a link button. It was working fine till now when i added a flash image in the center of my form. So the form is loaded and flash image is loaded too but when i do click on the link button the background got disabled which is correct and that's how the modalpopup works but the modalpop window is now behind the flash object i want it to be on the top of the the image whenever i do click on a link button .
Please help
Thanks
|
|
|
|
|
Hai,
decrease the zIndex property of flash container and also keep the focus on new modal box.
asithangae
|
|
|
|
|
Hi, thanks for replying. Can you please provide me some example as i am a newbie. how can i decrease zindex of my flash object. How can i decrease zindex in my webform for flash.
Thanks
|
|
|
|
|
|
Thank you so much that's exactly what i was looking.
|
|
|
|
|
i want to create a shopping cart in asp.net 2.0,the problem is that i want to create aspx or html pages dynamically agaisnt each product or item or category.
Like if have three products in Cat1, i wnat three html pages pointing to the same link(to the same shopping cart), please let me know any helpful link or practical expample of that.
To get better reults and good speed i want to use this technique.
plz suggest.
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
You'd mostly like do this by creating an ASPX that takes a product ID and generates it's layout using server controls that are databound to data on the product from your database.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hello,
I want to send SMS to any mobile across the globe. Can somebody help me in this.
Thanks & Regards,
S Kumar
|
|
|
|
|
Try this[^]
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thanks a lot. I will check this link.
Regards,
S Kumar
Thanks & Regards,
Kumar
|
|
|
|
|
Hi friends,
I need to convert my html files to pdf on the fly.
basically i need to convert news letter to pdf file using asp.net
i searched on net but didnt find any free control
if any one of you have done this conversion please help me
thanks
Naveed Kamboh
|
|
|
|
|
Your only real chance of a free control would be source forge, if CP doesn't have anything.
It does look[^] like there are a couple of options, tho.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi
I have created a webservice with a simple function HelloWorld. It works fine in the client application.
How do I change the default url of the webservice that points to the asmx file? I know that I can change in Reference.cs in the client application. But I want to set the default url other than localhost to point to a server where my asmx file is.
I am using VS 2003, C#.
Thanks a lot in advance
Muthu.
|
|
|
|
|
Hi all,
I have a datagrid which contains an expertise column and i also store it in an arraylist. I want that the arraylist be sorted accordingly when the expertise column is sorted.How do i achieve this?
Thanks in Advance
|
|
|
|
|
In C# 2.0, you can write a function object that specifies the sort order. I'm not sure if an arraylist allows this, I doubt it. This means you'll have to do your own sort.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
i hav followed all the procedure to download ajax toolkit but givs an eror relating System.Web.extension .. ys that???
|
|
|
|
|
It's hard to say. HAve you installed the core ajax toolkit, or are you trying to install the controls and don't have the toolkit installed ? Where do you get this error, and waht is it's exact text ? Have you tried typing in the EXACT error message in to google ? That often yields helpful results.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I have a datalist bound to the following sql data source;
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:RemoteSqlServer %>"
SelectCommand="SP_ProductSearch" SelectCommandType="StoredProcedure" SortParameterName="SortParam">
<SelectParameters>
<asp:Parameter Name="IntroducerID" Type="Int32" DefaultValue="0" />
<asp:QueryStringParameter Name="PermutationID" QueryStringField="Permutation" Type="Int32" />
</SelectParameters>
</asp:SqlDataSource>
The two provided parameters are required by the stored procedure. There is a third parameter required named SortParam which is used to define how the results are ordered. How can I alter this on the click of various button inside the header of the datalist. I can't seem to find out a way how. Thanks
|
|
|
|
|
The expectation with data sources is that you'll select all the data, and then the control will handle sorting. You can probably still do this. To pass this parameter, you probably need to write the code to call the proc, etc.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
The stored procedure that is used to populate the data source has a parameter 'Sort Param' that is used to sort the results. Therefore upon click events within the datalist, which I have already built and are triggering fine, I wish to simply change the parameter that orders results and rebind the source to the datalist. Surely this simple operation is possible.
What exactly does SortParameterName do and how are you supposed to use it?
|
|
|
|
|
Add an OnDataBinding event handler to the data source, the event args object should have a Paramters property which you can manipulate (sexualy is that pleases you).
|
|
|
|
|
Hi,
Could Some one help me tell me how I would go with editing a datagrid using a ListBox? I mean whe at the prssing of edit a textBox comes and the user can insert new records.
Thank you.
|
|
|
|
|
hi
if ur using template columns
put textbox in edititem template so that when u click edit
textbox will appear
|
|
|
|
|
Thanks,
But I'm using listbox not textbox. what could I do?
Thanks.
|
|
|
|