|
Then you know that the error has nothing to do with sending html mail.
Is the mail address that you are using as from address registered on the mail server? Most mail servers only allow their own users to send mail through it.
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
I tried this way also as you suggested, but still i am getting the same problem.
plz it's a little bit urgetnt
Bye
Exelio
|
|
|
|
|
Is the mail address that you are using as from address registered on the mail server? Most mail servers only allow their own users to send mail through it.
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
The mail address which i used is sarathy@exelio.com, it's an registered mail id. Past one year i am using it.
Thank you very much sir
bye
Exelio
|
|
|
|
|
But is it the server that handles this email acount that you are trying to use to send mail?
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
Ya the server which i try to connect has that mail id.
Thanks for your replies
Bye
Exelio
|
|
|
|
|
I have a array of file names to be added to a Crystal report. The array size changes. So one option i have is to bind the array to the Formula Feild or to add formula feilds (for that matter any type of fields) to an existing crystal report from the program.
Is there any way to do either of this
AMIF
|
|
|
|
|
ihave the same problem after that i draw the report ..
i work to solve this but i am not optimistic
|
|
|
|
|
hi,
i have 2 dropdownlist inside a datagrid,i want to populate the 2nd dropdownlist based on the value selected from the first dropdownlist
kavitha
|
|
|
|
|
Hi Kavitha,
create two dropdownlist as "ddlParent" and "ddlChild".
Populate the "ddlParent" using
if(!Page.IsPostBack)
{
SqlDataAdapter ad = new SqlDataAdapter("SELECT PersonID FROM Person",myConnection);
DataSet ds = new DataSet();
ad.Fill(ds,"Person");
ddlParent.DataSource = ds;
ddlParent.DataTextField = "PersonID";
ddlParent.DataValueField = "PersonID";
ddlParent.DataBind();
}
Now in the selectedIndexChanged event of the "ddlParent" you will implement the code that will fill the "ddlChild".
private void ddlParent_SelectedIndexChanged(object sender, System.EventArgs e)
{
int personID = Convert.ToInt32(ddlParent.SelectedItem.Value);
string query = "SELECT PhoneNumber,PhoneID FROM Phone WHERE PersonID = "+personID;
SqlDataAdapter ad = new SqlDataAdapter(query,myConnection);
DataSet ds = new DataSet();
ad.Fill(ds,"Phone");
ddlChild.DataSource = ds;
ddlChild.DataTextField = "PhoneNumber";
ddlChild.DataValueField = "PhoneID";
ddlChild.DataBind();
}
Hope this works fine.
with regards
Satips
|
|
|
|
|
hi every body,
i was trying to download a file from server. i have used the following code
in my application.
'printout is a literal
code here
Dim dir As New IO.DirectoryInfo(Server.MapPath("backup"))<br />
Dim finfo As IO.FileInfo() = dir.GetFiles("*.*")<br />
Dim ff As IO.FileInfo<br />
PrintOut.Text = "<h5>All files in Server</h5><br><table border=1><tr><th>File name</th><th>File Size</th><th>backuped on</th></tr>"<br />
For Each ff In finfo<br />
PrintOut.Text = PrintOut.Text + "<tr><th><a href='" & ff.FullName & "' target='_blank'>" & ff.Name & "</a></th><th>" & CType(ff.Length / 1024, Integer) & "KB</th><th>" & ff.CreationTime & "</th></tr>"<br />
Next<br />
PrintOut.Text = PrintOut.Text + "</table>"
in my machine (client) this works very nicely. but i have hosted the site in the server.
after that i have accessed the site using the browser; then the code doesn't works. when i click the link nothing happens ;
please help me.
thanks in advance..
sebastian
|
|
|
|
|
hi everybody,
i tried to send email message from an asp.net application using following code
imporrts system.web.mail
---------->
dim objmail as new mailmessage()<br />
objmail.from=txtfrom.text<br />
objmail.sub=txtsub.text<br />
objmail.to=txtto.text<br />
objmail.body=txtbody.text<br />
dim objsm as smtpmail<br />
objsm.send(objmail)
this is the code which i was used. in some machines, this works very nicely;
but in some machines i got some error;
"Send Using configuration is Invalid"
and in some other machines i got the message like this--->
"Could not access CDO Message Object"
can anyone say how to solve this problem;
with thanks and love
Sebastian
|
|
|
|
|
If the server where you are running this doesn't have SMTP activated, you have to specify what SMTP server to use.
---
b { font-weight: normal; }
|
|
|
|
|
thankz dear i will chech it out
bye
|
|
|
|
|
i have tested this ; it worked very nicely; thanks
|
|
|
|
|
u have to assign smtp server name in smtp object
Mahendra
|
|
|
|
|
thank you very much; now it works very nicely
tahanks once again
|
|
|
|
|
Hi,
Am trying to add tabstrip control to my page. I have put the microsoft.web.ui.dll into the appli/bin/ folder. Then, webctrl_client folder has been added to the wwwroot/appli/ folder. I could create the tabstrip in design time. But, when I run it, data is displayed as lines. The same is true even if I put a treeview.
After seeing some forums on the internet, I have put the below lines in web.config.
<configuration>
<configsections>
<microsoftwebcontrols>
<add key="CommonFiles" value="c:/inetpub/wwwroot/MultiPageTree /webctrl_client/1_0/">
Still, its not working.
I referred to the ViewSource and it has "MultiPageTree/webctrl_client/1_0/tabstrip.htc" referred.
Am unable to find any solution as I have spent couple of days on this.
Am using 2003 version of .net (framework 1.1)
Please help
Thanks.
rmr
|
|
|
|
|
Am trying to dynamically build a tab, multipage and pageview
protected Microsoft.Web.UI.WebControls.TabStrip tc;
protected Microsoft.Web.UI.WebControls.MultiPage mp;
protected System.Web.UI.WebControls.Label txt;
Microsoft.Web.UI.WebControls.Tab tab=new Microsoft.Web.UI.WebControls.Tab();
Microsoft.Web.UI.WebControls.PageView pv= new Microsoft.Web.UI.WebControls.PageView();
//Am building a control here and adding it to pv
System.Web.UI.WebControls.TextBox txt= new TextBox();
txt.Text = "Microsoft";
pv.Controls.Add(txt);
pv.ID = id.ToString();
tab.TargetID = pv.ID;
Error: TargetID does not point to a valid PageView
the tab.TargetID has to be set to pv.(something).
can somebody help me on this?
rmr
rmr
|
|
|
|
|
Hello !!!
Iam begginer for .net frame work,could any help me to sort out my problem.
I developed asp.net project in one system and I want to trasfer it to another system and there I want to execute that application .
Could any one help me how to do that thing in detail .
Thank you...........
hai this is sohail
|
|
|
|
|
Do you want to access the application from another system, if so then you just give the system_name in place of localhost.
BTW don't repost.
Best Regards,
Apurva Kaushal
|
|
|
|
|
If it's in same network just give IPAddress of the system that you are accessing in place of localhost
Otherwise copy the whole project and paste in some other system
Create Virtual Directory for the project so that it maps physical directory
and run web application . Make sure that Webinfo path is correct
"Aim to go where U have never been B4 and Strive to achieve it"
http://groups.yahoo.com/subscribe/dotnetforfreshers
http://himabinduvejella.blogspot.com
|
|
|
|
|
Hello every body,
Iam begginer for .net frame work. I have a simple question could you please help me.
I developed asp.net project on one system and I want to transfer it to another system and there I want to execute that application kindly can any one give me detail procedure for doing so .
Thanks..........
hai this is ur buddy
|
|
|
|
|
Ok, it's really hard!
I have a Asp.Net 2.0 Menu control with non-databound items. By example: Insert, Update, Delete, etc.
Then, I wish what when click in "Delete" menu item, appears one javascript alert before the postback (the MenuItens are handled by postback and not by NavigateUrl).
How I can do to this work? Here is the Sample menu:
<asp:Menu ID="myMenu" runat="server" OnMenuItemClick="myMenu_MenuItemClick">
<Items>
<asp:MenuItem Text="Options" Value="Options" Selectable="False">
<asp:MenuItem Text="Insert" Value="Insert"></asp:MenuItem>
<asp:MenuItem Text="Update" Value="Update"></asp:MenuItem>
<asp:MenuItem Text="Delete" Value="Delete"></asp:MenuItem>
</asp:MenuItem>
</Items>
</asp:Menu>
Jesus is Love! Tell to someone!
|
|
|
|
|
You can use the DynamicItemTemplate to customise the dynamic menu items (StaticItemTemplate for the static items), below is an example:
<asp:Menu ID="myMenu" runat="server" On_MenuItemClick="myMenu_MenuItemClick">
<Items>
<asp:MenuItem Text="Options" Value="Options" Selectable="False">
<asp:MenuItem Text="Insert" Value="Insert"></asp:MenuItem>
<asp:MenuItem Text="Update" Value="Update"></asp:MenuItem>
<asp:MenuItem Text="Delete" Value="Delete"></asp:MenuItem>
</asp:MenuItem>
</Items>
<DynamicItemTemplate>
<a class="myMenu_1" on_click="return confirm('Yes or No');" runat="server"
visible='<%# (Eval("Value")=="Delete") %>'
href="javascript:__doPostBack('myMenu','Options\\Delete')">Delete</a>
<%# (Eval("Value")!="Delete")? Eval("Text"): "" %>
</DynamicItemTemplate>
</asp:Menu>
You can also use the LinkButton instead of the hyperlink element in the DynamicItemTemplate and provide the handler for the button click event. In addition, you can use your own menu control instead of the built-in one in this simple case.
|
|
|
|