Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
83% Quality Score
Upvotes Received
17
Posts with Upvotes
16
Upvoting Members
11
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
1 Commented Post
8 Endorsements
Ranked #233
Ranked #977
~30.7K People Reached
Favorite Tags
Member Avatar for lianpiau

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

Member Avatar for Sarfraz409
0
7K
Member Avatar for dbalas
Member Avatar for PoorRogue
0
545
Member Avatar for rohit b k
Re: wpf

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)

Member Avatar for KushMishra
0
301
Member Avatar for xXghostXx

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.

Member Avatar for pitic
0
819
Member Avatar for darrylnuyda

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(); }

Member Avatar for KushMishra
0
3K
Member Avatar for spowel4

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); }

Member Avatar for pitic
0
211
Member Avatar for sandesh.ps.9

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 …

Member Avatar for deceptikon
0
289
Member Avatar for Kratoswoo

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.

Member Avatar for ddanbe
0
232
Member Avatar for nolife

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

Member Avatar for pitic
0
250
Member Avatar for pitic

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 { …

Member Avatar for pitic
0
121
Member Avatar for pritesh.panchal.96
Member Avatar for pitic
0
88
Member Avatar for old_apache

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.

Member Avatar for pitic
0
163
Member Avatar for josiahemmy
Member Avatar for pitic
0
161
Member Avatar for Mohammad_10

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).

Member Avatar for Mohammad_10
0
244
Member Avatar for ddanbe
Member Avatar for sch85

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.

Member Avatar for pitic
0
274
Member Avatar for prabhakar78
Member Avatar for MasterHacker110

Your while condition is wrong. It should be `while ((line = sr.ReadLine()) != null)`

Member Avatar for MasterHacker110
0
338
Member Avatar for pitic

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 …

Member Avatar for TnTinMN
0
266
Member Avatar for peymankop

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.

Member Avatar for peymankop
0
455
Member Avatar for complete
Member Avatar for hookedtocsharp

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 ?

Member Avatar for hookedtocsharp
-2
143
Member Avatar for prateek29chandra

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 …

Member Avatar for prateek29chandra
0
246
Member Avatar for ambar_bs

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.

Member Avatar for pitic
0
184
Member Avatar for kidkardel

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) { …

Member Avatar for tinstaafl
0
4K
Member Avatar for Mr.pc.online

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 …

Member Avatar for RvSon
0
184
Member Avatar for rajathvk

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.

Member Avatar for catherinesea
0
205
Member Avatar for Aaron_JY

My guess is you are talking about a Singleton. [Click Here](http://msdn.microsoft.com/en-us/library/ff650316.aspx)

Member Avatar for JOSheaIV
0
144
Member Avatar for danimischiu

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.

Member Avatar for danimischiu
0
1K
Member Avatar for chordian12

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. :)

Member Avatar for ddanbe
0
108