Click here to Skip to main content
15,311,280 members

Comments by Orcun Iyigun (Top 200 by date)

Orcun Iyigun 18-Aug-16 7:21am View
   
Well put, awesome explanation!My 5:)
Orcun Iyigun 8-Aug-16 2:46am View
   
You might consider looking up 3 SQL Server auditing features (Change Tracking, Change Data Capture and SQL Server Auditing)
Orcun Iyigun 9-Nov-15 10:22am View
   
First of all, you have to be more clear and give more informative about your question. Is your second page is a popup page? If so, you have to reload your main(first) page after doing stuff on your second page?
Orcun Iyigun 11-Sep-15 10:33am View
   
You are talking vaguely. You have to give some details. And do you know the magic tool called debugger? Have you used a breakpoint walk through your code?
Orcun Iyigun 24-Jul-15 8:31am View
   
I don't know if your question is still valid. Yes you you can use that file path but somehow with that file path you have to convert the file content to byte array. Then you are good to go.
Orcun Iyigun 5-Mar-15 8:08am View
   
I think I should give the exact solution to the OP to have my answer accepted as a solution :D
Orcun Iyigun 5-Mar-15 8:05am View
   
Please look deeper into this google search. I am pretty sure you will find a remedy. http://goo.gl/BqPAgy
Orcun Iyigun 21-Aug-14 11:02am View
   
I didin't want to reply similar to your answer so this might help. Here is the link: Oracle Data Access Components (ODAC) for Windows Downloads[^].
Orcun Iyigun 31-Mar-14 5:04am View
   
By putting a breakpoint. There are tutorials online. Google it! Be it your best friend!
Orcun Iyigun 31-Mar-14 4:56am View
   
Do you know any means of debugging? Start using the debugger tool? If you want to understand where it throws the exception, comment the try-catch-finally statements. And your exception detail is pretty straight-forward. You open a connection and you don't close it and.

Before assigning connection string to your connection object make sure your connection object is closed or it is not opened.
So check your connection:
close it by sqlconn.Close();
or check it by
If( sqlconn.State == ConnectionState.Closed)
{
}
Orcun Iyigun 31-Mar-14 4:10am View
   
Do it on the DB side? Which DB you are using?
Orcun Iyigun 31-Mar-14 3:31am View
   
Here you go merge cell in C#[^]
Orcun Iyigun 31-Mar-14 3:12am View
   
Which line of code you have that exception thrown?
Orcun Iyigun 3-Jan-14 6:53am View
   
Right +5ed.
Orcun Iyigun 3-Jan-14 6:43am View
   
Are you sure the path is correct?
Orcun Iyigun 3-Dec-13 8:46am View
   
And be specific about not working? what happened explain it more..
Orcun Iyigun 3-Dec-13 8:22am View
   
Try dtCurrentTable.Rows.RemoveAt(dtCurrentTable.Count - 1); instead of remove.
Orcun Iyigun 3-Dec-13 8:22am View
   
Deleted
Try dtCurrentTable.Rows.RemoveAt(dtCurrentTable.Count - 1); instead of remove.
Orcun Iyigun 3-Dec-13 2:32am View
   
what is this supposed to mean??
Orcun Iyigun 3-Dec-13 2:31am View
   
you tell me? which one is better a car or a bike?!! without giving any details any information how do you think we can respond to your question?!? do you think we are psychichs and magically figure out what is going on your mind???
Orcun Iyigun 26-Nov-13 2:27am View
   
I think it is better you provide some piece of code. You can start from ddl's selectedindexchanged event.
Orcun Iyigun 21-Nov-13 5:22am View
   
Why would you want that? Why do you want to limit the user and how do you think it will effect the user-friendliness?
Orcun Iyigun 21-Nov-13 5:09am View
   
In my current solution if you run the lower query your result will be ;
F01 9 2013-11-03 00:00:00.000
F02 6 2013-11-02 00:00:00.000

If you run the upper query:
F01 9 2013-11-03 00:00:00.000
F02 6 2013-11-06 00:00:00.000

your result set will be this. So if these results set doesnt match your result set do tell me.
Orcun Iyigun 21-Nov-13 5:05am View
   
Deleted
What is not right?
Orcun Iyigun 21-Nov-13 5:00am View
   
:) i think i give up...
Orcun Iyigun 21-Nov-13 4:47am View
   
If you check my solution history and Revision1 will be the answer to your question if you asked it properly. And do not post a comment as a solution and mark it as the answer? It is so wrong..
I now updated my answer you can see it on the edited part...
Orcun Iyigun 21-Nov-13 4:45am View
   
Deleted
Then ask your question properly?! Have you checked what you asked for?
TYPE_________MONEY______NEWDATE
===============================
F01__________9__________2013/11/03
F02__________6__________2013/11/06

Even you put it on bold?? You ask for the date 2013-11-06 not 2013-11-02?
Orcun Iyigun 19-Nov-13 6:24am View
   
Have a look at this link[^].It may help.
Orcun Iyigun 19-Nov-13 4:33am View
   
What have you tried?[^] Your question is not clear!
Orcun Iyigun 19-Nov-13 1:54am View
   
No!
Orcun Iyigun 14-Nov-13 10:09am View
   
FYI you should ask this question under the article that you read not in Q/A. Here the author will not be notified, but if you use comment section below the article the author will be notified.
Orcun Iyigun 12-Nov-13 9:36am View
   
No you didn't. Obviously you clicked to Add a solution. thats why you have 2 answers. If you clicked Improve button you would have a "v2" like on my answer. Just to show you I added extra comma after good luck to show it is done.
Orcun Iyigun 12-Nov-13 9:34am View
   
fair enough
Orcun Iyigun 12-Nov-13 4:01am View
   
What have you tried? Where are you stuck at? Break down your problem.. It is not clear.
Orcun Iyigun 12-Nov-13 3:51am View
   
If you add that OnSelectedIndexChanged event to your dropdown it should work? Which browser are you trying it? IE?
Orcun Iyigun 12-Nov-13 3:41am View
   
Can you tag it properly? ASP.Net, Windows forms? what is it?
Orcun Iyigun 12-Nov-13 2:03am View
   
You know this question is asked on February?
Orcun Iyigun 12-Nov-13 2:03am View
   
You know this question is asked on February?
Orcun Iyigun 12-Nov-13 1:36am View
   
Thank you Sergey, I wish I can upvote your comment too. You are right about using Parse/TryParse methods.
Orcun Iyigun 12-Nov-13 1:28am View
   
You beat me with a min :)
Orcun Iyigun 12-Nov-13 1:23am View
   
And what have you tried? Where are you stuck? Your question is not clear?
Orcun Iyigun 12-Nov-13 1:02am View
   
Totally right. I have corrected it. Thank you for the warning
Orcun Iyigun 12-Nov-13 1:02am View
   
Deleted
Totally right. I have corrected it. Thank you for the warning
Orcun Iyigun 11-Nov-13 15:47pm View
   
You are welcome. Come back again :)
Orcun Iyigun 11-Nov-13 11:32am View
   
Use the "Improve solution" button or reply to his comment by using reply button!
Orcun Iyigun 11-Nov-13 11:26am View
   
If it is in vb.net and is the solution to your problem, "YOU" should be the one who has to do the work. We are here to show you the way how it is done. It is your responsibility to convert it to C#. And there are some web pages that ability to do it for you.
Orcun Iyigun 11-Nov-13 6:12am View
   
Why do you want to do that, can you explain us what are you trying to accomplish? Both are server-side technologies so you might want to rethink what to use?
Orcun Iyigun 11-Nov-13 5:51am View
   
No but I said try doing what did on Makeup to the other fields meaning status, isAttend, attendance.Attandance_ID...
Orcun Iyigun 11-Nov-13 5:51am View
   
Deleted
No but I said try doing what did on Makeup to the other fields meaning status, isAttend, attendance.Attandance_ID...
Orcun Iyigun 11-Nov-13 2:53am View
   
I just found that article here on CP. It may help you on RTSP: Managed Media Aggregation using Rtsp and Rtp[^]
Orcun Iyigun 11-Nov-13 2:51am View
   
Opps, I wasn't clear there sorry and you are right about it. If there is a file involved, he can use it as an option to see if he can download a piece otherwise as you said it would not help him to figure it out. But TcpClient should work no matter what.
Orcun Iyigun 11-Nov-13 2:42am View
   
Orcun Iyigun 11-Nov-13 2:35am View
   
Just to make sure? Can you please tell us if it is a WinForms, Web, WCF..etc?
Orcun Iyigun 11-Nov-13 2:26am View
   
I totally agree to your comment. On top of his code I can suggest:
- He can use FileWebRequest Class[^], and try getting a just enough of it from the stream to check if it is active or not. Moreover, TcpClient Class[^], this is also another way to see if the server is listening for the http, rtsp, and mms ports or not.
Orcun Iyigun 11-Nov-13 2:15am View
   
Haha. Thank you :)
Orcun Iyigun 11-Nov-13 2:14am View
   
Deleted
Haha. Thank you :)
Orcun Iyigun 11-Nov-13 1:36am View
   
And I am pretty sure this is not a SOLUTION!!! To be more specific this should be a comment!
Orcun Iyigun 1-Nov-13 9:58am View
   
Face detection C#[^] start from here!!
Orcun Iyigun 1-Nov-13 9:25am View
   
And why are you posting a comment as an ANSWER?
Orcun Iyigun 9-Oct-13 3:26am View
   
You should start from here!!What have you tried?[^]
Orcun Iyigun 4-Oct-13 4:41am View
   
My 5.
Orcun Iyigun 26-Sep-13 2:57am View
   
Seriosly? What is this? Have you read the question? It is even highlighted!!
Orcun Iyigun 24-Sep-13 6:40am View
   
As the OP said it is windows forms. Why not use the MessageBox instead?
Orcun Iyigun 24-Sep-13 6:38am View
   
So how do you relate that from the question???
Orcun Iyigun 23-Sep-13 5:40am View
   
Are you sure you dont have any CSS applied to it?
Orcun Iyigun 23-Sep-13 5:06am View
   
And what is blocking you? Binding the gv? Showing it in the middle? What have you tried?
Orcun Iyigun 23-Sep-13 4:42am View
   
Can you provide the code block where these two "Connect()" / .inittransaction() is in?
Orcun Iyigun 20-Sep-13 7:28am View
   
I accidentally report your comment instead of the question. Sorry.
Orcun Iyigun 20-Sep-13 7:26am View
   
Are you getting any exceptions? If so give us some more details.
Orcun Iyigun 18-Sep-13 3:48am View
   
Start from here:What have you tried?[^]
Orcun Iyigun 29-Jul-13 10:39am View
   
Well you have to enable the autopostback to true in your second drop down as well. Also In your code ddlName's selectedindexchanged event has a line of code for Filldesignation(designationID);
But I dont see the method Filldesignation in your question.
Orcun Iyigun 29-Jul-13 10:10am View
   
Piece of cake :) My 5.
Orcun Iyigun 29-Jul-13 9:56am View
   
Reason for my vote of 5 \n Keep up the good work. Thanks.
Orcun Iyigun 12-Jul-13 2:44am View
   
I am not sure if these 2 links will solve your problem but take a look at them:
link 1[^]
link 2[^]
Orcun Iyigun 11-Jul-13 2:58am View
   
Still you are giving justifications.. you are not actually solving the problem here and do not want to understand what the people asked you to answer or just want to resist..
Orcun Iyigun 11-Jul-13 2:53am View
   
my 5+
Orcun Iyigun 11-Jul-13 2:52am View
   
I don't think it is the best solution for the OP's requirements.
Orcun Iyigun 4-Jul-13 6:34am View
   
As the exception thrown: See the inner exception for details. Have you seen it??
Orcun Iyigun 4-Jul-13 6:18am View
   
What do you mean by different look? Design-wise? Functionality-wise? Rectify it please
Orcun Iyigun 1-Jul-13 4:04am View
   
Deleted
Have you searched for Membership Providers?
Orcun Iyigun 1-Jul-13 4:01am View
   
Tag your question properly!! What is this!!!
Orcun Iyigun 1-Jul-13 3:59am View
   
First of all,What have you tried?[^] This feels like it is homework question.
Orcun Iyigun 1-Jul-13 3:17am View
   
If you do not them to be shown create a class to save the values and use Session to save them. Or if you do not want to use a class save each value to a separate Session. For more info please check: Sessions[^]
Orcun Iyigun 27-Jun-13 2:41am View
   
My 5.
Orcun Iyigun 26-Jun-13 7:33am View
   
Why do you need to make it complicated? Alerting the user with a client-sided message is not enough?
Orcun Iyigun 25-Jun-13 3:48am View
   
Deleted
Hmmm.. homework?!?
Orcun Iyigun 25-Jun-13 2:32am View
   
In which line you get the exception. Specify it.
Orcun Iyigun 25-Jun-13 1:41am View
   
I am confused? What do you mean by desktop application in asp.net? Can you please tag it properly.
Orcun Iyigun 25-Jun-13 1:29am View
   
I am not sure if this will solve your issue but it won't hurt:
Try these 2:
*Page.MaintainScrollPositionOnPostback = true; (place this in your codebehind)
or in design view You can code MaintainScrollPosition = "true"
Another alternative:
Place the following code into the <system.web> section of your .config file:
<pages maintainScrollPositionOnPostBack="true">
<controls>
<add tagprefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<add tagprefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

</pages>
Beware this is for framework 3.5.
Orcun Iyigun 25-Jun-13 1:25am View
   
Thanks Rohan :)
Orcun Iyigun 24-Jun-13 17:20pm View
   
First of all you did not mention you want to keep the headers on your gridview in your question? How would I know? I can not read your mind you should have specified it.

Secondly your link is pretty straight forward what is the problem you are having difficulty with?
Orcun Iyigun 18-Jun-13 3:14am View
   
what do you mean by big size?! It is a relative thing. Be precise in what you want and explain it more clearly!
Orcun Iyigun 7-Jun-13 6:25am View
   
Have you tried what I have suggested? Debug it and you will understand.
Orcun Iyigun 7-Jun-13 6:24am View
   
So instead of words[1] you just give words[words.count-1]. which is Ho.
Orcun Iyigun 30-May-13 7:52am View
   
Then can you get a copy of the SQL server log and post it here so we can identify it from that log.
Orcun Iyigun 30-May-13 6:34am View
   
Please check my comment! And do not post as solution.. Use comment button instead...
Orcun Iyigun 30-May-13 6:33am View
   
He will also need to add the following code as well:
public override void VerifyRenderingInServerForm(Control control)
{
/* Confirms that an HtmlForm control is rendered for the specified ASP.NET
server control at run time. */
}

Otherwise he will have an exception pn the gv.RenderControl(hw); line.
Orcun Iyigun 30-May-13 6:30am View
   
What have you tried?[^] just refer them this link :)
Orcun Iyigun 30-May-13 3:30am View
   
Already started sqlserver(MSSQLSERVER) but sqlserver(SQLEXPRESS) is stopped, are you saying that you tried starting the server but it failed to start? Can you say it in a different way because i don't understand what you are trying to say.
Orcun Iyigun 30-May-13 3:01am View
   
Check this link: Resolving could not open a connection to sql server errors[^].This gives you all possible steps to take.
Orcun Iyigun 29-May-13 8:25am View
   
Look more into gridview's RowDataBound event. You can easily do it there. In that event check if the value has a special character and if so change the back color. SHould not be that hard..
Orcun Iyigun 29-May-13 8:08am View
   
Thank you Aarti.
Orcun Iyigun 29-May-13 8:08am View
   
You are welcome.
Orcun Iyigun 29-May-13 5:07am View
   
Is it something that you want user to access it by pressing Alt+F? You mentioned it but try btnFilter.Text = "&Filter"; as well.
Orcun Iyigun 28-May-13 2:54am View
   
I think you have a control named UploadDate and at the same in your btnUpload click event you also defined a string named as UploadDate?
Orcun Iyigun 27-May-13 7:56am View
   
Orcun Iyigun 27-May-13 7:50am View
   
You are welcome.
Orcun Iyigun 27-May-13 7:07am View
   
Check if there is an existing tag for the same tag. Does it give an error or is it just a warning? And make sure you are adding the tag to the correct control! It is not an obsolete tag: AJAX control toolkit property[^]. It still exists so you must be doing something wrong.
Orcun Iyigun 27-May-13 7:01am View
   
Did you bind their selectedindexchanged event to the same event? Also it would be helpful if you can provide some code
Orcun Iyigun 23-May-13 9:44am View
   
Since you are retrieving them from a datatable, you are retrieving them from a database,right? why not not save yourself from code hustle and do some joins in your query and return the result? just thinking out loud.
Orcun Iyigun 22-May-13 11:01am View
   
My 5+.
Orcun Iyigun 22-May-13 11:00am View
   
Why didnt you post it as a solution since it is the obvious answer? :)
Orcun Iyigun 22-May-13 10:51am View
   
I wasn't quite sure if it is going to be a satisfactory answer :) Happy coding
Orcun Iyigun 22-May-13 10:27am View
   
Start from here[^]
Orcun Iyigun 22-May-13 10:04am View
   
Maybe you can create your own control for such functionality
Orcun Iyigun 22-May-13 9:06am View
   
He is not asking the elapsed time. He is asking to know when did the stopwatch's start time method fired?
Orcun Iyigun 22-May-13 9:03am View
   
Cant you just use the DateTime.Now right after your StopWatch.Start() method?
int hour = DateTime.Now.Hour;
int minute = DateTime.Now.Minute;
int second = DateTime.Now.Second;
Orcun Iyigun 20-May-13 3:18am View
   
............... try using google? for such a simple thing.
Orcun Iyigun 16-May-13 4:32am View
   
Orcun Iyigun 15-May-13 8:07am View
   
ask your administrator, or ask your hosting provider?!!? didnt click something on you?
Orcun Iyigun 14-May-13 7:53am View
   
The error states nothing to do with your if statement! Post your code properly! Are you using delegates or something like that?
Orcun Iyigun 10-May-13 4:52am View
   
You are welcome.
Orcun Iyigun 10-May-13 2:31am View
   
If you seek help you need to be more specific. No one will write the whole code for the implementation of the forum you desired.. you should start reading from What have you tried?[^]
Orcun Iyigun 10-May-13 2:06am View
   
Can you explain more about you are trying to do? Are you trying to restore the files that you deleted?
Orcun Iyigun 9-May-13 10:08am View
   
So he should write this code for each character starting from A to Z ??
Orcun Iyigun 9-May-13 9:16am View
   
Why don't you create your own control if you need requirements such that?
Orcun Iyigun 9-May-13 9:05am View
   
you do not want the user to type quote in the textbox? or is the textbox's text something that you use on a sql query? because the answer changes radically..
Orcun Iyigun 9-May-13 4:19am View
   
Complete code :) Nice..
Orcun Iyigun 9-May-13 4:06am View
   
Do you want your xml like the following:
-names
-name
John
-/name
-name
Petter
-/name
-name
Gavaskar
-/name
-/names
Give us a sample format so we can help you better?
Orcun Iyigun 7-May-13 9:49am View
   
So demanding ain't it? How much will you charge him? :)
Orcun Iyigun 6-May-13 2:53am View
   
Can you please post some code? Are you using Image ?
Orcun Iyigun 3-May-13 7:32am View
   
so he should write that code 60 times?
Orcun Iyigun 3-May-13 6:38am View
   
You are not getting it, aren't you?!?! You just asked a similar question a while ago.. (Remove sql injection[^]) FYI, that will not help you.. You had enough answers and explaination on your last question!!!
Orcun Iyigun 3-May-13 4:45am View
   
Your options are to use either windows scheduler or a windows service.
Orcun Iyigun 3-May-13 2:49am View
   
Orcun Iyigun 2-May-13 2:59am View
   
And I gave her the answer. Looking at your answer your solution also advises FindControl method. She has to do the implementation...
Orcun Iyigun 2-May-13 2:36am View
   
Oopps, sorry didnt pay attention to the tag. Please look at the following links. Link 1[^] and Link 2[^]. Or you can use a C# to VB convertor online.
Orcun Iyigun 2-May-13 2:30am View
   
And what are you asking for? Be clear! If label does not work change it with the proper control (ImageControl)?
Orcun Iyigun 2-May-13 2:29am View
   
Deleted
And what are you asking for? Be clear! If label does not work change it with the proper control (ImageControl)?
Orcun Iyigun 1-May-13 14:59pm View
   
And? Don't you think a little bit explanation can help us identify the problem? or you are expecting us to be a psychic and guess what it is?
Orcun Iyigun 30-Apr-13 6:21am View
   
What the heck? What is your purpose? Explain it more detailed..
Orcun Iyigun 30-Apr-13 3:14am View
   
First of all, what have you tried[^]? I don't see you had efforts on it. Your question is too broad. Have you checked the API documentation before asking it here? Also an example for what you are looking in MVC is here : Login & Logout Facebook[^]
Orcun Iyigun 30-Apr-13 3:04am View
   
Are you sure the path you provided for that Santhosh.doc is accessible?
Orcun Iyigun 30-Apr-13 2:14am View
   
And top of that what have you tried[^]????
Orcun Iyigun 26-Apr-13 5:00am View
   
your result set is consists of strings? So why don't you put them into a generic list and go from there? And here are 2 links which helps you to convert list to datatable: Link 1[^] and Convert a Generic List to a Datatable[^]. But still I really cant understand why you cant use your "var result" to accomplish this?
Orcun Iyigun 26-Apr-13 4:22am View
   
If you think CRITICALLY and read CAREFULLY this will answer your question. <blockquote class="FQ"><div class="FQA">Quote:</div>- it has to be somewhere that is accessible at the start of the program -</blockquote>. So if it is not accessible at the start how do you think it will initialize?
Orcun Iyigun 26-Apr-13 3:48am View
   
Check this link it might be helpful: http://www.beauscott.com/examples/RatingStars/[^]
Orcun Iyigun 26-Apr-13 3:36am View
   
Why do you need a datatable, what is the usage of it? Why don't you add the data directly to dictionary from your returned result set?
Orcun Iyigun 24-Apr-13 10:23am View
   
Orcun Iyigun 19-Apr-13 7:47am View
   
Debug your code and tell us which line it is throwing the exception?
Orcun Iyigun 19-Apr-13 6:29am View
   
Orcun Iyigun 19-Apr-13 6:28am View
   
Orcun Iyigun 19-Apr-13 6:23am View
   
Nauna already answered the question in the below comment. You should get the idea...
Orcun Iyigun 19-Apr-13 6:21am View
   
Why do you post a comment as a solution?
Orcun Iyigun 19-Apr-13 6:21am View
   
You should learn how to write properly!!
Orcun Iyigun 18-Apr-13 2:36am View
   
why would you need to do the binding in the stored procedure?? HAve a look at this link[^]. It is gridview's click events. You can use cell click event and on this event you can bind your second gridview to filter your results. It is more easier in my opinion.
Orcun Iyigun 18-Apr-13 2:36am View
   
Deleted
why would you need to do the binding in the stored procedure?? HAve a look at this link[^]. It is gridview's click events. You can use cell click event and on this event you can bind your second gridview to filter your results. It is more easier in my opinion.
Orcun Iyigun 11-Apr-13 4:24am View
   
You answered the same question 3 times??? Why? What is the necessity? Use your Improve solution button if you need to update your answer instead of add another solution..
Orcun Iyigun 11-Apr-13 4:23am View
   
Why do you find the necessity add a NEW solution other than updating your current one???
Orcun Iyigun 5-Apr-13 3:13am View
   
Have you read the documentation for paypal refund transaction process? This[^] might help you.
Orcun Iyigun 5-Apr-13 3:12am View
   
Good answer. 5'ed.
Orcun Iyigun 5-Apr-13 3:09am View
   
Can you update your question by updating your question with the exception details and your app.config file.
Orcun Iyigun 5-Apr-13 3:09am View
   
Deleted
Can you update your question by updating your question with the exception details and your web.config file.
Orcun Iyigun 5-Apr-13 3:00am View
   
Can this link[^] be a solution to your question?
Orcun Iyigun 5-Apr-13 2:27am View
   
Have you tried the solution that I wrote??
Orcun Iyigun 4-Apr-13 9:44am View
   
How is this sample code that you have provided is DIFFERENT from the link that I have provided? I checked it and it matches line by line! If you can't give me a reasonable answer I am deleting it..
Orcun Iyigun 1-Apr-13 8:34am View
   
OP: sir ..i mean to say dat...in my project ...user uploaded the image ..at the time of updatn the time and date will save in database...and i want to delete the image after 2 day/5 days automatically...
Orcun Iyigun 27-Mar-13 3:21am View
   
What the?!?!
Orcun Iyigun 27-Mar-13 3:09am View
   
You will have generic answers to your question. You have to let us know what you are trying to do maybe provide some code. Have yo debugged your code in the first place? Put your code in try catch block see what exception you are getting. You can also write the exception to your event log and see the details. You can use Debugger.Break(); for this debugging your code..
Orcun Iyigun 27-Mar-13 3:07am View
   
Deleted
You will have generic answers to your question. You have to let us know what you are trying to do maybe provide some code. Have yo debugged your code in the first place? Put your code in try catch block see what exception you are getting. You can also write the exception to your event log and see the details.
Orcun Iyigun 26-Mar-13 10:35am View
   
You might want to change SalesList.Add(details); to SalesList.Add(detail); as well. How many items do have in your list? Have you checked it with a debugger. because from your explanation and code it seems ok.
Orcun Iyigun 26-Mar-13 10:35am View
   
Deleted
You might want to change SalesList.Add(details); to SalesList.Add(detail); as well.

How many items do have in your list? Have you checked it with a debugger. because from your explanation and code it seems ok.
Orcun Iyigun 22-Mar-13 10:14am View
   
It solves a piece of his question. IT does not help him embed a textbox inside his drop down.
Orcun Iyigun 22-Mar-13 10:02am View
   
Use reply button if you want him to be notified.
Orcun Iyigun 22-Mar-13 10:01am View
   
OP's comment: Windows forms only sir...i am using two data table header table and child table...Now i am showing the header table values in Data grid View for example 10 rows .if click the any rows i want to show the Child table values in the Same Data Grid view .Please help me ..
Orcun Iyigun 21-Mar-13 2:36am View
   
You can or you can't :)
Orcun Iyigun 20-Mar-13 6:06am View
   
Thanks.
Orcun Iyigun 20-Mar-13 6:06am View
   
Thank you Ankur :)
Orcun Iyigun 20-Mar-13 5:06am View
   
Well explained. My 5.
Orcun Iyigun 20-Mar-13 5:05am View
   
Convert.ToInt32() is an acceptable answer but TryParse() method is more convenient. Because of that I rated 4. Please check my answer.
Orcun Iyigun 19-Mar-13 7:49am View
   
I did indeed. I have opened the link multiple times and it is in English when I open it. Interesting that it appears in Russian when you open it.
Orcun Iyigun 19-Mar-13 7:37am View
   
What do you mean?
Orcun Iyigun 19-Mar-13 5:42am View
   
Answered faster than me :) 5ed.
Orcun Iyigun 14-Mar-13 5:18am View
   
Another option instead of throwing an exception is: If it is win forms you can disable "-" in key press event. If it is in web you can use filteredtextboxextender to not to allow "-" chaacter.
Orcun Iyigun 11-Mar-13 10:14am View
   
Btw 5ed :) as usual.
Orcun Iyigun 11-Mar-13 6:05am View
   
7 th update and still no connection string :)
Orcun Iyigun 11-Mar-13 6:01am View
   
update your question and write your connection string please.
Orcun Iyigun 11-Mar-13 3:39am View
   
After seeing your answer I agree to it but in my answer my purpose is not to convert to JPEG as you mentioned. It is just an example, I know you understand that part. Heck, I don't know which extension he wants to convert. It would be totaly ridicilous to change the extension from mp3 to jpeg since they are not matching in format either. But you have seen the bigger picture. Kudos to you.
Orcun Iyigun 7-Mar-13 9:57am View
   
It should work dynamically not just on click event. I think there is something wrong on your implementation. Also have a look at this page: Numbers and Characters only Textbox Validation in C# ![^]
Orcun Iyigun 7-Mar-13 6:39am View
   
Well you should correct me because you are also not clear. It is really hard to understand what your question is from your question? I answered your question based on to the following sentence: "if I have to change the connectionstring for the user, or if it's the same as above." Also can you show me the line where you asked your question instead of giving justifications? And "My question is if I have to change the connectionstring for the user, or if it's the same as above." this is not clear at all..
Orcun Iyigun 7-Mar-13 6:16am View
   
Share your code and tell us where you get the exception please
Orcun Iyigun 7-Mar-13 4:49am View
   
You have a null value. Which line you are getting the exception? I think here: Response.ContentType = dr["type"].ToString();
Orcun Iyigun 7-Mar-13 1:33am View
   
so what's the problem? what's the exception?
Orcun Iyigun 6-Mar-13 9:24am View
   
Do you have any reason why? What is the difference?
Orcun Iyigun 6-Mar-13 2:35am View
   
He will not be notified unless you reply to his comment. You replied to OP's question as a comment so the OP will be notified not SA.