Click here to Skip to main content
14,976,689 members

Comments by Manoj Chamikara (Top 87 by date)

Manoj Chamikara 12-Jul-18 5:12am View
   
Thank You I got the answer in MySQL Documentation you gave
Thank You For Your Valuable Time

Final Code looks like this
<entityframework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/>
<providers>
<provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6"/>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>

Manoj Chamikara 21-Feb-17 10:15am View
   
Thank You Very Much
That is the problem
i change the object class like you said then it's work fine
(Question updated)
Manoj Chamikara 21-Feb-17 9:46am View
   
inner exception is null
this is all i get

One or more validation errors were detected during model generation:
EntityType 'customerDetails' has no key defined. Define the key for this EntityType.
saveCus: EntityType: EntitySet 'saveCus' is based on type 'customerDetails' that has no keys defined.
Manoj Chamikara 21-Feb-17 9:07am View
   
No No actual values are different for the post i change values but same arguments
Manoj Chamikara 4-Sep-14 11:28am View
   
Thank You Very Much Your Grate Response to My Question I Update My Question with my code sample as you say using StringBuilder but first time it works perfectly for example fist time user input "A" then label1 shows it then user type "AS" then label show it but user again type "A" it doesn't show in label what is the wrong in my code?
Manoj Chamikara 4-Sep-14 4:22am View
   
can you more explain please
Manoj Chamikara 4-Sep-14 2:31am View
   
Thank your reply
i want check key combination for a example user enter "asd" in order when trigger something and input"as" another and input like "ase" different something like that any idea how should i do that?
Manoj Chamikara 4-Sep-14 2:15am View
   
thanks your solution i tried key event it check one by one key but i want check key combination for a example user enter "asd" in order when trigger something and input"as" another and input like "ase" different something like that any idea how should i do that
Manoj Chamikara 29-Aug-14 3:11am View
   
Thank You very much
i have another problem how can i use AForge.Net's ExhaustiveTemplateMatching any tute ?
Manoj Chamikara 29-Aug-14 2:48am View
   
Yea true but i need windows form application to find one image inside of another image any idea
Manoj Chamikara 29-Aug-14 2:43am View
   
I import images as a files first i import first image and then import second image to find the X,Y coordinates of the image 1 if find the image 1 in the image 2
Manoj Chamikara 23-May-14 1:40am View
   
I contact them via official website contact form they still not responding
Manoj Chamikara 5-May-14 18:33pm View
   
Update it but not works
I'm also update in my question now same in my text editor's code
Manoj Chamikara 5-May-14 18:01pm View
   
I cut Script tag and past it to under body tag but nothing change dude
I'm using notepad++
Manoj Chamikara 5-May-14 17:55pm View
   
Deleted
@Sergey Alexandrovich Kryukov
Thank you Quick Response Can you more explain please how to do that
Manoj Chamikara 5-May-14 17:55pm View
   
Deleted
@Sergey Alexandrovich Kryukov
Thank you Quick Response Can you more explain please how to do that
Manoj Chamikara 5-May-14 17:55pm View
   
Deleted
@Sergey Alexandrovich Kryukov
Thank You Quick Response Can you more explain please How to do that
Manoj Chamikara 5-May-14 17:52pm View
   
@Sergey
Thank you Quick Response Can you more explain please how to do that
Manoj Chamikara 24-Apr-14 17:56pm View
   
I'm already try it @Wes Aday fist time .txt file move to the desktop then application Startup location last C: but result is same
Manoj Chamikara 24-Apr-14 17:53pm View
   
sorry about that forms remove and update question
using (StreamReader reader = new StreamReader(@"C:\lol.txt")) // this line error comes this is the scrn shot - http://s18.postimg.org/9zbpt9g3d/image.png
Manoj Chamikara 22-Nov-13 5:03am View
   
Thank You Arun
Manoj Chamikara 7-Nov-13 14:34pm View
   
You right Thank you my problem solved
Manoj Chamikara 7-Nov-13 14:27pm View
   
@OriginalGriff Thank your quick response yes dude i code like that
i improve question with code
Manoj Chamikara 7-Nov-13 9:08am View
   
Yes 100% positive
Manoj Chamikara 5-Nov-13 2:19am View
   
Row insert properly ExecuteNonQuery () returns the value 1 . When I check the database right click table and show table data there is no new row I insert but I insert the same data again error occurred "Duplicate value cannot be inserted into a queindex .............. "
Why is that?
i cannot find why is that
Thank you so much your reply sorry about my late
Manoj Chamikara 4-Nov-13 12:47pm View
   
Thank you dude :)
Manoj Chamikara 4-Nov-13 0:12am View
   
@Tadit
Correct
Thank you Dash !
Manoj Chamikara 3-Nov-13 12:48pm View
   
@OriginalGriff
Griff Thank you so much dude It works
Thank you very very very Much
:)
Manoj Chamikara 3-Nov-13 12:46pm View
   
@Richard
Thank Your quick response :)
OriginalGriff Solution (Solution 1) works
Manoj Chamikara 23-Oct-13 3:45am View
   
Thank you phil appreciate your help
Manoj Chamikara 23-Oct-13 3:36am View
   
Thank you very much phil
I put a message box to find where the error message box 1 to 5 popup but message box 6 not pop up


MessageBox.Show("1");
using (SqlCeConnection con = new SqlCeConnection("Data Source=""H:\\application\\database.sdf"""))
try
{
MessageBox.Show("2");
con.Open();
MessageBox.Show("3");
SqlCeCommand com = new SqlCeCommand("SELECT * FROM tbl_user WHERE u_id=@u_id", con);
MessageBox.Show("4");
com.Parameters.AddWithValue("u_id", 1);
SqlCeDataReader reader = com.ExecuteReader();
MessageBox.Show("5");
string name = reader["u_name"].ToString();
MessageBox.Show("6");
MessageBox.Show(name);
con.Close();
}
catch (SqlCeException e)
{
MessageBox.Show(e.Message)
}
Manoj Chamikara 23-Oct-13 3:13am View
   
Thank you phil I change the code but still the same thing
No error
No data retrieving
And update the question
Manoj Chamikara 23-Oct-13 2:35am View
   
@spshewale local database SQL server compact edition , file extension (.sdf)
Manoj Chamikara 20-Oct-13 10:25am View
   
Thank you Bill for clearly details with examples :)
Manoj Chamikara 20-Oct-13 10:19am View
   
It's Works Thanks for your help :)
Manoj Chamikara 20-Oct-13 10:17am View
   
Thanks for your response
No errors but an error occurred application runtime

parsing "\" - Illegal \ at end of pattern.
Manoj Chamikara 17-Aug-13 15:05pm View
   
Reason for my vote of 5 \n Download solution Error
I used G.Chrome and get error like this

Page Not Found
Unfortunately the page you requested was not found.
Manoj Chamikara 9-Aug-13 13:45pm View
   
yes dude card_no_input is name of the textbox
i change this
newCmd.Parameters.AddWithValue("@Card_no", card_no_input.ToString());

to this
newCmd.Parameters.AddWithValue("@Card_no", card_no_input.Text);

now it's works prefect and it's also update the database
THANKS A LOT your quick response
Manoj Chamikara 9-Aug-13 2:01am View
   
:)
Manoj Chamikara 9-Aug-13 1:43am View
   
Thank You Rohan It works :) really appreciate your quick response with code

i get this error when reader.Close(); in the while loop
Invalid attempt to call Read when reader is closed.

so i put reader.Close(); out of the wile loop now it's ok

while (reader.Read())
{
//..........

}
reader.Close();
Thanks again
Manoj Chamikara 9-Aug-13 1:43am View
   
Thank You Rohan It works :)
Manoj Chamikara 30-Jul-13 15:42pm View
   
Thank You Sushi Mate
Manoj Chamikara 30-Jul-13 2:23am View
   
no any errors they just blank
my app have 2 textbox i so i save textbox's text when click save button and load save data form load event
Manoj Chamikara 30-Jul-13 0:56am View
   
yep that's the problem :(
Manoj Chamikara 30-Jul-13 0:52am View
   
.config file is in my debug folder but .exe save data and reload save data without .config file so when i change location lost all saved data in .exe
Manoj Chamikara 22-Jul-13 13:52pm View
   
I don't know man my ricktextbox output like this : 1.jpg2.jpe3.wma4.mp4 without Environment.Newline

whatever dude appreciate Your Help i really do
Manoj Chamikara 22-Jul-13 9:48am View
   
dude in this
allfiles.AppendLine(r);
output in richtextbox :1.jpg2.jpe3.wma4.mp4
that's why i use
allfiles.Append(r).Append(Environment.NewLine); then output in richtextbox
1.jpg
2.jpe
3.wma
4.mp4
Manoj Chamikara 22-Jul-13 8:35am View
   
i give 5min and move my application's form side of window then application not responding
Thank you for your response
Manoj Chamikara 22-Jul-13 8:31am View
   
Hay dude Thanks for the quick response i modified my code like this it works.
Thank you so much check my code is it you say?

StringBuilder allfiles = new StringBuilder();
string[] filePaths = Directory.GetFiles(@path, "*", SearchOption.AllDirectories);
foreach (var item in filePaths)
{
var r = item.Substring(item.LastIndexOf(@"\") + 1);

allfiles.Append(r).Append(Environment.NewLine);

}
richTextBox1.Text = allfiles.ToString();
Manoj Chamikara 21-Jul-13 9:12am View
   
Thank you dude
Manoj Chamikara 21-Jul-13 8:37am View
   
Thank You dude i update my code you Notice now it's fine
foreach (var file in allFiles)
{
richTextBox1.Text = richTextBox1.Text+file.Name + " " + File.Length+Environment.NewLine;
}
Manoj Chamikara 21-Jul-13 8:29am View
   
i know dude. if i show my code you can help me easier that's my fault sorry about that. by the way your links are grade thanks again
Manoj Chamikara 21-Jul-13 6:49am View
   
Thank you OriginalGriff You always help my questions
Manoj Chamikara 21-Jul-13 6:48am View
   
of course i'm stuck. that's why i'm here. don't misunderstand me. i didn't Show code that's my fault your links are very useful Thanks a lot ridoy
Manoj Chamikara 21-Jul-13 6:37am View
   
Thank you very much Maimonides that's very useful
Manoj Chamikara 21-Jul-13 6:05am View
   
sorry about my poor English
Manoj Chamikara 21-Jul-13 6:05am View
   
var di = new DirectoryInfo(path);
var allFiles = di.GetFiles("*", SearchOption.AllDirectories);
foreach (var file in allFiles)
{

richTextBox1.Text = file.Name + " " + file.Length;
}

path is select path from folderBrowserDialog1
i use this code for that but only i get one file name and it's size only :(
Manoj Chamikara 6-Jul-13 14:00pm View
   
@Syed Asif Iqbal Thank You dude
Manoj Chamikara 7-Apr-13 0:48am View
   
Thank You Sergey Alexandrovich Kryukov i will try Regex.Replace Method
Manoj Chamikara 17-Mar-13 3:46am View
   
Thank You gajenp Appreciate your help
Manoj Chamikara 17-Mar-13 0:15am View
   
Thank You all
Appreciate all of your help
Manoj Chamikara 15-Mar-13 5:51am View
   
Thank you
Manoj Chamikara 15-Mar-13 5:37am View
   
Prasad Khandekar Thank you
I'm new to C# I'm not clear can you more explain
How to correct my error
Manoj Chamikara 15-Mar-13 5:35am View
   
Richard MacCutchan Yes I'm 100% sure i'm using correct username and password
Manoj Chamikara 14-Mar-13 15:38pm View
   
This Error Comes when email send
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at

How to secure connection?
Manoj Chamikara 14-Mar-13 15:01pm View
   
Thank You Now i understand what's happen
Manoj Chamikara 14-Mar-13 14:42pm View
   
ThePhantomUpvoter Thank You
How Should i correct it
Manoj Chamikara 7-Mar-13 2:23am View
   
Thank you phil.o
Can I get official link to Download?
Manoj Chamikara 7-Mar-13 0:02am View
   
There is no any instances.
what should i do
http://www.imagesup.net/?di=13136263249416
Manoj Chamikara 6-Mar-13 13:00pm View
   
You are the man dude. it works
But i have a another problem when i connect to the local server what is the server name
I give this things but it's not works to me
name-pc\SQLEXPRESS
name-pc\SQL2K8R2
(LOCAL)\SQLEXPRESS
(LOCAL)\SQL2K8R2
.\SQLEXPRESS
.\SQL2K8R2
Manoj Chamikara 6-Mar-13 10:03am View
   
Thank You So Much Khorshed Alam, Dhaka I will do it
Manoj Chamikara 6-Mar-13 8:16am View
   
Khorshed Alam, Dhaka No I not install this one
Is it impotent?
i don't know Which one i need to choose?
My OS Windows 7 64bit
Manoj Chamikara 6-Mar-13 5:16am View
   
My OS windows 7 64bit
yes both are the 64 bit versions windows 7 and SQL Management Studio 2012
Manoj Chamikara 6-Mar-13 4:54am View
   
Windows 7 64bit
Manoj Chamikara 6-Mar-13 4:53am View
   
thank you Khorshed Alam, Dhaka but my pc have more than requirments
Manoj Chamikara 17-Feb-13 3:17am View
   
Thank you very much OriginalGriff
Manoj Chamikara 15-Feb-13 2:24am View
   
Thanks for the help vikrant vaibhav
Manoj Chamikara 15-Feb-13 2:23am View
   
Thanks for the help Vinod kumarnie
Manoj Chamikara 15-Feb-13 2:18am View
   
Thanks dude It's Works Thanks a lot again it very helpful
Manoj Chamikara 15-Feb-13 2:12am View
   
Deleted
Thanks dude It's Works Thanks a lot again it very helpful
Manoj Chamikara 15-Feb-13 1:58am View
   
vinodkumarnie my time comes from separated 3 variables how should i apply for this ?
Manoj Chamikara 15-Feb-13 1:55am View
   
CS2011 I need sum of time in same date anyway thank you CS2011
Manoj Chamikara 20-Dec-12 6:02am View
   
@OriginalGriff Thanks in advance
Manoj Chamikara 20-Dec-12 5:39am View
   
@Abhishek Pant i want to extract two file to tempory folder and use them and delete when the program close
Manoj Chamikara 20-Dec-12 5:38am View
   
Deleted
@Abhishek Pant i want to extract two file to tempory folder and use them and delete when the program close
Manoj Chamikara 20-Dec-12 5:30am View
   
i hope now you clear my question
Manoj Chamikara 20-Dec-12 4:32am View
   
<pre lang="css">thanks but i need somthis like this
AxShockwaveFlash1.Movie = “Properties.Resources.my123.swf”;
not like this
AxShockwaveFlash1.Movie = “c:\my123.swf”;
is it possible ????