|
Dear all,
how to send a Email message using Asp.Net over Internet,
i have a input as Mail TO Address, Mail From address, Server IP and Message to be send.
Any code sample to do this.
Please help...
Regards
Koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
Hint: System.Net.Mail
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
i have used the same but it gives me message "Transfer failed to connect the server"
what it mean ???
how can i clear it ???
thankx in advance
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
If you are still on .NET 1.1, check this[^]. For .NET 2.0 or later, check this[^]
|
|
|
|
|
N a v a n e e t h wrote: on .NET 1.1, check this[^].
Isn't it http://www.systemwebmail.com[^]? You mentioned it as systemwebmail.net in the original post.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
But it woks, have you tried ?
|
|
|
|
|
May be they have booked both domains for the web server. We have a cursed proxy solution that allows access to URLs that it has in its catalog.
Thanks for the update anyway.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
I wrote this[^], just for you.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
how to trag and drop a column in the Scrolling DataGrid during the runtime using ASP.net with c# code
|
|
|
|
|
|
Hai!
I,ve Copy the JavaScript Code but Still not working Scrolling Datagrid.
But I've Download the sample Drag and Drop demo Sample project at the runtime got a error from the web config file.
|
|
|
|
|
Whats the error?
We are not a Code Charity
|
|
|
|
|
EzhilarasiMSc wrote: at the runtime got a error from
Can you mention the error? Also, if it an article-related query, a quick posting in the article's messageboard would elicit faster responses.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
hai.
here I mention the error on the Drag and drop demo project
Could not load type 'DrawingWebApp.RetrieveImage'.
Could not load type 'DrawingWebApp.SpecStorage'.
|
|
|
|
|
Is the project built? The necessary assemblies should be in the bin folder and the folder and its associated virtual directory must be marked as an application in IIS.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hi! I want to get the row from a table and put in a label. Any clue how this can be solved. Like let's say I have a table with 3 rows, and I want to assign the values from a table to 3 labels
|
|
|
|
|
If you always want to use the same row or automatically determine which row you can use the grid's OnItemDataBound event and the eventArgs parameter will have a reference to the current row, e.Item.Cells[x].Text will get you the value in one cell...or if the cells are named (i.e. not just boundcolumns) you can use e.item.FindControl("name") and get the value that way, but you'll have to cast that to the correct type.
you can also use a button on the form and put your code in the itemCommand event, so the user can pick which row, agin the EventArgs paramter will contain a refernce to the row the clicked button was in.
Hope you found that helpful, Please rate helpful responses, lets us know we're actually giving good answers.
|
|
|
|
|
this seems to me like a good beginning but can you give me some example how to put the data in a label, cause when I am trying to do so, I cannot, I am trying something like this:
protected void GridView1_DataBound(object sender, EventArgs e)
{
Label1.Text = e.Item.Cells[0].Text;
}
it says 'System.EventArgs' does not contain a definition for 'Item'. Any clue? Thanks ahead
actually I cannot see the rows control...I guess
|
|
|
|
|
sorry bout that..my plan works in .NET 1.1, they changed it for .NET 2.0. Assuming your using the RowDataBound event the EventArgs has a property called Row that should work the same way as Item. I havnt tried it yet, all of our code seems to fine, but we only recently upgraded, and are probably still using the old DataGrid controls.
|
|
|
|
|
I recently upgraded from VS 2005 to VS 2008 and found a lot of problems.
The major issue i'm dealing with now is "Error Creating Control"
Here is an example:
HTML
<br />
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %><br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><br />
<html xmlns="http://www.w3.org/1999/xhtml"><br />
<head runat="server"><br />
<title>Untitled Page</title><br />
</head><br />
<body><br />
<form id="form1" runat="server"><br />
<ASP:SCRIPTMANAGER ID="ScriptManager1" runat="server" /><br />
<div><br />
</div><br />
<ASP:REPEATER ID="Repeater1" RUNAT="server"><br />
<ITEMTEMPLATE><br />
</ITEMTEMPLATE><br />
</ASP:REPEATER><br />
</form><br />
</body><br />
</html><br />
In the designer I get the following error message on the control:
Error Creating Control - Repeater 1
Property 'ITEMTEMPLATE' does not have a property named 'MAPID'.
Does anyone know how to fix this?
Any help would be great!
Thanks,
Will
I hate users. Not all of them, just the ones who talk.CP member: Al Einstien
|
|
|
|
|
I have two master pages in my application both have menu controls. for first one website map is its data source. now for second menu control in second master page what can i use as its data source. i hve tried xml file but it displays only one main menu while need two main menus. how can i? Help Please.
|
|
|
|
|
Hi,
You can use the same web.sitemap to display two menus in two separate master pages. Here is what you need to do.
Let’s assume you have two master pages called, MasterPageOne.master and MasterPageTwo.master and you want to bind a ‘user’ links to one page and ‘customer ‘links to another page.
Construct your web.sitemap in this structure.
[Web.sitemap] - code
<?xml version="1.0" encoding="utf-8" ?>
<siteMap>
<siteMapNode title="Home" url="~/Default.aspx" roles="*">
<siteMapNode title="Products" url="" />
<siteMapNode title="Users" url="~/Users.aspx" >
<siteMapNode title="Users Personal Info" url=""></siteMapNode>
<siteMapNode title="Users Applications" url=""></siteMapNode>
<siteMapNode title="Users Departments" url=""></siteMapNode>
<siteMapNode title="Users Cover" url=""></siteMapNode>
</siteMapNode>
<siteMapNode title="Customers" url="~/Customers.aspx" >
<siteMapNode title="Customer Personal Info" url="">
<siteMapNode title="Customer Personal Info-Details" url="">
</siteMapNode>
</siteMapNode>
<siteMapNode title="Customer Orders" url=""></siteMapNode>
<siteMapNode title="Customer Enquiries" url=""></siteMapNode>
<siteMapNode title="Customer Other" url=""></siteMapNode>
</siteMapNode>
</siteMapNode>
</siteMap>
Configure the both menu controls with the same DataSourceID. But, specifying a different StartingNodeUrl property for each SiteMapDataSource. So here is how it will look like.
[MasterPageOne.master]-code
<form id="form1" runat="server">
<div>
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" StartingNodeUrl="~/Customers.aspx" />
<h2>
Customer Links</h2>
<asp:Menu ID="Menu2" runat="server" DataSourceID="SiteMapDataSource1">
</asp:Menu>
</div>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</form>
[MasterPageTwo.master]-code
<form id="form1" runat="server">
<div>
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" StartingNodeUrl="~/Users.aspx" />
<div>
<h2>
Users Links</h2>
<asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1">
</asp:Menu>
</div>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</form>
The main concept is that we construct both menus in the same web.sitemap(look closely at this code – all child nodes for uses are under user and all child nodes for customer are under customer) but we configure the StartNodeUrl that will specify the starting point of each. But this way, you can create your own menus to display in any number of master pages and menu levels - to any depth. Hope it’s clear.
Thx,
Gayani
|
|
|
|
|
Thanx a lot
It worked good.
|
|
|
|
|
hello friends,
I am using datagrid to list my items. I am using sqldatasource for this. but while deleting record, i want to add confirmation javascript before delete? Is it possible on datagrid?
Amit
|
|
|
|
|
Its not that easy to add in javascript to a c# script which is going to run at the server, I would try and create something through asp.net which would perform a similar task
We are not a Code Charity
|
|
|
|