15,908,445 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 Member 10525430 (Top 62 by date)
Member 10525430
18-Mar-18 14:35pm
View
Sorry for confiliction
When i push the add cart image button. Normally it redirect me to product.aspx?id= page how ever when i press the button datalist itemcommand event didnt work and it diidnt forward me to the pruduct.aspx?id= page
Member 10525430
2-Oct-17 8:54am
View
sorry...
im getting count values on sql code.
but i want to get the all count values
like
Urun:(show count values of product sql code),Barcode:(showing count values of barcode sql code)
i think this is more understandable i hope
Member 10525430
3-Jul-17 6:29am
View
all the metod is:
public DataTable selectGrup()
{
DataTable dt = new DataTable();
var element = (from h in ent.REPORTHEADERs
join d in ent.REPORTDETAILS on h.FIS_NO equals d.FIS_NO
select new
{
h.SUBE_ID,
h.FIS_NO,
h.TERAZI_NO,
h.TERAZI_REYON_NO,
d.URUN_NO,
d.BIRIM_FIYAT,
h.SATICI_NO,
h.MUSTERI_NO,
h.FIS_ADET,
h.FIS_AGIRLIK,
h.TUTAR,
h.IPTAL,
h.ILK_ISLEM_TARIHI,
h.SON_ISLEM_TARIHI,
h.FIS_SAYISI,
h.TERAZI_ADIIP
}).Distinct().ToList();
dt = ToDataTable(element);
return dt;
}
my db have 3 item on report details,3 item on report header
when i run the program i get 2 same item for your code
Member 10525430
3-Jul-17 4:36am
View
its not working correctly
when i use your code i get only 2 same item
the other 2 different item not come
Member 10525430
3-Jul-17 4:19am
View
actually,
my db have 3 item
however when i use this entity code i get 9 item on gridview
Member 10525430
3-Jul-17 4:11am
View
how can i fix?
Member 10525430
3-Jul-17 4:03am
View
but its the datasource of gridview and when i erite firstordefault i get only one item but i have 3 item.
Member 10525430
16-May-17 3:13am
View
my problem is when the program is start,the exe control the directory which is include dll files however the exe is not use these dll files.it send error message " the exe stopped".When i copy the dll files on the exe's directory it works fine
Member 10525430
16-May-17 3:13am
View
its not about assemblyfile string it comes true.
Member 10525430
15-May-17 12:53pm
View
problem is when i run the exe files igot error
however i put the dll files debug directory the program is run
Member 10525430
11-Mar-17 6:51am
View
Thanks
Member 10525430
10-Mar-17 5:05am
View
i found the the error on 4 days ago question.This is different error this is i cant run the pass time span it catch exception.
Member 10525430
9-Mar-17 0:29am
View
Its Not work for me.
Does any other idea?
Member 10525430
8-Mar-17 6:15am
View
are there any other options?
Member 10525430
8-Mar-17 6:10am
View
i dont want to run any application.
its in my code method.
Windows task schewduler run applications shedulerly.
However i wantto c# methods works shedulerly.
Member 10525430
3-Nov-16 15:04pm
View
i changed left join to fullouter join but it doesnt work
Member 10525430
3-Nov-16 15:03pm
View
con.Open();
FbDataAdapter da = new FbDataAdapter("select t.islem_tipi,t.durum,t.tarih,sis.adi,ter.adi,u.adi from transfer t INNER JOIN sube s ON s.id=t.sube_id JOIN sistem sis on s.id=sis.sube_id join terazi ter on ter.id=t.terazi_id left join urun u on u.id=t.islem_id", con);
da.Fill(dt);
Member 10525430
5-Aug-16 8:01am
View
my code is use some extension c# class dll
and this problem is not about one code its about all project.
Member 10525430
3-Aug-16 6:45am
View
sorry i write it examply
i add original txt lines
Member 10525430
2-Aug-16 9:02am
View
Yeap thats true but i need esc bcs this xml file in my device xml file and it seperate command by esc
Esc is asci seperator for my device
How can i do read this esc?
Member 10525430
13-Jun-16 9:11am
View
hahaha
i tried it many times and nothing change
Member 10525430
13-Jun-16 8:48am
View
its said its succesfull but i cant see the table on database>tables part
Member 10525430
9-Jun-16 5:34am
View
textbox.text =null or empty
Member 10525430
7-Jun-16 4:26am
View
i ask you how can i change my create triger code to not need super privilege one
Member 10525430
7-Jun-16 2:38am
View
i got this error "#1419 - You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)"
Member 10525430
7-Jun-16 1:52am
View
i got this error"
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 5
"
Member 10525430
6-Jun-16 14:05pm
View
it works my localhost mysql server fine.
However it doesnt work my host site
And i need to use this code in my hosts site
Member 10525430
27-May-16 9:36am
View
its return null
Member 10525430
28-Apr-16 4:57am
View
its available
Member 10525430
27-Apr-16 9:49am
View
when i press the button nothing happened.
no working button action
Member 10525430
27-Apr-16 9:43am
View
its not working and button action never called
Member 10525430
27-Apr-16 8:31am
View
what do you need? in my code?
Member 10525430
22-Apr-16 4:05am
View
its not working
Member 10525430
13-Apr-16 10:07am
View
when im in default.aspx,i try to redirect product.aspx, but when i tried to redirect product.aspx page,product page does not open and "....default.aspx#" writes on web browser navigation.
on the other hand, when i try to redirect product.aspx page on other pages,i can be go to the page correctly.
P.S.:i use button to navigate product.aspx and this button in the masterpage.
i use same masterpage button to navigate.
Member 10525430
29-Mar-16 4:46am
View
its comming like:
<pre lang="xml"><field name="ORDERNUMBER" value="95010">;
its cross i cant understand why it it
Member 10525430
29-Mar-16 3:42am
View
are you kidding me?
what i asked? and what did you answer?
look at my question.
i know how can i create xml
but i cant create which have 2 attributes like that.
Member 10525430
2-Mar-16 4:15am
View
when i write !important i cant change the url.i want to change the url dynamicly
Member 10525430
2-Mar-16 4:04am
View
"../images/bnr3.jpg"
i want to change the pictures from different one when the websites works.and the picture url is in the css files
Member 10525430
22-Feb-16 5:00am
View
Its not working
when i write "MessageBox.Show("Hi\r\nMy Name is");"
The Output:
Hi Name is
It works fine how ever when i read the text in txt files,there are problem
S.TXT:
Hi\r\nMy Name is
C#:
string text = System.IO.File.ReadAllText("c:\\S.txt");
MessageBox.Show(text);
Output:
Hi\r\nMy Name is
Member 10525430
22-Feb-16 4:48am
View
but i dont want to show messagebox Hi\r\nMy Name is
i want
Hi
My Name is
Member 10525430
22-Feb-16 3:58am
View
message box show "Hi\r\nMy Name is"
Member 10525430
22-Feb-16 3:43am
View
A.txt:
D/Hi\r\nMy Name is
C#:
string[] Text = Regex.Split(lines[i], "D/");
"I split the txt lines from D/"
MessageBox.Show(Text[1]);
Text[0]=D/
Text[1]=Hi\r\nMy Name is
and messagebox's message is "Hi\r\nMy Name is"
Member 10525430
3-Feb-16 10:38am
View
i used pWideChar
Member 10525430
3-Feb-16 6:34am
View
Sergey thanks i fix the problem and CPallini thanks to you
Member 10525430
2-Feb-16 8:10am
View
i got "An unhandled exception of type 'System.Runtime.InteropServices.SEHException' occurred in WindowsFormsApplication1.exe"
this error
Member 10525430
2-Feb-16 8:07am
View
And dll have some procedure function
Member 10525430
31-Dec-14 2:56am
View
I wrote this code its work fine but if xml file exist the code didnt do anything?
i clean up the xml file's code then i try its not work:(
Member 10525430
12-Dec-14 11:01am
View
Console:
12-12 10:57:42.960 830-830/com.example.onur.tcpserver D/dalvikvm﹕ Not late-enabling CheckJNI (already on)
12-12 10:57:45.360 830-830/com.example.onur.tcpserver D/AndroidRuntime﹕ Shutting down VM
12-12 10:57:45.360 830-830/com.example.onur.tcpserver W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0xb4a96ba8)
12-12 10:57:45.370 830-830/com.example.onur.tcpserver E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.example.onur.tcpserver, PID: 830
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.onur.tcpserver/com.example.onur.tcpserver.MyActivity}: android.os.NetworkOnMainThreadException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.os.NetworkOnMainThreadException
at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1145)
at libcore.io.BlockGuardOs.accept(BlockGuardOs.java:54)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:98)
at java.net.ServerSocket.implAccept(ServerSocket.java:203)
at java.net.ServerSocket.accept(ServerSocket.java:128)
at com.example.onur.tcpserver.MyActivity.runTcpServer(MyActivity.java:53)
at com.example.onur.tcpserver.MyActivity.onCreate(MyActivity.java:23)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
12-12 10:59:28.323 1120-1120/com.example.onur.tcpserver D/AndroidRuntime﹕ Shutting down VM
12-12 10:59:28.323 1120-1120/com.example.onur.tcpserver W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0xb4a96ba8)
12-12 10:59:28.333 1120-1120/com.example.onur.tcpserver E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.example.onur.tcpserver, PID: 1120
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.onur.tcpserver/com.example.onur.tcpserver.MyActivity}: android.os.NetworkOnMainThreadException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
at an
Member 10525430
12-Dec-14 11:00am
View
Deleted
12-12 10:57:42.960 830-830/com.example.onur.tcpserver D/dalvikvm﹕ Not late-enabling CheckJNI (already on)
12-12 10:57:45.360 830-830/com.example.onur.tcpserver D/AndroidRuntime﹕ Shutting down VM
12-12 10:57:45.360 830-830/com.example.onur.tcpserver W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0xb4a96ba8)
12-12 10:57:45.370 830-830/com.example.onur.tcpserver E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.example.onur.tcpserver, PID: 830
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.onur.tcpserver/com.example.onur.tcpserver.MyActivity}: android.os.NetworkOnMainThreadException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.os.NetworkOnMainThreadException
at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1145)
at libcore.io.BlockGuardOs.accept(BlockGuardOs.java:54)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:98)
at java.net.ServerSocket.implAccept(ServerSocket.java:203)
at java.net.ServerSocket.accept(ServerSocket.java:128)
at com.example.onur.tcpserver.MyActivity.runTcpServer(MyActivity.java:53)
at com.example.onur.tcpserver.MyActivity.onCreate(MyActivity.java:23)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
12-12 10:59:28.323 1120-1120/com.example.onur.tcpserver D/AndroidRuntime﹕ Shutting down VM
12-12 10:59:28.323 1120-1120/com.example.onur.tcpserver W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0xb4a96ba8)
12-12 10:59:28.333 1120-1120/com.example.onur.tcpserver E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.example.onur.tcpserver, PID: 1120
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.onur.tcpserver/com.example.onur.tcpserver.MyActivity}: android.os.NetworkOnMainThreadException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
at android.app.
Member 10525430
12-Dec-14 10:41am
View
It is not problem on android studio,its problem from emulator.When i run the app the emulator says unable problem on this.This program are stopped.
Member 10525430
12-Dec-14 9:58am
View
Android program is crash.it says Unfortunalty the program determined or something like that:)
Member 10525430
12-Dec-14 8:51am
View
i mean client doesnt wait server's response message or server does not wait client's request for accept new user.
Member 10525430
11-Dec-14 6:55am
View
Any solution to this?
i stuck same problem
Member 10525430
10-Dec-14 7:15am
View
how can i find this code sample? do you give me the code?
Member 10525430
29-Nov-14 2:40am
View
WPF
Member 10525430
28-Nov-14 10:01am
View
Deleted
i add .show effects true but thereisnt any center or etc. menu:(
Member 10525430
25-Nov-14 6:27am
View
FtpWebResponse response = (FtpWebResponse)ftp.GetResponse();
the problem in here.
(550)Requested action not taken. File unavailable (e.g., file not found, no access).
Member 10525430
25-Nov-14 6:24am
View
how can i close ftp authentication on code?
because ftp server's doesnt have any user authentication
Member 10525430
25-Nov-14 4:52am
View
Its not solve my problem. how can i close ftp authentication on code?
Member 10525430
24-Nov-14 4:50am
View
The exceptions:The requested URI is invalid for this FTP command
Member 10525430
19-Nov-14 8:10am
View
i got this error:
An unhandled exception of type 'System.InvalidOperationException' occurred in System.dll
Member 10525430
19-Nov-14 8:00am
View
public void Start()
{
_listener = new TcpListener(IPAddress.Any, 21);
_listener.Start();
_listener.BeginAcceptTcpClient(HandleAcceptTcpClient, _listener);
}
public void Stop()
{
if (_listener != null)
{
_listener.Stop();
}
}
int counter = 0;
private void HandleAcceptTcpClient(IAsyncResult result)
{
TcpClient client = _listener.EndAcceptTcpClient(result);
_listener.BeginAcceptTcpClient(HandleAcceptTcpClient, _listener);
Iplist.Add(((IPEndPoint)client.Client.RemoteEndPoint).Address.ToString());
}
this is my all code. I want to write clients ips which are connected ftp server to listbox.
Show More