Click here to Skip to main content
15,400,390 members

Comments by Jibesh (Top 200 by date)

Jibesh 15-Dec-13 14:05pm View
   
improving the timeout value is not always a good option. I would suggest you to fine tune your SQL query which pulls the data for the first page only.

you can adapt something like this:
1. Getting the total rows count is faster than getting all the row data
2. have the grid pagination implemented in your screen and sql query
3. use the Page number and number of records per page to filter your data query from the sql data base
Jibesh 14-Oct-13 19:52pm View
   
make sure that the property is public and you build the control after making the changes and try getting the properties in your client control or class.
Jibesh 14-Oct-13 19:49pm View
   
listview does support a property called .SelectedIndex check following URL. try writing the code and compile to see it works or not. Visual Studio somestime may not display intellisense.

http://msdn.microsoft.com/en-us/library/system.windows.controls.primitives.selector.selectedindex.aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1
Jibesh 17-Mar-13 15:18pm View
   
Do not post commercial link/solution as an answer to a question unless otherwise OP has requested for it. Also why you answered for an old question which is already solved.
Jibesh 14-Mar-13 20:49pm View
   
not a solution, use Have a Question or Comment widget or reply link to post your comment. putting your comment as solution has fair chance that author see your message. using the other link it sends a notification so that other member can reply to you.

anyway i am going to delete this from solution.
Jibesh 14-Mar-13 20:43pm View
   
do not re-post the questions. If you want to modify your question use 'Improve Question' link to modify.
Jibesh 13-Mar-13 19:13pm View
   
I am not going to provide whole code - but a start up

int[] AccountArray = new Account[5]; this is wrong, you are trying to assign a wrong type hence the compiler error.

you should use like this.. give a try and I guess you are done.
Account[] AccountArray = new Account[5];
Jibesh 13-Mar-13 19:05pm View
   
very true!! I appreciate you managed to find an answer for it. my 5 ;)
Jibesh 13-Mar-13 16:07pm View
   
was these information are available as line by line... ?
Jibesh 13-Mar-13 15:53pm View
   
use the reply button to the question so that the author gets e-mail notification so that he can reply to your question asap. do not use the solution field to post your comments. I am going to delete this comment from the solution field.
Jibesh 13-Mar-13 15:51pm View
   
OP Replied as (moved his comments from solution to here.)

Suffering from cranial/rectal inversion. Had the databind event in the page load event which casused problems.
Jibesh 13-Mar-13 13:19pm View
   
What I have done in my case is. Download the USB-Serial Driver from Honewell site and wrote a serial port observer class to read the data. The device manual has the information on how to configure your device to behave your USB device as Serial Port device. read your manual on Programming-Interfacing scanner device.
Jibesh 12-Mar-13 15:35pm View
   
I take the honor to remove this as mentioned by SA
Jibesh 12-Mar-13 15:34pm View
   
SA. I take the honor to remove this :)
Jibesh 12-Mar-13 15:29pm View
   
what model of scanner device you are using? also the vendor?
Jibesh 12-Mar-13 15:28pm View
   
I am going to delete this question as its a repost.
Jibesh 12-Mar-13 15:19pm View
   
what is the value of "txtAmt.Text"
Jibesh 12-Mar-13 15:18pm View
   
You have already asked this question http://www.codeproject.com/Questions/551727/whileplusexecutingplusthispluscodeplusbelowplusIpl and the answer is quite right. why are you re-posting is here again. use "improve question" link to modify your question rather re-posting it doing so will mark you as Abuse. dont do that again
Jibesh 11-Mar-13 16:26pm View
   
not a solution deleting your post
Jibesh 8-Mar-13 20:55pm View
   
OP Posted his Comment as solution so moved the comment here

At "aryFi" there are 35 element
But "for each" works only 1 eteraction. why?
Jibesh 5-Mar-13 4:01am View
   
You can upload your image in this link and past the link here. since you said the return value is Byte array can you debug the method db.selectquery_One returns the proper value as expected. we dont know whats inside this method.
Jibesh 5-Mar-13 3:46am View
   
try to debug your application and see what's the value of 'totalDep' variable. it should be double type without any alphanumeric value.

debug and post the content of totalDep variable here
Jibesh 5-Mar-13 3:20am View
   
your question is incomplete. provide which UI Library you are trying to do this.
Jibesh 5-Mar-13 3:17am View
   
can you also try replacing length with LEN
Jibesh 4-Mar-13 18:32pm View
   
+5
Jibesh 4-Mar-13 18:25pm View
   
This is not an answer to the problem. do not post your problem/comments as solution. I am going to delete your solution. thank you.
Jibesh 3-Mar-13 5:13am View
   
put the application in debug mode and remove all the break points and press the F5 button and see if it popsup any error.

I dont see any reason not work if debug works fine and double click on exe on the same folder should also work.
Jibesh 3-Mar-13 5:07am View
   
OP Posted this comment as solution

no, there is something else
doesn't work
Jibesh 3-Mar-13 5:06am View
   
OP Posted this comment as solution

no, there is something else
doesn't work
Jibesh 3-Mar-13 5:06am View
   
use the Reply link or Have Question or Comment widget to post your comment. so that the author gets an email notification and reply to your question. posting your comment as solution doesnt send any notification to the author and fair chance to come back here and see what you posted here.

anyway I am going to delete this solution as it is not a solution. thanks
Jibesh 3-Mar-13 4:53am View
   
are you running the exe from the same location where it was build ? Also make sure that you copied the dependency files/dlls are also copied to the folder if you are running from a different location
Jibesh 1-Mar-13 20:44pm View
   
do not post commercial link unless OP requested for it. I am going to delete your solution. also I am not reporting you this time.
Jibesh 1-Mar-13 18:59pm View
   
Post this in Site Bugs and Suggestions forum. I am going to delete this for now.
Jibesh 1-Mar-13 18:54pm View
   
is your value member is valid ? also check query returns any values.
Jibesh 1-Mar-13 3:34am View
   
If you are asking for permission to diagnose the image. i grant you the permission.

Your question is not clear you need to be more specific in your question so that others can help you. use the Improve Question link at the right bottom of your question to modify your question.
Jibesh 1-Mar-13 3:25am View
   
why you answered for a 3 year old question which is already resolved ??
Jibesh 1-Mar-13 3:20am View
   
this is reposted question. http://www.codeproject.com/Questions/554908/canplusuplusplsplushelpplusmeplusNOpluswithplusthi

OP created some more and I delete others. hope I can delete this one too.
Jibesh 1-Mar-13 3:19am View
   
do not re-post the same question and again. have patience to get an answer for your question. re-post simply make your post reported as abuse and eventually you will loose your membership with this site. If you want to modify your question use the 'Improve Question' link at the right bottom of the question.

I am going to delete this duplicate entry. Also this site is used by professionals so do not you text speak use complete words. most of the members here doesn't like text to speak statements.
Jibesh 1-Mar-13 3:18am View
   
do not re-post the same question and again. have patience to get an answer for your question. re-post simply make your post reported as abuse and eventually you will loose your membership with this site. If you want to modify your question use the 'Improve Question' link at the right bottom of the question.

I am going to delete this duplicate entry. Also this site is used by professionals so do not you text speak use complete words. most of the members here doesn't like text to speak statements.
Jibesh 1-Mar-13 3:13am View
   
Right.
Jibesh 28-Feb-13 12:19pm View
   
This is not a solution and I am going to delete this.
Jibesh 28-Feb-13 2:38am View
   
"some files" what are they? and those files may be already in compressed mode. for eg jpg files.
Jibesh 28-Feb-13 2:32am View
   
do you have any idea on how the Compress was done?If you dont know that process then you are unlikely to decompress.
Jibesh 28-Feb-13 2:03am View
   
The best way is to google and find some sample source code and work with that If you have any trouble in using that then post the question here with more specific doubts rather like this. This is not a training site or online mentor program and this forum is for QA
Jibesh 28-Feb-13 1:57am View
   
This is not the solution for the OPs question. OP asked about selected Row and not the Clicked row. so my 1. sorry.
Jibesh 28-Feb-13 1:51am View
   
Do not re-post the question. If you have any changes to your question use Improve Question link at the right bottom of the question.

for now am going to delete this duplicate entry and do not repost in future
Jibesh 27-Feb-13 23:25pm View
   
Before submitting for the code review have you reviewed the code by self? There is some serious problem that you confused with local and member variable.

Have you tested this code atleast once?
You defined the struct myfile locally in all the places. Do you know how it works?
Jibesh 26-Feb-13 20:16pm View
   
Null reference error are easy to catch. run your application and debug mode and put a break point at the code where you find causing the exception thats all. you find the reason for the exception.

If you still have no clue paste the complete exception stack.
Jibesh 26-Feb-13 11:38am View
   
so what's your question here? If this is not a quesiton you may post this as Tip and not as question.

do not post this as questions.
Jibesh 26-Feb-13 11:34am View
   
Thank you
Jibesh 25-Feb-13 21:00pm View
   
do not repost the question again. If you want you can modify your question using the 'Improve Question' link at the bottom right of your question. do not repost delete the duplicate entry.
Jibesh 25-Feb-13 20:32pm View
   
Maxx.. is that you!! answering a pretty old question!!! ;) hope you didnt notice the date!!
Jibesh 24-Feb-13 15:39pm View
   
what are you trying to do?
Jibesh 22-Feb-13 13:18pm View
   
do no use MDI. event Microsoft is not encouraging that and finally they removed this feature from WPF and maintaining only in Win Forms for backward compatibility.
Jibesh 22-Feb-13 4:40am View
   
what error you are getting.The user name you passed to the second form will be displayed where you placed the label.

change to this line.
label1.Text ="Welcome to:("+ strTextBox+")";
Jibesh 22-Feb-13 3:35am View
   
You are right it's always the same company. Do we need this member.?
Jibesh 21-Feb-13 19:10pm View
   
do not post your answer as multiple solution , instead use 'improve solution' link to modify/edit your solution. Please delete the other solutions and add those to solution 1.
Jibesh 21-Feb-13 18:03pm View
   
do not post commercial link unless otherwise requested by the OP. otherwise you will be reported as spam. You may delete this answer if you want.
Jibesh 21-Feb-13 17:53pm View
   
These are very informative. Thanks again. +5
Jibesh 21-Feb-13 17:53pm View
   
Hey Sergey, thanks for your link. I think tabbed window is the better choice instead of MDI in case of Windows Forms. I will remove the MDI - choice from my answer.
Jibesh 21-Feb-13 2:34am View
   
To delete the question, you may find a X mark down your question.
Jibesh 21-Feb-13 2:33am View
   
You are welcome. there isnt much code except the string parsing.
Jibesh 21-Feb-13 2:29am View
   
my 5 for getting shocked!!
Jibesh 21-Feb-13 2:26am View
   
do not post your comments/questions as solution. use reply link or Have a Question or Comment widget to post your comment. please delete this post.
Jibesh 21-Feb-13 2:26am View
   
do not post your comments/questions as solution. use reply link or Have a Question or Comment widget to post your comment. please delete this post.
Jibesh 19-Feb-13 17:10pm View
   
it may be possible but if you can tell whats the need of such thing we can able to provide you a better way of doing it.
Jibesh 19-Feb-13 16:18pm View
   
+5. Length checking before accessing the array is always advisable.
Jibesh 19-Feb-13 15:46pm View
   
Please use the reply link to the answer to post a comment so that I get an email notification and can reply to you immediately.

it looks like invalid entries are passed from outside.so instead passing number pass array of index having invalid values and this array length should match with saleAmount array
Jibesh 19-Feb-13 14:45pm View
   
can you provide the sample 'salesAmount' array values you have tried.

Your method looks ok to me. value zero for lowest may be because you have an entry zero in salesAmount array. double check your input
Jibesh 19-Feb-13 12:27pm View
   
what you have tried. It works fine for me. may I see your code, your table column Names and how you are trying to get the values.

here is what I tried.

private void Form_Load(object sender, EventArgs e)
{
DataTable dt = new DataTable();

dt.Columns.Add(new DataColumn("Id", typeof(Int32)));
dt.Columns.Add(new DataColumn("DelayDays", typeof(Int32)));

dt.Rows.Add(6, 0);
dt.Rows.Add(8, 3);
dt.Rows.Add(9, 7);
dt.Rows.Add(10, 15);

this.comboBox1.ValueMember = "Id";
this.comboBox1.DisplayMember = "DelayDays";
this.comboBox1.DataSource = dt;
}

private void button1_Click(object sender, EventArgs e)
{
MessageBox.Show(this.comboBox1.SelectedValue.ToString());
}

You should note that column name of the table and the Value/Display member must match. check that too.
Jibesh 19-Feb-13 3:45am View
   
It's not the Application.Run. it might be somewhere in your Form class. Error like these are easy to identify and resolve. debug your application and check which part of the code these exceptions are throwing.
Jibesh 18-Feb-13 15:52pm View
   
ProductInfo PTM= new ProductInfo();
PTM.ProductTypeMasterID when you call like this what you are getting? any compiler error? or intellisense not working?
Jibesh 18-Feb-13 15:43pm View
   
Right!!! +5
Jibesh 17-Feb-13 4:00am View
   
check your form constructor and FormLoad event if used for any code which executes any method needs to be created or constructed. try to comment these lines and open the form.

let me know if you have any code written in those method
Jibesh 16-Feb-13 4:02am View
   
check the dock property of the control,also try to set this control "bring to front" just in case its hiding under some control.

If nothing works delete and add the control again and see it works second time.
Jibesh 16-Feb-13 3:38am View
   
hummm... too early to answer this question ;)
Jibesh 16-Feb-13 3:19am View
   
I agree with Sandeep. Please dont post "gimme code" questions in CP forum.
Jibesh 16-Feb-13 3:12am View
   
do we need to keep this question?
Jibesh 16-Feb-13 3:12am View
   
do we need to keep this question?
Jibesh 16-Feb-13 2:34am View
   
what do you mean by 'control cannot align and some property not display'. If you are not using any framework related methods then you are fine. Check the target framework.
Jibesh 15-Feb-13 18:46pm View
   
Your question is not clear. You may use the Improve Question link at the right bottom of your question to modify your question.

Please use the reply or have a question or comment widget to post your comment. do not post it as solution. thanks
Jibesh 15-Feb-13 18:13pm View
   
hmmmm... some people doesnt satisfied with what they are offered.
Jibesh 15-Feb-13 17:53pm View
   
what are you trying to do? why post an answer to an old question? delete this solution if you unknowingly post the answer.
Jibesh 15-Feb-13 17:51pm View
   
No its not possible. mouse move event gives the location in integer. i.e Pixel value of X and Y.
Jibesh 15-Feb-13 16:12pm View
   
Thanks. I posted a comment to him how to use the forum then deleted it.
Jibesh 15-Feb-13 13:56pm View
   
sorry it wont work like that. we dont do homeworks here.

so sit back and relax. think about the implementation do some coding step by step and ask the forum if you have any problem with your code and not with your question.
Jibesh 15-Feb-13 13:54pm View
   
Right!
Jibesh 15-Feb-13 13:44pm View
   
He posted the same question again and SA caught his attention and deleted. dont know what was his intention here.
Jibesh 15-Feb-13 13:40pm View
   
Do not repost the questions.

Answer to my comment for this post.
Jibesh 15-Feb-13 13:38pm View
   
This is an English speaking site, please change your title in english.

OK. it seems not a question anymore. what are you trying to do here?
Jibesh 15-Feb-13 13:35pm View
   
Deleted
This is not a solution. If you have comment use the Have a Question or Comment widget to reply OPs question. do not use solution field.

Delete this and post as comment or I will delete this.
Jibesh 15-Feb-13 13:11pm View
   
Please use the Have Question or Comment field or reply link to post your so that the author gets a notification and can reply to you immediately. If you post your comments as solution he wont get any notification and hardly find your question.

I moved your comments from solution to his reply. Now i am going to delete this solution. Thanks
Jibesh 15-Feb-13 13:09pm View
   
OP posted this comment as Solution. so moved his comments here.
OP Wrote
Well Thnx
I found it
it is first setting value of datetimepicker to string

i.e
Dim d = DateTimePicker1.Value.DayOfWeek.ToString


keep this solution this would help others
Thank You
Jibesh 15-Feb-13 4:04am View
   
OP Reply like this for one your query. you missed this post.

Mostafa Metwally - 7 hrs ago
i'm writing a number in the textbox
like 10 , 20 , 55 ... etc
and then press button
Jibesh 14-Feb-13 20:50pm View
   
Glad that helps.
Jibesh 14-Feb-13 20:39pm View
   
+5 for the proper conversion usage
Jibesh 14-Feb-13 20:31pm View
   
see my solution. on how to split the text input for a coma separated text.
Jibesh 14-Feb-13 20:22pm View
   
how do you want to process the input the textbox txttotal - ie 10,20,30,40

the value passed to esc.totsa must be 100 is that correct
Jibesh 14-Feb-13 20:18pm View
   
OMG - we all thought its a single number you are entering in your text box.

If you want to add a series of number entered into the total text box you need to split the text with coma separated and then calculate the sum.

But its not a good idea to ask the user to enter coma separated value. user may not have any clue how to enter the values unless someone sits near him
Jibesh 14-Feb-13 19:55pm View
   
SA is asking you to check the text you typed in the text box. may be you can reply with the inputs you entered in the textBox.

Also please use the reply link to post your comments so that the author who wrote the solution/comment gets a notification e-mail and he can reply back quickly.
Jibesh 14-Feb-13 12:11pm View
   
Thank You marcus
Jibesh 13-Feb-13 20:56pm View
   
SA can you give an example string??
Jibesh 13-Feb-13 18:55pm View
   
Please include the namespace "using System.Text.RegularExpressions;"
Jibesh 13-Feb-13 18:22pm View
   
That is reasonable,updated my answer.

Thanks.
Jibesh 13-Feb-13 17:28pm View
   
using parameter is the right choice which eliminates the SQL Injection problem. my +5
Jibesh 13-Feb-13 16:13pm View
   
No offence to post queries but what richcb is trying to say here try to do some search in google and you may find this question is already answered.

we have seen a lot here that same question is answered many time, it just over populate the forum. so its always recommended to do a enough search before posting a query here.
Jibesh 13-Feb-13 16:07pm View
   
Deleted
OP added this comment as solution so moved the comment here.

OP Wrote
thanx Zoltan..
this is realy helpful to understand...
Jibesh 13-Feb-13 16:06pm View
   
I am going to delete this solution because you were typed your comment under solution.
Jibesh 13-Feb-13 13:54pm View
   
some OPs find it hard to link the technology-requirement he/she may have correct this next time. who knows.
Jibesh 13-Feb-13 13:51pm View
   
+5
Jibesh 13-Feb-13 13:26pm View
   
in asp.net? seriously.

what are you trying to do?
Jibesh 13-Feb-13 13:18pm View
   
Thanks Abinav
Jibesh 12-Feb-13 20:13pm View
   
Glad that helped.
Jibesh 12-Feb-13 13:38pm View
   
you welcome.
if the above solution solved your problem, you can mark the solution as accepted.
Jibesh 12-Feb-13 7:29am View
   
You are welcome.

Warning!!!

dont use all caps in internet world which means shouting. not to many people here likes shouting(all caps). so be-careful next time.
Jibesh 12-Feb-13 7:23am View
   
does it work now?
Jibesh 12-Feb-13 7:23am View
   
label.Visible = false; very eazy. it will come to your mind when time passes...
Jibesh 12-Feb-13 7:18am View
   
hummm.. I guess I read your mind and you tried put a break point in the selecedIndexchanged method and it displays datagridviewrow right.

here is another tricky way - just reorder the statments use it like this

cmbJob.DisplayMember = "job";
cmbJob.ValueMember = "job";
cmbJob.DataSource = jobTable;

set the datasource, after setting the Value and Display member.! gime me my $
Jibesh 12-Feb-13 6:53am View
   
No it wont work. You need to set the DisplayMember and ValueMember to get the data. See my solution.
Jibesh 12-Feb-13 6:51am View
   
just like the way you use DisplayMember, set the ValueMember property. see my updated solution.

The reason why you need to set both DisplayMemeber and ValueMemeber is, it is possible to use different values for display and for internal processing.
Jibesh 12-Feb-13 6:38am View
   
moment.. i re-call something.. you need to set ValueMember also.. let me check it.. do read about.

http://msdn.microsoft.com/en-us/library/microsoft.dynamics.mobile.framework.controls.combobox.valuemember(v=mag.11).aspx
Jibesh 12-Feb-13 6:26am View
   
it would be nice if you can edit your answer by removing the shouting - change the letter case.

Thanks.
Jibesh 12-Feb-13 6:20am View
   
Yes. I think without installing into target PC how can you use that?

I correct the above statement. It says you can also use the binaries without having an installer.
Jibesh 12-Feb-13 6:18am View
   
do not shout at OP.

shouting - using all caps in your word is treated as shouting. dont use that in internet world unless you really mean it.
Jibesh 12-Feb-13 6:11am View
   
hmmmm... you lack some basics here.. you have to think that in otherway. Application-->"wmplayer.exe" supports different file systems i.e mpg,mp4 etc. and KM Player plays the other supported files.

so when you run this application a process wmplayer.exe is created and added to the OS process queue. when you call GetProcesses() API returns all the running applications(processes) in your computer.

The sample code what you given above works like:
1.Get All the Process currently running in your PC
2.Step 1 returns array of Process
3.Iterate through each process
4.Using the third party library (from codeplex) you get the files currently opened by the process
5.This method DetectOpenFiles returns all the file opened by the given process.

Hope you understand the concepts.
Jibesh 12-Feb-13 6:04am View
   
please use the reply link or Have a Question or Comment field to post your comment.so that the author will get a notification and he can reply back. do not post your comment as your solution.
Jibesh 12-Feb-13 5:39am View
   
Do you know ".avi", ".mkv", ".mpg", ".mp4", ".wmv" are just the file extensions and not the process extensions. Normally Process extensions are .exe only. what are you actually trying to do?
Jibesh 12-Feb-13 5:33am View
   
If you do not care about our inputs and suggestion then why I need to answer your question. I dont want to waste my time answering for your posts.
Jibesh 12-Feb-13 5:25am View
   
This is the final warning do not post the same question again and again. If you want to improve your question do update the same question rather posting it as a different one. also provide as much information you can so that author can get the clear picture of your problem. do stay with the author and follow his steps.

Posting the same question again again will mark you as a Abusive member and eventually you will loose the membership. I have already told you not to re-post the same question and others also did the same. do obey the forum rules.

thanks
Jibesh 12-Feb-13 5:09am View
   
duplicate entry so deleting this.
Jibesh 12-Feb-13 4:59am View
   
Thank you Edo Tzumer
Jibesh 12-Feb-13 4:58am View
   
I removed his comments from the solution.
Jibesh 12-Feb-13 4:57am View
   
This is not a solution so I am going to delete this.
always use the Have a Question or Comment widget to post your comment so that the author gets an e-mail notification and he can try to reply back.

One more thing dont use all caps in your statement - it means shouting and many of the member here doesnt like shouting.
Jibesh 12-Feb-13 3:03am View
   
where you created the ranNum instance inside loop? try to define it outside loop and use the ranNum.Next inside the loop to get the random number
Jibesh 12-Feb-13 2:43am View
   
am going to delete this question because its not relevant
Jibesh 12-Feb-13 2:41am View
   
duplicate entry. I am going to delete the duplicate entry
Jibesh 12-Feb-13 2:40am View
   
This is not a solution and I am going to delete this. Frame your question well so that others can understand and can able to find an answer for you.
Jibesh 12-Feb-13 2:37am View
   
This is a english language site, please use the proper language otherwise you will be reported for abuse and you may loose your membership for ever. Please update your question. you can use Improve Question link to update your question.
Jibesh 12-Feb-13 2:36am View
   
Your question is very poor. this is nothing at all. You can use Improve Question link to update your question. or delete this question. otherwise you will be reported for Abuse.
Jibesh 11-Feb-13 20:53pm View
   
oops my mistake.. will delete my solution!!! apologies. didnt notice the sFTP on the title, he mentioned only ftp in the subject.
Jibesh 11-Feb-13 20:47pm View
   
ooops check your link.. its not working.
Jibesh 11-Feb-13 18:56pm View
   
Deleted
why you answered an old question which was already accepted. dont do that again
Jibesh 11-Feb-13 14:18pm View
   
These questions are answered here thousand time and you can get the answers by running a simple search in google. anyway am going to delete this question. If you have trouble in your code, do paste your code so that we can help to solve that issue.
Jibesh 11-Feb-13 14:16pm View
   
Right. +5. The question is meaning less i am going to delete this.
Jibesh 11-Feb-13 13:52pm View
   
No Rich is not correct. The problem is OP added this checking to the DropDown onClick event which fires every time user clicks on it, and if the user choose index 0, it automatically select index 82 there by restricting the user to select index 0. but what OP wants here is index 82 must be selected by default later user can select any index he prefer.
Jibesh 11-Feb-13 13:52pm View
   
The problem is OP added this checking to the DropDown onClick event which fires every time user clicks on it, and if the user choose index 0, it automatically select index 82 there by restricting the user to select index 0. but what OP wants here is index 82 must be selected by default later user can select any index he prefer.
Jibesh 11-Feb-13 13:16pm View
   
+5
Jibesh 11-Feb-13 13:04pm View
   
how do you add the reference files to your project?
Jibesh 11-Feb-13 13:03pm View
   
This solution is copied from this link . do mention the link where you get the solution.
Jibesh 11-Feb-13 10:45am View
   
do not post the commercial link in your answer or any were in this site. You will be reported for abuse if you do so again. I have removed the commercial link from your solution. Thanks
Jibesh 11-Feb-13 1:50am View
   
i dont see any update on the strsql variable value, query preparation statement please update with correct code. looks like you havent modified the code snippet what i typed above.
Jibesh 11-Feb-13 1:33am View
   
can you paste the updated code. From the exception its clearly says there miss match with the parameter name passed.
Jibesh 11-Feb-13 1:03am View
   
if you are using some thirdparty/custom grid you better post this question in their own site. I doubt you get some help for these kind questions here.
Jibesh 11-Feb-13 0:37am View
   
what difference it makes from the above solution?
Jibesh 10-Feb-13 15:55pm View
   
Thank You CHill.
Jibesh 10-Feb-13 5:05am View
   
This is not a solution. delete this. If you have a question you can use Have a Question or Comment widget to post your question or use reply link. so that author gets a notification and he may reply to your question.
Jibesh 10-Feb-13 3:29am View
   
Check my solution . You need to find the Node you want to add and trying adding newly created node under it.
Jibesh 10-Feb-13 3:20am View
   
may I know how you perform the double to string convert operation in you code
Jibesh 10-Feb-13 3:16am View
   
Of-course yes. I tried and it wont add "flp:Note" as you element node name. It will add name as "Note" you may try and post if there is any other method where to add this, so that i can also find other way to add it.
Jibesh 10-Feb-13 3:09am View
   
Yes. thats what i pointed out here..and talking about your updated solution, the new new just added to the Root Element and not the Child element that OP is expecting to add.

Also if you check the Node names added to the Xml for the given code, it doesnt append with the name space element "flp". You must use the namespace if you want to add namespace to each node.
Jibesh 10-Feb-13 2:55am View
   
No this wont work. Check my solution.
Jibesh 10-Feb-13 1:35am View
   
Deleted
what is your problem? you havent told your problem yet?
Jibesh 8-Feb-13 20:02pm View
   
Congrats on your project. Is that all you to tell here?
Jibesh 8-Feb-13 19:07pm View
   
Check whether your project file and all other files are read only - false.
Jibesh 8-Feb-13 14:43pm View
   
'i want to remove data of in_website_id (1,2) from 3rd row and insert into 1 and 2nd row.'
This statement is confusing can you make it simple by putting the expected output from above dataTable
Jibesh 8-Feb-13 14:38pm View
   
there is some correction in the updated code. I made it right. thanks
Jibesh 8-Feb-13 14:35pm View
   
may i know what are you trying to do so that i may suggest a better way of doing it.
Jibesh 8-Feb-13 14:31pm View
   
have wrote any code for this delete operation? if yes can you paste it here. or check the sample below

string myExecuteQuery ="delete from your_tableName where yourfieldName='%inoput";

SqlCommand myCommand = new SqlCommand(myExecuteQuery, myConnection);
myCommand.Connection.Open();
int count = myCommand.ExecuteNonQuery();
myConnection.Close();

variable count holds the number of records deleted for the above delete query. give a try and tell me the answer.you can use this count to display total number records deleted
Jibesh 8-Feb-13 14:19pm View
   
deleting this duplicate entry!
Jibesh 8-Feb-13 14:18pm View
   
where you put this codes in your application? inside paint method?
Jibesh 8-Feb-13 14:14pm View
   
can you explain the relation between the table. since you didnt show any code and you did not explain well I can only provide hints about your problem.

If you know how to execute the sql statement you would know how to get the record number.
as explained above, Construct a delete query using the textInput eg:

delete from table where field_name like'%inputtext'; this is pseudo code only
Jibesh 8-Feb-13 12:48pm View
   
why dont you try yourself and check. this is really a poor question to ask in any forum.
Jibesh 8-Feb-13 11:05am View
   
good answer for the 'gimme code' kind of question. I have bookmarked your article thought I would need this link to paste it again and again ;)
Jibesh 8-Feb-13 10:48am View
   
This sounds like a homework. If its a homework it was set for a reason you may ask you your tutor how to start your program. If you copied someones solution from here your tutor may able to know that.
Jibesh 8-Feb-13 10:14am View
   
a simple google search will result thousands of result.. Have you tried that?
Jibesh 7-Feb-13 20:19pm View
   
Please update your question. This is a English speaking site, if you use other native language hard you get answer for your query.

use improve solution link to update your question.
Jibesh 7-Feb-13 3:29am View
   
Your question is not clear. please elaborate your question with some more details. use 'Improve Question' link to update your question.

The tag shows C# but inside the code you have used VisualBasic in your sample code so what is true?
Jibesh 6-Feb-13 18:28pm View
   
when I tried the same the O/P is like '4546140625242560151206.....' both with rn.Next(7) and rn.Next(0,7)

how did you defined your random variable? can you post the actual code so that we can find the real problem.
Jibesh 6-Feb-13 18:24pm View
   
SA OP add those code after I put the solution. in both the case it should work. since OP tried the other I smell the random variable definition might be inside the scope or he made some mistake in other part of the code.
Jibesh 6-Feb-13 12:11pm View
   
This is not a solution you Have a Question or Comment field to post your question. +1
Jibesh 6-Feb-13 12:10pm View
   
Please do not post comments as your solution. If you want to edit your question use 'Improve question' link or to add comments to your question use 'Have a Question or Comment' widget. do no post it as a solution. If you accidentally put this please delete this else you will be reported for abusive.
Jibesh 6-Feb-13 3:18am View
   
wait was this a web UI ?
Jibesh 6-Feb-13 3:01am View
   
good that you solved your problem by self.

but please dont use bold letters, it means 'Shouting' not many of them in the internet world likes that. just an advice. thanks
Jibesh 5-Feb-13 23:03pm View
   
OP has clearly explained he want to know the the file accessed by the process. If you have question do not post as solution use Have a Question or Comment widget to post your question.
Jibesh 5-Feb-13 21:39pm View
   
If you have the source code try running your application in debug mode and see where it breaks in that way you can find the the problem area.

otherwise you need to provide more information, source code etc to solve your problem without enough information we cannot find an aswer for you.
Jibesh 5-Feb-13 20:21pm View
   
can you paste the code so that i can try the same in my PC.
Jibesh 5-Feb-13 19:49pm View
   
setting the form TopMost true will keep your form at the top. let me know how many forms your application has? what happens when you run the exe? how you are testing this?
Jibesh 5-Feb-13 14:17pm View
   
"when the download is complete nothing happens at all" is really nothing to us. you should tell what is the real problem you are facing. Please keep in mind that we cannot see your monitor,HDD or complete source code so you must provide enough details to solve your problem.

If you are expecting to start the MSI installed once the download is complete, check the path where you copied the file and running using Process start, they are different
Jibesh 5-Feb-13 3:26am View
   
can you share the code you did to display on the EditForm. how you are passing the griddata to edit form? how many control on the edit form?
Jibesh 5-Feb-13 2:10am View
   
have you wrote enough code to fetch the data and display it on edit form??
Jibesh 5-Feb-13 0:03am View
   
values are nothing but the text inputs, replace VALUE1 from textBox1.Text.
Jibesh 4-Feb-13 21:00pm View
   
I have updated my solution have a look at it. use proper command to save your data to the database
Jibesh 4-Feb-13 20:32pm View
   
you can use Insert commands to insert your data back to your access database. you may found as many articles in Code Project or simple google.

like the the way select command you used, use insert Into - to insert a new values or update - command to update the existing data in your data base
Jibesh 4-Feb-13 19:55pm View
   
what do you mean by middle?- setting TopMost true will place your form on the top of all the opened windows. do you mean you want to fill your screen with your Form ?
Jibesh 4-Feb-13 14:47pm View
   
Please use the Have a Question or Comment widget to post your comments so that author who post the solution gets a notification and can reply to your message. If you post your comment as a solution, least chance you get a reply for your query. Please delete this comments and move this to your question using 'Improve Question' link under your question.
Jibesh 4-Feb-13 13:23pm View
   
"as it does not allow to build application in the same path" why not? are you running the application while build is in execution?
Jibesh 4-Feb-13 4:30am View
   
Glad it helps.. I was going to add the code how to add the rows but you solved it before anyway am posting this.. if it helps someone in future.

int index = this.dataGridView1.Rows.Add();
this.dataGridView1.Rows[index].Cells[0].Value = dailyattendance.Rows[i][0].ToString();
this.dataGridView1.Rows[index].Cells[1].Value = dailyattendance.Rows[i][1].ToString();
Jibesh 4-Feb-13 1:08am View
   
what is the real question here? looks like abusive or spam.
Jibesh 3-Feb-13 22:55pm View
   
Have you tried File.Copy
Jibesh 3-Feb-13 22:35pm View
   
your question and the the title doesnt match. is this an interview question? try google.