|
Rent a coder.
Sathesh.
Blessed is the season which engages the whole world in a conspiracy of love.
|
|
|
|
|
that will cost you One Lakh Crore?
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Yusuf.A wrote: that will cost you One Lakh Crore?
in $ or Rs.
Sathesh.
Blessed is the season which engages the whole world in a conspiracy of love.
|
|
|
|
|
I'm generous, even though $ is preferred, willing to accept Rs too. Heck, I take any currency for that much money, except Zim$
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Sathesh.
Blessed is the season which engages the whole world in a conspiracy of love.
|
|
|
|
|
i updating the content (column F2) of exel sheet with this code
this is working fine In My Company LAn.
Like i access this code from server And from client Pc I can Update It Using Code Given Below
but when i wrote this code at Client server ,And Trying to do the same , it gives the error :
Operation Must use an update able Query
Code Is given below
Protected Sub Call1()
Dim connectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\OrderHeader.xls;Extended Properties=""Excel 8.0;HDR=YES;"""
Dim factory As DbProviderFactory = DbProviderFactories.GetFactory("System.Data.OleDb")
Using connection As DbConnection = factory.CreateConnection()
connection.ConnectionString = connectionString
Using command As DbCommand = connection.CreateCommand()
command.CommandText = "Update [OrderHeader$] set F2= 'Used'"
connection.Open()
command.ExecuteNonQuery()
End Using
End Using
End Sub
i need it on urgent basis. Plz ..........
Raghvendra
|
|
|
|
|
This code is accessing a local file which is not within your ASP.NET website. You don't have that access, you need for your excel file to be on the server, below the root directory of your web app.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
the given code is passwordrecovey1_sendmail()
protected void PasswordRecovery1_SendingMail(object sender, MailMessageEventArgs e)
{
MailMessage objMailMessage = new MailMessage();
System.Net.Mail.MailAddress objFrom = new MailAddress("server@gmail.com", DisplayName);
objMailMessage.From = objFrom;
objMailMessage.To.Add("grk.gummadi@gmail.com");
objMailMessage.Subject = Subject;
objMailMessage.Body = HtmlBody;
if (Cc.Trim().Length > 0)
{
objMailMessage.CC.Add(Cc);
}
if (Bcc.Trim().Length > 0)
{
objMailMessage.Bcc.Add(Bcc);
}
SmtpClient smtp = new SmtpClient(smtpServerIp, portNumber);
if (authenticateUser.Length > 0 && authenticatePassword.Length > 0)
{
smtp.UseDefaultCredentials = false;
smtp.Credentials = new NetworkCredential(authenticateUser, authenticatePassword);
smtp.Send(objMailMessage);
}
else
{
smtp.UseDefaultCredentials = true;
smtp.Send(objMailMessage);
}
}
error message is
CS0104: 'MailMessage' is an ambiguous reference between 'System.Web.Mail.MailMessage' and 'System.Net.Mail.MailMessage'
plz solve this problem and any other problems
give me quick reply
thank you in advance
|
|
|
|
|
Are you illiterate ? The message means what it says. Buy a C# book and learn some C#, then come back to us when you know some basics. You have two namespaces scoped which both have a MailMessage class in them, so you need to be explicit about which one you are using.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Hi All,
I want To set Data source for ultrawebgrid by Ajax in javascript...
but i can't do that,,
please can any body help me to solve this problem ....
thanks all
|
|
|
|
|
I checked and there is no ultrawebgrid in the .NET framework. I suggest you ask whoever wrote the control. Also, do you really want to use AJAX, or do you want to use a library that hides AJAX from you, like the ASP.NET AJAX library ? Be specific when asking the people who know something about the control you're using.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
exactly what is your need? there is no such thing as CG said.
Sathesh.
Blessed is the season which engages the whole world in a conspiracy of love.
|
|
|
|
|
i am using vb6.
i have to make a application as stated below:
1)data will be in UDP format &
2)this data is send to the another pc which is NOT in the LAN.
As i have used winsock control for udp and its working fine within a LAN but not working in remote PC behind LAN.
its urgent.
thanks in advance.
|
|
|
|
|
You are an idiot.
1 - VB6 is outdated and unsupported. It was always a bad language, now it's a terrible choice
2 - you cannot write VB6 code in ASP.NET, so why on earth did you ask this here ?
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
bellow my code
protected void PasswordRecovery1_SendingMail(object sender, MailMessageEventArgs e)
{
//PasswordRecovery1.Visible = true;
string email = PasswordRecovery1.UserNameLabelText.ToString();
MailMessage message = new MailMessage();
SmtpClient smtpClient = new SmtpClient();
string cclist;
string msg = string.Empty;
try
{
MailAddress fromAddress = new MailAddress();
message.From =new MailAddress("info@server.com");
message.To.Add(new MailAddress("to adress"));
if (cclist != null && cclist != string.Empty)
message.CC.Add(cclist);
message.Subject = subject;
message.IsBodyHtml = true;
message.Body = body;
smtpClient.Host = "mail.server.com";
smtpClient.Port = 25;
smtpClient.UseDefaultCredentials = true;
smtpClient.Credentials = new System.Net.NetworkCredential("info@server.com", "password");
smtpClient.Send(message);
msg = "sucessfully";
}
catch (Exception e)
{
msg = e.Message;
}
return msg;
}
the errror message is
No overload for method 'MailAddress' takes '0' arguments
|
|
|
|
|
grkrishna wrote: No overload for method 'MailAddress' takes '0' arguments
It`s obvious and the error is self explanatory. The MailAddress class constructor expects a parameter that you need to pass in. And i guess there no need for this line which causes the error as it is referred nowhere in your code.
grkrishna wrote: MailAddress fromAddress = new MailAddress();
When you fail to plan, you are planning to fail.
|
|
|
|
|
You're also a moron for posting this twice, we could see and you had got your answer the first time.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
I look a website In that website a group of picture or text is moving towards a direction and when mouse over on that it wil stop moving.
1. Want do in coding way.
2. any component in asp.net.
3. for that I want use AJAX component.
I m new to asp.net please help me
Thanks in advance.
modified on Saturday, April 4, 2009 2:09 AM
|
|
|
|
|
non-bugging Errors wrote: I m new to asp.net please help me
OK, this is far too hard for you. You should buy a book and work through some basics before you throw around terms like AJAX ( useless for what you want ), because you read about them on the toilet. Learn the basics, and understand what a technology does before deciding you want to use it for something that is completely unrelated to it.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Hi,
I have created a webpage that connect to a DataSet. The layout of the app is as follows:
Page.aspx
DAL Folder
dsTSQ.xsd
DataConnector
IConnect.cs
Connect.cs
When I put the code to save a record in the save_click event the code looks like this:
this.validate();
dataConnector.UpdateJob(this.dsTSQ);
The problem is that when I try to input the dsTSQ dataset the app says that I might be missing an assembly reference. I have checked and the access modifier for dsTSQ is public.
I have made a new instanciation of the dataset but when I save nothing gets written to the database. Does anyone have any thouhts?
Thanks!
Illegal Operation
|
|
|
|
|
Hi,
I want to create a page with Ajax support that has a table showing 20 products the use may buy. The user must fill the quantities (for the desired products) and leave some (or all) blank then click the submit button. When he clicks submit I'll execute some code that update the db order table and fill the html with the next 20 products (if any), that's why I'm gonna use ajax.
My questions are:
1) What controls should I use to repeat the table lines 20 times (or less if there is not 20 items left)
2) How do I trace what products have quantities not empty?
Thanks,
Dirso.
PS: Sorry for this n00b question
Thanks,
Dirso
|
|
|
|
|
look at GridView[^], here are some examples1[^], Example2[^]
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
i can do this on jsp but how this could be done in asp.net
thanks in advance
|
|
|
|
|
this.FileUpload1.PostedFile.ContentLength
I didn't get any requirements for the signature
|
|
|
|
|
hi!! i am using a 3rd party dll in my project to html messaging like this message board in codeproject or a scrap like thing in orkut.
but every time when i pressed the send button of message it gives me error and message is not stored in db.
the error type is:
Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case.
A potentially dangerous Request.Form value was detected from the client (ctl00$ContentPlaceHolder2$TextBox22="dfg<br>").
Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (ctl00$ContentPlaceHolder2$TextBox22="dfg<br>").
Stack Trace:
[HttpRequestValidationException (0x80004005): A potentially dangerous Request.Form value was detected from the client (ctl00$ContentPlaceHolder2$TextBox22="dfg<br>").]
System.Web.HttpRequest.ValidateString(String s, String valueName, String collectionName) +3307682
System.Web.HttpRequest.ValidateNameValueCollection(NameValueCollection nvc, String collectionName) +108
System.Web.HttpRequest.get_Form() +119
System.Web.HttpRequest.get_HasForm() +3309630
System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) +45
System.Web.UI.Page.DeterminePostBackMode() +65
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7350
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.messages_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\alok\deb20b3e\4118a126\App_Web_gd1it9hc.2.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
how to solve this.
|
|
|
|