|
do you have anti virus on your computer?
some anti virus block a process that send email from application.
well,like mine. so you have to turn off those rules in your anti virus.
|
|
|
|
|
i have facing sending mail.i have write code:
System.Net.NetworkCredential SmtpUser = new System.Net.NetworkCredential("donotreply@whclubs.net", "reply_wh");
SmtpClient smtp = new SmtpClient();
MailAddress from = new MailAddress(txtFrom.Text);
MailAddress to = new MailAddress(txtTo.Text);
MailMessage message = new MailMessage(from, to);
message.Subject = txtSubject.Text;
smtp.Host = "mail.whclubs.net";
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
smtp.UseDefaultCredentials =false;
smtp.Credentials = SmtpUser;
smtp.Send(message);
what is the problem in sending mail
Thanks in advance
|
|
|
|
|
What is the error message?
|
|
|
|
|
Rajeesrivastava wrote: what is the problem in sending mail
You should mention what problem you are facing !!!
cheers,
Abhijit
|
|
|
|
|
On every VisibleMonthChanged event of calender control i want to find the Firstday,lastday and number of days of the selected month.
How can i do this.
|
|
|
|
|
List<uservalidation> bncode = new List<uservalidation>();
foreach(DataRow row in mdtt_AdmUser_Branch.Tables[0].Rows)
{
cmbBranchSName.Items.Add(row["BranchSName"].ToString());
uv1.bid = row["BranchCode"].ToString();
uv1.bname = row["BranchSName"].ToString();
bncode.Add(uv1);
}
Session.Add("BranchSName", bncode);
now i want to get branch name and branch code collection back please help how can i????
umerumerumer
|
|
|
|
|
How i Can add Css menu to master page ? , here is is the code but image of menu not appear in menu<br />
http:
|
|
|
|
|
Make sure the url of your images is correct
Check out the html sent to the browser
Alexei Rodriguez
|
|
|
|
|
thanks
the steps i do :
1. i add theme and css file into theme
2. i take copy from the css code and paste it into the new file
3. add in the tage of the page Theme="ThemeName"
4. i am sure that the pass is right
so what is the wrong , if u can help me , plz do ?
|
|
|
|
|
Where are you adding this, to the masterpage or to the content page??
Masterpages dont have a Theme attribute, do they?
Add a reference directly to the css file to your masterpage.
Just open your masterpage in source view (where the html is and not where your code behind is)
Drag and drop the css file inside the section of your masterpage
Alexei Rodriguez
|
|
|
|
|
Thanks AlexeiXX3 it work good
|
|
|
|
|
hi all
im using VS 2003 for one of web application, i need to add some dynamic meta tags into my web form, in vs 2005 there seperate class for that, but vs 2003 doesnt support that, is there different way to do that in VS 2003? pls help me to that.
thanks
|
|
|
|
|
how to measure fileupload control speed?
|
|
|
|
|
File Transfer Speed?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
|
Hi,
I created a new web project, and the web.config that I added had so much code. How much of this code is actually needed? What can I remove to just display a normal web page? Currently it looks like this:
<?xml version="1.0"?>
<configuration>
<connectionStrings>
<add
name="System.Data.SqlClient"
connectionString="Server=MYSERVER;Initial Catalog=MyDatabase;User Id=MyId;Password=MyPassword;" />
</connectionStrings>
<system.web>
<pages></pages>
<compilation debug="true"></compilation>
<authentication mode="Forms"></authentication>
</system.web>
</configuration>
When I try to run the web app in debug mode it give me the following error:
Unable to start debugging on the web server. Debugging failed because integrated Windows authentication is not enabled.
I am using IIS.
Thanks
Brendan
|
|
|
|
|
.NET Enthusiast wrote: <authentication mode="Forms">
Not sure why the error occurs but if you are not using Forms authentication, you may want to try this.
<br />
<authentication mode="Windows"></authentication><br />
-------------------------------------------
It's code that drives you - Shyam
|
|
|
|
|
Hi,
I m trying to put javascript countdown timer in gridview.
I m not able to find the control inside gridview using javascript.
Please suggest. already wasted one whole day trying it.
Regards
Vijay V.
Yash Softech
|
|
|
|
|
I am searching for articles for discussion forums in ASP.net. I am developing a good social networking site. So i need the discussion forums.
|
|
|
|
|
ANybody alive here? No response
|
|
|
|
|
This is considered very rude and misdemeanor in discussion forums. Experts help out by volunteering their time and efforts for the benefit of others. If you would need a dedicated support, you better ought to lookup for a vendor or outsource your requirement rather than leeching on a discussion forum.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
Check out community-server website.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
Everything is always urgent.
Blog link to be reinstated at a later date.
|
|
|
|
|
Hi,
I have 4 repeaters display some information webpage.I am giving the code here below.please give me the solution.
I have 2 tables.I have display them one below other.I have 2 repeaters in each table.one to display head and other to contents.But when i run the code i could see one header only but the contents in itemtemplate of both repeaters are visible.But the other one which is not visible is rendered when i see in viewsource of the rendered page.
If i comment the databinding code of the other repeater i could see the repeater head which i didn't see before.
This is the code i have written in page load
void Page_Load()
{
repno=int.Parse(Session["repno"].ToString());
username=Session["uname"].ToString();
DataListHeaderBind();
DataListItemsBind();
}
private Void DataListHeaderBind()
{
SqlDataReader drrptAllUsersHead=CMS.GetAllUsers(int repno);
rptAllUsersHead.DataSource=drrptAllUsersHead;
rptAllUsersHead.DataBind();
SqlDataReader drrptUserHead=CMS.GetUserDetails(string username);
rptUserHead.DataSource=drrptUserHead;
rptUserHead.DataBind();
}
Private Void DataListItemsBind()
{
SqlDataReader drrptAllUsers=CMS.GetAllUsers(int repno);
rptAllUsers.DataSource=drrptAllUsers;
rptAllUsers.DataBind();
SqlDataReader drrptUser=CMS.GetUserDetails(string username);
rptUser.DataSource=drrptUser;
rptUser.DataBind();
}
<%@ Page language="c#" Codebehind="UserDetails.aspx.cs" AutoEventWireup="True" Inherits="CMS.UserDetails" MasterPageFile="~/CMS.Master"%>
<%@ MasterType VirtualPath="~/CMS.Master"%>
<asp:Content id="content1" ContentPlaceHolderID="MainContent" runat="server">
<h2><span>Enterprise List</span></h2>
<div class="clear"></div>
<div class="lvl2">
<asp:UpdatePanel runat="server" id="UpdatePanel1">
<ContentTemplate>
<div class="tableWrapper">
<div class="tableOverflow">
<div class="ie6fix">
<table id="Table1" border="0" cellspacing="0" cellpadding="0">
<thead>
<tr>
<asp:Repeater id="rptAllusersHead" runat="server">
<HeaderTemplate>
<th style="width: 5%;">Username</th>
<th style="width: 5%;">FirstName </th>
<th style="width: 6%;">LastName</th>
<th style="width: 9%;">FatherName</th>
</HeaderTemplate>
</asp:Repeater>
</tr>
</thead>
<tbody>
<asp:Repeater ID="rptAllusers" runat="server" >
<ItemTemplate>
<tr class="alignCenter">
<td style="width: 5%" align="center" title='<%# DataBinder.Eval( Container.DataItem, "username" )%>'> </td>
<td style="width: 5%" align="center" title='<%# DataBinder.Eval( Container.DataItem, "firstName" )%>'> </td>
<td style="width: 5%" align="center" title='<%# DataBinder.Eval( Container.DataItem, "lastName" )%>'> </td>
<td style="width: 5%" align="center" title='<%# DataBinder.Eval( Container.DataItem, "fatherName" )%>'> </td>
</tr>
</ItemTemplate>
</asp:Repeater>
</tbody>
</table>
<div><h2> User Details</h2><br/></div>
<table id="Table1" border="0" cellspacing="0" cellpadding="0">
<thead>
<tr>
<asp:Repeater id="rptuserHead" runat="server">
<HeaderTemplate>
<th style="width: 5%;">Username</th>
<th style="width: 5%;">Address </th>
<th style="width: 6%;">City</th>
<th style="width: 9%;">Zip</th>
</HeaderTemplate>
</asp:Repeater>
</tr>
</thead>
<tbody>
<asp:Repeater ID="rptuser" runat="server" >
<ItemTemplate>
<tr class="alignCenter">
<td style="width: 5%" align="center" title='<%# DataBinder.Eval( Container.DataItem, "username" )%>'> </td>
<td style="width: 5%" align="center" title='<%# DataBinder.Eval( Container.DataItem, "address" )%>'> </td>
<td style="width: 5%" align="center" title='<%# DataBinder.Eval( Container.DataItem, "city" )%>'> </td>
<td style="width: 5%" align="center" title='<%# DataBinder.Eval( Container.DataItem, "zip" )%>'> </td>
</tr>
</ItemTemplate>
</asp:Repeater>
</tbody>
</table>
</div>
</div>
<div id="Paging" runat="server" class="pagination">
<asp:Label runat="server" id="lblTotalPages"/>
<asp:TextBox id="txtPageIndex" runat="server" width="50px" visible="false" />
<a id="imgPrev" runat="server" onserverclick="SetCurrentPage" title="Previous"><< Prev</a>
<asp:placeholder id="pages" runat="server"></asp:placeholder>
<a id="imgNext" type="image" onserverclick="SetCurrentPage" runat="server" title="Next">Next >></a>
<asp:Label runat="server" id="lblRecordsPerPage"/>
</div>
</div>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</asp:Content>
Please give me the solution i have wasted whole day for this.
I even tried taking onther table and putting table1 and table2 in separate rows.It didn't work for me.
I tried by taking two repeaters instead of 4, using HeaderTemplate and ItemTemplate of the same repeater to display header and Contents(Before i used separate repeater to display header and Items) it also not worked.
I could see one header on top of the page even it is in Second table.
Thanks Inadvance,
Ravi
|
|
|
|
|
Please,any one reply me............
|
|
|
|