|
hiiiiiiii to all
how we can maintain old data in gridgiew after updating the the particular.......
any one can tell.
Thanks in advance
rizvan sivally
|
|
|
|
|
I Used Update Command as for this
Update tblJobs set [Status]=Status+ ' * ' + @Status +' ' +Cast(getdate() as varchar(50))+' <br/> ',Remarks=Remarks+ ' * ' + @Remarks + ''+Cast(getdate() as varchar(50))+ ' <br/> 'where Id=@Id"
see Remarks=Remarks+ ' * ' + @Remarks this update Remarks Column and your previous data remains same.
|
|
|
|
|
hello,
Sir/Madam
I want to create a mail website like gmail in asp.net using c#,i am confused how to start it? Can u suggest me how i can start and give me some ideas abt it.
|
|
|
|
|
You start by studying and doing the research necessary to give you the understanding so you will know where to start. In any case, there are numerous tutorials here and via Google that would help if you can be bothered to do your own work.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
I have Master Page.
i insert jquery to head tag like this but I think that page can't load jquery_min.js file. How can i slove this?
(Below is master page)
<head runat="server">
<script type="text/javascript" src="common/scripts/jquery_min.js"></script>
I want to load Jquery script when page load
Because I have to use below code.
(Below is master page)
<script type="text/javascript">
$(document).ready(function () {
$.get('../common/path.xml', function (data)...........
});
hi
My english is a little.
anyway, nice to meet you~~
and give me your advice anytime~
|
|
|
|
|
Not entirely sure what your problem is. You can certainly reference the jquery script file in your master page and, in fact, should do so. What error are you getting? Perhaps the path to the script is incorrect.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
Hi,
I am developing an Android Application where I would like to submit a search string to an ASP.NET web page. The App would then format the returned data. Any tips on how I might accomplish this?
Thank you!
|
|
|
|
|
Can any one help me to understand the concept of global.asax file in asp.net3.5
Thanks and regards
|
|
|
|
|
|
Thanks for the suggestion
|
|
|
|
|
Actually you should bookmark -> google.com[^]
Apurv
If Java had true garbage collection, most programs would delete themselves upon execution.
|
|
|
|
|
hi friends
i need to send mails from an asp.net application using c# but my IIS is not configured in my laptop so how to send mails
can anyone help me in this issue plz..
K.Gayathri
|
|
|
|
|
You don't need to configure IIS. The SmtpMail[^] class has a static property used to set the SMTP server to send mail through. You can also configure this in the web.config file in the mailSettings[^] element
No comment
|
|
|
|
|
hi
thanks for the reply
as per the link u gave
i wrote this in my web.config file
<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<network
host="localhost"
port="25"
defaultCredentials="true"/>
</smtp>
</mailSettings>
</system.net>
and in my code i wrote this:
MailMessage msgMail = new MailMessage();
msgMail.To = txtEmail.Text;
SqlCommand slistname = new SqlCommand("select * from list_builder where listid=" + selVal, conn);
drSubGroups = slistname.ExecuteReader();
while (drSubGroups.Read())
{
msgMail.Subject = drSubGroups["ListName"].ToString();
}
SqlCommand sAccoutdet = new SqlCommand("select * from create_account where UserId=" + Session["UserId"].ToString(), conn);
drSubGroups = sAccoutdet.ExecuteReader();
while (drSubGroups.Read())
{
msgMail.From = drSubGroups["EmailId"].ToString();
}
msgMail.Body = "Confirm your subscription";
SmtpMail.SmtpServer = "smtp.domain.com";
SmtpMail.Send(msgMail);
but still not working can you plz help me...
K.Gayathri
|
|
|
|
|
You have to give a better explanation than "it doesn't work".
One guess is you are using localhost as the smtp server and I doubt very much your local machine is an email server or configured as a relay.
Format your code snippets when posting
No comment
|
|
|
|
|
This my help[^]
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
Warez yo grandmar dizzapeered to?
"With sufficient thrust, pigs fly just fine."
Ross Callon, The Twelve Networking Truths, RFC1925
|
|
|
|
|
hi
thanks for the reply
my problem is i am not able to connect to the smtp server
can anyone help me out
my code is:
in my web.config file i have:
<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<network
host="my id address here"
port="25"
defaultCredentials="true"/>
</smtp>
</mailSettings>
</system.net>
my asp.net c# code is
MailMessage msgMail = new MailMessage();
msgMail.To = txtEmail.Text;
SqlCommand slistname = new SqlCommand("select * from list_builder where listid=" + selVal, conn);
drSubGroups = slistname.ExecuteReader();
while (drSubGroups.Read())
{
msgMail.Subject = drSubGroups["ListName"].ToString();
}
SqlCommand sAccoutdet = new SqlCommand("select * from create_account where UserId=" + Session["UserId"].ToString(), conn);
drSubGroups = sAccoutdet.ExecuteReader();
while (drSubGroups.Read())
{
msgMail.From = drSubGroups["EmailId"].ToString();
}
msgMail.Body = "Confirm your subscription";
SmtpMail.SmtpServer = System.Configuration.ConfigurationManager.AppSettings["SMTPServer"];
SmtpMail.Send(msgMail);
K.Gayathri
|
|
|
|
|
1) Format your code snippets when posting
2) Don't repeat the question/reply in multiple places
3) I gave you the answer.
No comment
|
|
|
|
|
hi
i am having my .net application running in my system and i need to send a mail (eg to test to my email id itself).
so i am sending an email from my .net application to my email address hope u got my question now..
i am getting the error a smtp not connected...
K.Gayathri
|
|
|
|
|
I get your question, I got it the first time.
Yes, you have an email address. Good for you. However, your local machine is NOT an email server. ASP.NET and IIS don't just magically route emails around the world. You NEED an email server send an email.
Do you get my response? Let me repeat. Your local machine, ie localhost, is NOT an email server.
No comment
|
|
|
|
|
ya i got what u r saying
for that only i am trying to use smtp to send mails (is it ok)
so now tell me how to send emails..hope u would have got my code from my previous posting..
K.Gayathri
|
|
|
|
|
MalarGayu wrote: how to send emails
Use a valid SMTP server or configure a relay
Instead of continuing to post these questions why don't you spend some time researching. You have been given enough information. I'll get you started[^]
No comment
|
|
|
|
|
your local machine is NOT an email server. ASP.NET and IIS don't just magically route emails around the world. You NEED an email server send an email.
health
|
|
|
|
|
Hi Guys,
I have installed Visual Studio 2010 with Framework 4.0. But when I try to add an Ajax control on a web form it convert into an xml and shows some code. Also there is no Bin folder in the solution explorer, therefore no ajax.dll file. Do I need to install ajax for VS2010 and Framework 4.0?
I would appreciate your feedbacks.
Thanks
|
|
|
|