15,900,653 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Harsha Dev (Top 71 by date)
Harsha Dev
19-Apr-13 7:25am
View
Thank you Jose Amilcar !!! :) Is there any other method to flush DNS... Can we Flush DNS using any other InBuild Component or DLL or Library of .NET Framework :)
Harsha Dev
4-Jan-13 7:43am
View
ya u are write i tried directly casting in select statement but it is not good :)
Harsha Dev
4-Jan-13 7:42am
View
directly if i put integer then its hard Coded no use, I have a UnitMaster table in the database where i have column named UoM_NooFDecimal it is an integer value. through that unitmaster table and UoM_noOfDecimal column i am trying to cast the column Cubalto no of decimal places.
Harsha Dev
4-Jan-13 7:26am
View
Thanks for trying... :)
No Same Error is poping Out near Update Statement,
@Uom_NoOfDecimal expecting an Integer :(
Any more Suggesstions are Welcomed.
Harsha Dev
3-Jan-13 22:47pm
View
ya it will work Thanks, but in the place of int value 2 i need to pass a parameter so that it will take int value from the parameter passed :)
Harsha Dev
3-Jan-13 8:21am
View
Expecting Integer at @Uom_Noofdecimal :(
But i need to pass integer value by parameter. (Through @Uom_noofdecimal)
Harsha Dev
3-Jan-13 7:30am
View
Thanks :)
Harsha Dev
3-Jan-13 7:30am
View
Thanks :)
Harsha Dev
21-Dec-12 6:56am
View
Thanks AshishChudha... :) Nice Article It Helps !!! :)
Harsha Dev
12-Dec-12 6:28am
View
Thanks :)
Harsha Dev
12-Dec-12 6:15am
View
http://www.asp.net/downloads/archived-v11/migration-assistants/php-to-aspnet
Harsha Dev
10-Dec-12 0:20am
View
Thanks :)
But i need an Worked Example like this
http://www.dotnettwitter.com/2012/01/group-total-and-grand-total-part-2.html
Harsha Dev
8-Dec-12 11:58am
View
I need Design part Coding... and how to calculate sub total and grand total via cells or rows or columns of Repeater or ListView (That is i need vb.net back-end coding as well :)
A worked example is more appreciated :)
Thank you and Regards
Harsha
Harsha Dev
15-Nov-12 7:22am
View
hmm ok podbielski but i have to complete this task in company so oly asking help and i am new to cursors :)
Harsha Dev
15-Nov-12 7:20am
View
Thanks Om Prakash :) Here i have not used logic but i need to update the last column with same seraialnum i need to use cursors for swapping or holding variables and get the result
Harsha Dev
14-Nov-12 9:24am
View
Thanks VedPrakash !!! :) Nice Work...its Working Perfectly :)
Harsha Dev
14-Nov-12 6:04am
View
updated bopannavb :)
Harsha Dev
14-Nov-12 6:00am
View
ok wait i will update the question for better understanding...juz 1 min
Harsha Dev
14-Nov-12 5:51am
View
ya i am going through..Thanks Man :)
Harsha Dev
14-Nov-12 5:42am
View
yeah sure :)
Harsha Dev
14-Nov-12 5:29am
View
hmmm ok lemme update the question?
Question Updated Niijboer :)
Harsha Dev
14-Nov-12 5:26am
View
hmmm its working Thanks man :) but i need with the help of looping Cursors.
Harsha Dev
14-Nov-12 5:18am
View
Yeah Thanks man!!! :) Nope :( i am getting serial num as 3212111 instead of 1112231
Harsha Dev
14-Nov-12 5:10am
View
logic behind calculation of Serial_Num is when the Item_Icode changes the serial num gets reseted to 1
Harsha Dev
14-Nov-12 5:09am
View
when the item code changes serial num gets reseted to 1
Harsha Dev
14-Nov-12 4:32am
View
ok right now u can take like this...
when the item code is 10 it will generate serial number 1,2,3 to the respective itemname and itemcode
Harsha Dev
14-Nov-12 4:21am
View
i want to update this serial number with the help of itemicode and itemcode columns!!!
it should update in one shot using loop cursor :)
Regards
Harsha
Harsha Dev
14-Nov-12 4:11am
View
I have only posted again to get result of table above using looping cursor.
i need a query. :)
Harsha Dev
14-Nov-12 4:10am
View
I have only posted again to get result of table above using looping cursor.
i need a query. :)
Harsha Dev
14-Nov-12 3:28am
View
ya it is correct kasim but i need in terms of looping Cursor !!! :)
Harsha Dev
6-Sep-12 12:51pm
View
output -
Procedure or function 'UpdateValue' expects parameter '@Id', which was not supplied.
No rows affected.
(0 row(s) returned)
@RETURN_VALUE =
Finished running [dbo].[UpdateValue].
Harsha Dev
6-Sep-12 12:43pm
View
ALTER PROCEDURE UpdateValue
(
@Id int,
@Name varchar(50),
@Age int
)
AS
/* SET NOCOUNT ON */
DECLARE @Count int
select @Count=Count(Id) from Person where Name=@Name
IF @Count=0
BEGIN
UPDATE Person SET
Name = @Name,
Age = @Age
WHERE Id = @Id
END
RETURN @Count
RETURN
Is this ok?
Harsha Dev
6-Sep-12 12:43pm
View
Thanks man... will check it...
Harsha Dev
10-Jul-12 7:40am
View
thank u vani :) always helpful :)
Harsha Dev
10-Jul-12 7:33am
View
hmmm.. like courier tracking and track and trace of container shipments :)
Harsha Dev
5-Jul-12 2:56am
View
yeah roger that ;)
hmmm sure sir :)
Working perfectly!!! :)
Harsha Dev
5-Jul-12 2:42am
View
ooops how can i miss that... :( thank you sir :)
Harsha Dev
5-Jul-12 0:18am
View
thank u michael :) but i need C# code :(
Harsha Dev
4-Jul-12 9:10am
View
can u give me a sample code if u have?
Harsha Dev
4-Jul-12 8:22am
View
//string filepath = @"C:\Documents and Settings\HPFS.HPFS\Desktop\rajmal.csv";
string file = FileUpload1.PostedFile.FileName;
file = Path.GetFileName(file);
string filepath = Server.MapPath("~/csv/")+file;
FileUpload1.SaveAs(filepath);
StreamReader sr = new StreamReader(filepath);
string line = sr.ReadLine();
string[] value = line.Split(';');
DataTable dt = new DataTable();
DataRow row;
foreach (string dc in value)
{
dt.Columns.Add(new DataColumn(dc));
}
while ( !sr.EndOfStream )
{
value = sr.ReadLine().Split(';');
if(value.Length == dt.Columns.Count)
{
row = dt.NewRow();
row.ItemArray = value;
dt.Rows.Add(row);
}
}
SqlBulkCopy bc = new SqlBulkCopy(sc.ConnectionString, SqlBulkCopyOptions.TableLock);
bc.DestinationTableName = "company";
bc.BatchSize = dt.Rows.Count;
sc.Open();
bc.WriteToServer(dt);
Response.Write("Ok");
bc.Close();
sc.Close();
Hi its working in SQL SQL Server but not mysql server please help!!! :)
Harsha Dev
3-Jul-12 5:19am
View
yeah it help me a lot :)
Harsha Dev
3-Jul-12 3:00am
View
gud link vani thanks :)
Harsha Dev
3-Jul-12 2:46am
View
yeah... but can we attach the exported data(ie Excel) from gridview into textbox using button click event... :)
Harsha Dev
3-Jul-12 1:23am
View
wow thanks man its working...
Harsha Dev
3-Jul-12 1:19am
View
no i am not getting any kind of exception to debug...
Harsha Dev
30-Jun-12 4:09am
View
using yahoo service!!! :)
Harsha Dev
28-Jun-12 4:27am
View
hope it will be useful... i will try and come back to u...
Thanks :)
Harsha Dev
27-Jun-12 7:22am
View
Can some one help me how to go on with email sending step by step procedure!!! :)
Harsha Dev
27-Jun-12 7:17am
View
Error
System.Net.Mail.SmtpException: Insufficient system storage. The server response was: 4.3.1 Out of memory at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response) at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, String from) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage message) at _Default.Btn_SendMail_Click(Object sender, EventArgs e) in c:\Documents and Settings\User\My Documents\Visual Studio 2008\WebSites\Email\Default.aspx.cs:line 25
Harsha Dev
27-Jun-12 7:13am
View
yeah zoltan zorgo i tried but i am getting errors!!! wait i will post the kind of error which i am getting...
hope u can help me from that error :)
Harsha Dev
23-Jun-12 7:44am
View
thanks but i want to send mail without using gmail smtp... :)
Harsha Dev
23-Jun-12 7:43am
View
MailMessage MailMesaji = new MailMessage();
MailMesaji.Subject = (txtSubject.Text);
MailMesaji.Body = (txtBody.Text);
MailMesaji.BodyEncoding = Encoding.GetEncoding("Windows-1254");
MailMesaji.From = new MailAddress(txtEmail.Text);
MailMesaji.To.Add(new MailAddress("info@instant-freight.com"));
SmtpClient Smtp = new SmtpClient("smtp.mail.instant-freight.com");
Smtp.Credentials = new System.Net.NetworkCredential("info@instant-freight.com", "");
Smtp.Send(MailMesaji);
Response.Write("mail Send");
i am using this code in button click Error Sending Failed :(
Harsha Dev
23-Jun-12 7:30am
View
will it work without password...??
:)
Harsha Dev
23-Jun-12 7:00am
View
thanks man... but i need to send mail from host server... eg info@domainname.com will it work these kinds of emails
Harsha Dev
18-Jun-12 2:47am
View
thanks man...
Harsha Dev
15-Jun-12 3:09am
View
thanks man...:)
Harsha Dev
15-Jun-12 2:33am
View
Dear Sir,
The Question is Just about how to set expiry date for website application.
For example suppose the user wants to use an application for 'x' month or year we should pay some 'y' dollars. Say the user used the application for 'X' months or years after that it should automatically deactivate.
Harsha Dev
14-Jun-12 0:36am
View
thank you so much sir...will learn from these links :)
i am a fresher :(:)
Harsha Dev
14-Jun-12 0:33am
View
thanks man i will try...
Harsha Dev
13-Jun-12 9:12am
View
thanks...
Harsha Dev
13-Jun-12 9:12am
View
thanks...
Harsha Dev
13-Jun-12 9:12am
View
thanks...
Harsha Dev
13-Jun-12 9:12am
View
thanks...
Harsha Dev
26-Apr-12 3:46am
View
thanks man can u elaborate it....???
Harsha Dev
19-Apr-12 5:00am
View
thank you!!! :)
Harsha Dev
19-Apr-12 5:00am
View
thank you!!! :)
Harsha Dev
19-Apr-12 5:00am
View
thank you!!! :)
Harsha Dev
19-Apr-12 5:00am
View
thank you!!! :)
Harsha Dev
19-Apr-12 5:00am
View
thank you!!! :)
Harsha Dev
19-Apr-12 5:00am
View
thank you!!! :)
Harsha Dev
19-Apr-12 4:56am
View
Deleted
thank you guys!!! :)
Show More