- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 17
- Posts with Upvotes
- 16
- Upvoting Members
- 11
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
Re: one way (not the best at all) is to create a table, insert the select results and pass that table as datasource to the grid since you are using datasources and before app exit or whatever, just drop the table | |
Re: Hi. Can you also post the Flight class? And the full Create Job view where you use Html.Partial() | |
Re: Hi. Though I haven't done it myself yet, I found a lot of examples online on how to do it. Here are a few links that can get you started. Once you have some code feel free to ask for help if needed. [MSDN Blog](http://blogs.msdn.com/b/jaimer/archive/2007/07/12/drag-drop-in-wpf-explained-end-to-end.aspx) [MSDN](http://msdn.microsoft.com/en-us/library/ms742859.aspx) [Codeproject Example](http://www.codeproject.com/Articles/24072/Very-Simple-WPF-Drag-and-Drop-Sample-without-Win32) | |
Re: From looking at the error's documentation I'm guessing one of your textboxes' text contains a column name. You can refer to this page to see if this is the case. [Click Here](http://www.techonthenet.com/oracle/errors/ora00984.php) It also gives you an example of what might be wrong. | |
Re: Hi. Since you went with this approach to create your connection classs, in the OPEN method only open the connection if it is closed. if (csCon.State == ConnectionState.Closed) { csCon.Open(); } | |
Re: After you set the ReadAndExecute permission on the parent folder do a loop through all the directories inside that folder and set their appropriate permissions foreach (var folder in dInfo.GetDirectories()) { var security = folder.GetAccessControl(); security.AddAccessRule(...); folder.SetAccessControl(security); } | |
Re: Of course you can. It really isn't a C# issue. The database server should be configured to allow remote access and that's it. There are a lot of tutorials about how to connect to a DB server. After you decided which one you'll use (MSSQL, MySql, Oracle...) just enable remote … | |
Re: Loop the `split` array with a foreach and add it to the same string + `Environment.NewLine` and finally set the `textBox1.Text` property with the string. | |
Re: 1. learn css 2. gradually disable css on that page to see how it starts / progresses from scratch 3. have a designer's eye / mind | |
Hey, Who can give me a hint on this case? Let's say I have an object "MyObject" with the following properties (this is a breakdown for easier explination) public clas MyObject { public string Column { get; set; } public string Value { get; set; } public int Row { … | |
Re: http://lmgtfy.com/?q=example+of+game+development+in+c%23 | |
Re: It realy depends on how you call your action. If it's a normal http get request it loads the layout + view + every partial. If you want only the partial view to be retunred do an ajax call and replace the content with the result. | |
Re: Ok. So what have you done so far and where are you stuck? | |
Re: What exactly is your problem? You need the SQL syntax for select? Or the linq syntax? And based on your example `where (orderId = 101 and orderId = 102)` you would never get the result you mentioned. (which include ordId 100). | |
Re: Do a File.ReadLines(), loop the lines and try parsing each line to a double value. If it succedes you have your text to fill up the lines until the following double exists. | |
Re: Try setting the width to 0 and change it back when disaplying it | |
Re: Your while condition is wrong. It should be `while ((line = sr.ReadLine()) != null)` | |
Hi everyone, I have a tricky question, at least for me. We have a website deployed on IIS that once in a while throws a NullPointerException when trying to read the `HttpContext.Current.Application["JScriptRootPath"]` value. So this is the whole scenario: This is just a key added in the Web.config file that … | |
Re: If you need to change the color of a button (at least this is what I understood) you can use the `button.BackColor = Color.Green` If you needed something else please give more details. | |
Re: Check the Web.config file for the "IsTesting" key. | |
Re: Did you check the Event Viewer for any errors in IIS? Also verify that the Application Pool used for the website (which I assumed it is) is correctlly set and started. Verify the .Net Framework for the App Pool. Did you run aspnet_regiis ? | |
Re: Do you want to add them to the same combobox? If so you could use UNION ALL: select vuser, vStudentName from StudentAccount UNION ALL select <columns requested> from FacultyAccount replace the <columns request> with what you need from FacultyAccount Just remember you have to select the same number/order/types of columns … | |
Re: Why don't you just add the wsdl as a web reference to your project? This way it will automatically create all the necessary code so you can access any method in that web service. | |
Re: You could do this if you create your own Image class. Something like: public class MyImage { string Path { get; private set; } Image Image { get; private set; } public MyImage (string path, Image image) { Path = path; Image = image; } public bool Equals(MyImage secondImage) { … | |
Re: The TextBox has a TextChanged event where you can do your logic. However, that's not smart. As every input in that TextBox would fire-up the event. You can narrow it down to only fire-up when "Enter" key is pressed inside the TextBox (check if event args key is Enter). As … | |
Re: I've never used it before, but I think you can use Microsoft Windows Image Acquisition (WIA). Add a reference to your project and build your application using the classes available in this library. | |
Re: My guess is you are talking about a Singleton. [Click Here](http://msdn.microsoft.com/en-us/library/ff650316.aspx) | |
Re: To extend on BackgroundWorker that gusano79 suggested you can update each row of the DataTable in the DoWork method (foreach row do a separate thread with Verificare_Online_single) and on RunWorkerCompleted do the update do the database using the DataTable. | |
Re: Good thing you specified to send a piece of his code. Otherwise you could have received a photo of a car missing it's wheels. :) |