15,891,777 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 PEIYANGXINQU (Top 68 by date)
PEIYANGXINQU
17-Oct-19 21:53pm
View
about 7000 nodes
PEIYANGXINQU
17-Oct-19 21:52pm
View
Deleted
about 7000 nodes
PEIYANGXINQU
9-May-18 8:46am
View
The tool seems like winform or java desktop application, and the database is encrypted and not open.It is very difficult to capture the data.
PEIYANGXINQU
29-Jan-17 1:40am
View
Can you tell me how to get the pure execution time?
PEIYANGXINQU
2-Nov-14 6:17am
View
Thank.For your second reason,I think ORM has help me do this.Now my database has more than 40 sp.I wonder whether it has too stored procedures.
PEIYANGXINQU
11-Oct-13 15:50pm
View
My whole project framework is 4.0.May be the System.Net.Http.dll is 4.5.
PEIYANGXINQU
11-Oct-13 15:35pm
View
I use this httpclient,and it actually has HttpClient.PostAsync() function.
#region System.Net.Http.dll, v2.0.0.0
// C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 4\Assemblies\System.Net.Http.dll
#endregion
using System;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
namespace System.Net.Http
{
// Provides a base class for sending HTTP requests and receiving HTTP responses
// from a resource identified by a URI.
public class HttpClient : HttpMessageInvoker
PEIYANGXINQU
6-Sep-13 2:18am
View
It seems nothing has changed
PEIYANGXINQU
5-Sep-13 10:35am
View
Hi,I use the center tag,but the result is like removing removing the "Float: Left;" .But I want that firstly the toydiv is in the left,and the button is in the right,and secondly the button is in the center of vertical in the right.Could you give me a sample?
PEIYANGXINQU
5-Sep-13 10:32am
View
If I remove,the btton is in the bottom of the toydiv.I want that firstly the toydiv is in the left,and the button is in the right,and secondly the button is in the center of vertical in the right.
PEIYANGXINQU
5-Sep-13 10:28am
View
Deleted
If I remove,the btton is in the bottom of the toydiv.I want that firstly the toydiv is in the left,and the button is in the right,and secondly the button is in the center of the right.
PEIYANGXINQU
29-Aug-13 11:35am
View
If my project have more than 10 models,means that I have to prepaire more than 10 views.It seems unrealistic,especially when I want to add a new model type to database but the site been published without this new model view.
PEIYANGXINQU
29-Aug-13 10:40am
View
It is shown in the same view but the view's content is different according to the return model's attribute of the controller.The requirement just like this, int the view left page,I show student,Fruit,and other model's name,when I click the student model name,in the view right page,it show the student model's attribute detail and I can also update the student student model's attribute value .when I click the Fruit model name,in the view right page,it show the Fruit model's attribute detail and I can also update the Fruit model's attribute value .
PEIYANGXINQU
29-Aug-13 10:22am
View
Thank you,but I'm afraid that this way may not be suitable for me.Because I have more than ten objectmodels in my project!My boss say that I can use key and value like dictionary<string,string> this way,and cycle of the output of the model attribute but I do not know how to start it.
PEIYANGXINQU
17-Jun-13 13:15pm
View
Thank you, when user use IE10 to view my web,you say these statements will not work ,but in fact in IE10 my scripts also work,I think because of '<!-->'.
PEIYANGXINQU
17-Jun-13 12:36pm
View
Deleted
Thank you, when user use IE10 to view my web,you say these statements will not work ,but in fact in IE10 my scripts also work,I think because of '<!-->'.
PEIYANGXINQU
27-May-13 12:16pm
View
Can you show me how to convert the Date in to UTC date before return to JSON? Now I read the birhday from database directly and return to JSON.I check my database,the birthday value like '2013-05-28 00:31:00.000',it seems not like the utc format.If my server time is not utc format, I want to change to time rely on clinet web brower,is it OK?For example,the server is in Beijing(utc+8),If I in utc+8 timezone,I get the data and add 8 hours,If I in utc+7 timezone,I get the data and add 7 hours.And another question,If the web server is in Utc+9 timezone like Tokyo,and I am in utc+7 timezone,am I also add 7 hours or 9 hours?As far as I know ,my database's birthday is not utc format and my web server is in Beijing(utc+8),and I am also in Beijing, ervery time I add the birthday from the server Json,I add the timezone(means 8 hours) manually,it runs well!
PEIYANGXINQU
2-Apr-13 1:24am
View
like this: http://jsfiddle.net/maertz/qf5m3/,the img's url is so long
PEIYANGXINQU
30-Mar-13 10:17am
View
I change to return JSon(File(str, "attachment;filename=" + "TempFile.xls"},JsonRequestBehavior.AllowGet );
but still fail: it did not Pop-up a window.
PEIYANGXINQU
26-Mar-13 9:03am
View
data["Jhon"].Grade is wrong,I have try again,may be I should use other library.
PEIYANGXINQU
26-Mar-13 9:03am
View
data["Jhon"].Grade is wrong,I have try again,may be I should use other library.
PEIYANGXINQU
22-Jan-13 7:33am
View
Thank you very much,it works well.Can I ask the last question?You say LineAnnotation which does not display the text,then where is
LineAnnotation used in mainly?
PEIYANGXINQU
22-Jan-13 0:24am
View
Do you have run the code?I run,but it still do not work.This is the result:https://www.yousendit.com/download/UW13blR1Z2pWRC80WjlVag
PEIYANGXINQU
21-Jan-13 21:59pm
View
Thank you! I have change the type,but it still does not work.Can you give me a example??
PEIYANGXINQU
21-Jan-13 20:45pm
View
I have do this in the code up at line four,but it do not work
chart1.Series.ElementAt(0).ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
PEIYANGXINQU
17-Jan-13 13:00pm
View
Usually in windows 2008 r2 box,does the port 25 is default to opened automatically?
Did I need to add port 25 in firewall to open manually or it is default to opend by the system?I using c# code,it seems I do not need to install smtp server in my system!!!
PEIYANGXINQU
14-Jan-13 0:05am
View
StatusCode: GeneralFailure
Message: 在 System.Net.Mail.SmtpClient.Send(MailMessage message)
StackTrace: 在 AutoMail()(My method code is up,and the name is AutoMail)
Do win2008 R2 need to configurate something when send mail???
PEIYANGXINQU
3-Dec-12 7:49am
View
Can you tell me why is 512? Thank you!
PEIYANGXINQU
3-Dec-12 7:45am
View
Some one say that the limit is 256, because of 8 bit and 2^8=256
PEIYANGXINQU
20-Sep-12 13:54pm
View
If I use tooltip,when I move to the chart and no drag the point ,It is OK!
But when I move to the chart and no drag the point ,It shows nothing!
PEIYANGXINQU
13-Sep-12 13:43pm
View
Thank you for answert.I didn't solve the first question,and think the second question have some connection with it.
PEIYANGXINQU
9-Sep-12 8:10am
View
OK,I will try, the config file make it difficult.By the way,do you know how to send a mail attacted with a file like txt,word,png?
PEIYANGXINQU
8-Sep-12 16:10pm
View
http://www.dotnetfunda.com/articles/article1074-how-to-send-an-email-in-silverlight-part-1.aspx,I have do something wrong in the last step,Do you have a source project example,please?
PEIYANGXINQU
2-Sep-12 12:47pm
View
Thank you ! But I really see my teacher's software file called calculat.exe which built by c# language.At first the software runs well,but after 7 days it can not run because my teacher say that he has set the operation and make it can run only 7 days.How to do that ,please?
PEIYANGXINQU
30-Aug-12 9:55am
View
Export is now OK,but the import web I can not open it!!
PEIYANGXINQU
29-Aug-12 10:50am
View
Thank you.It is export,I am reading now.
PEIYANGXINQU
7-Aug-12 14:17pm
View
Both, I think we can optimize this.
PEIYANGXINQU
7-Aug-12 13:40pm
View
I have reference the dll,but I did not find the control.Can you tell me where to find it?
PEIYANGXINQU
21-Jul-12 2:58am
View
enen,Thank you very much!
PEIYANGXINQU
21-Jul-12 2:41am
View
Ok,Thank you! May I ask whick Tag should I mark?
PEIYANGXINQU
8-Jul-12 3:20am
View
Thank you,I find a bug in the software,when export time ,it seems wrong
PEIYANGXINQU
8-Jul-12 1:37am
View
OK,I have edited again,Thank you!
PEIYANGXINQU
28-Jun-12 3:40am
View
I will try it,Thank you very much!
PEIYANGXINQU
27-Jun-12 23:09pm
View
In silverlight,it have not Graphics and TextureBrush class.I dont know how to do that
PEIYANGXINQU
27-Jun-12 23:01pm
View
user input a string, and then click the button,it shows the string that using the font which is choosen by user!(new Font(font, fontSize)) ,user can set the font and fontsize
PEIYANGXINQU
30-May-12 22:09pm
View
in this web http://technoblizzard.blogspot.in/2007/09/tree-view-in-dropdownlist.html,can I directly set the datasource of dropdownlist to be treeview?
PEIYANGXINQU
9-May-12 0:21am
View
I have export other data column,but lack of the picture column
PEIYANGXINQU
23-Apr-12 10:19am
View
Thank you,I am looking at the codes which you provide.
PEIYANGXINQU
14-Feb-12 11:07am
View
if ((e.Item.ItemType == ListItemType.Item) | | (e.Item.ItemType == ListItemType.AlternatingItem)),here ListItemType.Item means all the item,and I think (e.Item.ItemType == ListItemType.AlternatingItem) is redundant,is that right?
PEIYANGXINQU
28-Nov-11 14:11pm
View
I have show my code,but still have exception.
//debugs Exception,Array bounds because reclength=1024*1024*2;
Buffer.BlockCopy(arr, 0, receiveBytes,recLength,arr.Length );
PEIYANGXINQU
28-Nov-11 14:02pm
View
Dear John Simmons,Is your code like this:
byte[] receiveBytes= new Byte[1024 * 1024 * 2]; byte[] arr=new byte[1024*5]; Buffer.BlockCopy(receiveUDPClient.Receive(ref remote), 0, receiveBytes, 0, receiveUDPClient.Receive(ref remote).Length); int recLength = receiveBytes.Length;//debug says recLength=1024*2*1024
PEIYANGXINQU
28-Nov-11 13:59pm
View
1.if arr is initializied,it must have a certain size?(You say instead of it?)
2. arr.Length should have the size of the buffer being copied.
Is there a conflict between 1 and 2?
PEIYANGXINQU
26-Nov-11 4:36am
View
if it doesn't exist will be ignored. This is the answer.
At first,I think if it doesn't exist,it will create it automatically.
Thank you ,OriginalGriff!
PEIYANGXINQU
26-Nov-11 4:28am
View
when I use "sfd.AutoUpgradeEnabled = true;" ,it show in a defualt path(not d:\temp);when I use "sfd.AutoUpgradeEnabled = false;" it show in the current app directory;It seems that sfd.InitialDirectory = @"d:\temp"; doesn't do anyting!!!
PEIYANGXINQU
22-Nov-11 11:21am
View
Hello. Is there any number of businesses are using or have already released a Web site? I had sql server example,thank you anyway。Any shop or bank using reporting service?
PEIYANGXINQU
18-Nov-11 7:40am
View
Thank you.I was reading this carefully
PEIYANGXINQU
18-Nov-11 5:51am
View
Thank you!It is not a test,it is a practise from a book without answer,I do not know whether it is right or not.
PEIYANGXINQU
6-Nov-11 5:01am
View
I have try to fix it many times ,but I can not do it. <img src="http://hi.csdn.net/attachment/201111/3/3652857_1320325279YaZf.jpg" alt="picture"/>Can you tell me how to upload a picture to this websit?Thank you!
PEIYANGXINQU
3-Nov-11 14:35pm
View
En,Thank you very much.You way is better than the direct calculation.
PEIYANGXINQU
3-Nov-11 9:46am
View
Thank you.May be we do not have to calculate the result.
PEIYANGXINQU
3-Nov-11 8:40am
View
BigInteger answer = BigInteger.Pow(449, 524);
Console.WriteLine(answer.ToString());
Console.WriteLine(answer.ToString().Substring(answer.ToString().Length-4, 4));
Thank you!
PEIYANGXINQU
3-Nov-11 8:13am
View
Thank you all. In the beginning I thought there may be a simple algorithm to solve,and we do not have to calculate the result.Bobjanova's solution is firstly calculate the result.
PEIYANGXINQU
3-Nov-11 8:09am
View
No,it just an interview question,it ask me to make codes to solve it
PEIYANGXINQU
12-Apr-11 11:57am
View
Oh my god,is it wrong?
PEIYANGXINQU
11-Apr-11 9:47am
View
Thank you!I'm curious about this stuff,May be it is used by API
PEIYANGXINQU
10-Apr-11 3:17am
View
using System.Numerics.BitInteger (only available in the .NET Framework v.4)??Does it provide ready-made class?
Maybe we can write a class,but I think is not simple
PEIYANGXINQU
9-Apr-11 13:07pm
View
Thank you.No,I just wonder how they do that
PEIYANGXINQU
7-Apr-11 13:19pm
View
I find this way,but not RSA.
System.Security.Cryptography.RandomNumberGenerator gen = System.Security.Cryptography.RandomNumberGenerator.Create();
byte[] data = new byte[100];
gen.GetBytes(data);
Show More