461 Posted Topics

Member Avatar for Cameronsmith63

Use a streamwriter and foreach through the data set? That's how I'd do it

Member Avatar for NanaYee
0
155
Member Avatar for broj1

Sorry for the hi-jack, seems related, I decided to un-disable adverts earlier as felt bad for reducing advertising revenue. However I've since had my firefox crash 4 times on loading pages, the page loads visually and then I lose complete responsiveness of the tab, and so I've been forced to …

Member Avatar for broj1
0
161
Member Avatar for syedamuhibzahra

I would say its both. The chemical addiction caused in the body I would say is more like a disease. But the lack of will power to pull the individual off the drug is more the character of the individual. My view anyhow.

Member Avatar for stultuske
0
263
Member Avatar for sundog1

`Form1.Refresh()` Just redraws the form and its associated objects on screen. You will need to rerun `smtpDetails.Load(PATH);` to reload the XML document. This will be done in the code block that makes the admin form (dont have that in my inbox either so cant comment on the exact layout, it …

Member Avatar for sundog1
0
300
Member Avatar for sundog1

Hi Mark, Any chance of getting this XML sheet? Or a stripped down version of it showing the part causing the issue? Edit: could you also disclose the variable type of `root` as it cannot be determined from code.

Member Avatar for sundog1
0
558
Member Avatar for mcmanuel20

Use the StreamWriter class. using System.IO; StreamWriter sw = new StreamWriter(FullFilePathHere); sw.WriteLine("I have written a line to the above specified file."); sw.Close();

Member Avatar for Mike Askew
0
327
Member Avatar for mcmanuel20
Member Avatar for Michael27

For clarification... You have say 5 picture boxes [] [] [] [] [] You load an image into one [x] [] [] [] [] and so you want the code to then automatically put the image into the next empty one? [x] [x] [] [] []?

Member Avatar for Michael27
0
445
Member Avatar for Mike Askew

This will sound like a homework assignment, it sort of is, but isn't. Anyway! I have created a simple address book application with a CSV backend. This utilises a Person class to store the contacts details and an AddressBook class storing the list of Person. Within the code we have …

Member Avatar for Mike Askew
0
107
Member Avatar for lianpiau

You use the IP address of the server in the data source of the connection string. See: - http://msdn.microsoft.com/en-us/library/ms175483(v=sql.105).aspx - http://stackoverflow.com/questions/4743799/connect-sql-deployed-database-over-the-internet Next time please google your question first, I hate just reciting two links within the top four entries on a google search.

Member Avatar for Mike Askew
0
73
Member Avatar for azdine

You have two syntax errors. ---------------------- Change `<VALUE><xsl:value-of select="$RecordName" /><xsl:text>.</xsl:text><xsl:value-of select="$currentID" />` to: `<VALUE><xsl:value-of select="result:num2dot($currentID)" /></VALUE>` This is because we do not need the `<xsl:value-of() />` to retrieve the variable value, simply referencing it is enough. ---------------------- Change `<xsl:if test="$currentID <= $endID">` to: `<xsl:if test="$currentID &lt;= $endID">` This is because …

Member Avatar for Mike Askew
0
185
Member Avatar for sagarpulidindi

[Here you go](http://lmgtfy.com/?q=open+source+.net+BPM) The above magical link will take you to a long list of pages. Through which you can look for examples of open source BMP software.

Member Avatar for Mike Askew
0
92
Member Avatar for seen

public class Profile { public Profile() { } // method public string getMSG() { return "What do you look like"; } private string _eyecolor; public string eyeColor { // Missing this opening bracket for a property get { return _eyecolor; } set { if (!string.IsNullOrEmpty(value)) { _eyecolor = value.Substring(0, 1).ToUpper() …

Member Avatar for Mike Askew
0
128
Member Avatar for Dendei

The DisplayMember and ValueMember settings of the combo-box allow you to make the display value different to the selected one.

Member Avatar for Dendei
0
378
Member Avatar for Majestics

Most windows PC's ship with some version of the framework pre-installed as it is so common. So I would generally put up with the five minutes it takes to download a re-dist of the latest framework. The only way to do it without as Momerath said is [third party software](http://spoon.net/studio) …

Member Avatar for jinus
0
132
Member Avatar for Divinedar

Once you select an attachment there is a background process as the document uploads to the server to be checked. You may notice an uploading message in your browser status bar. As that is what I get, once the document is uploaded options appear to place the document within the …

Member Avatar for Mike Askew
0
427
Member Avatar for Mike Askew

![Untitled91](/attachments/large/3/Untitled91.png "Untitled91") Just wondering, is the attached an intentional visual display or a glitch? Reloading the window does not reset the bar to its normal position. Edit: This is still occuring while the web browser is maximised also. Edit2: Also the alignment to the last reply to topic is off.

Member Avatar for Mike Askew
0
70
Member Avatar for ilvanhellovan

Semi-Duplicate post of http://www.daniweb.com/software-development/csharp/threads/435649/ask-ihtmlinputelement-setattributeonclick

Member Avatar for Mike Askew
0
157
Member Avatar for iamthwee

> If you still do not understand the voting system then I fear we will have to break out the picture book version of the explanation :) Gimme gimme gimme.

Member Avatar for Mike Askew
0
459
Member Avatar for Mike Askew

I've noticed on two seperate occasions today that viewing my own profile page has seemingly crashed my Chrome browser. I'm running at under 25% of my hardware capabilities so its not that. Wondered if anything was done in the background that could be causing this? Chrome Version 22.0.1229.79 m Running …

Member Avatar for Mike Askew
0
216
Member Avatar for Dino000

Im confused at what the issue is, as were the people on StackOverflow when you asked them the identical question. Please clarify.

Member Avatar for Mike Askew
0
198
Member Avatar for neerajkumar.in

How is `position` determined? A variable passed to the XSLT? The position within the loop in XSLT? Etc?

Member Avatar for Mike Askew
0
181
Member Avatar for sundog1

Once again... You do not open a connection to the database **before** the line calling the `dataadapter.Update()` and then closing it **after** the line calling it. It cant find a data table if it cant connect to the database now can it :) This method call requires manual opening and …

Member Avatar for Mike Askew
0
346
Member Avatar for arabgogs
Member Avatar for nitin1

Mod, by earning the management teams respect and trust, along with other factors most likely. Admin, can't say I know.

Member Avatar for nitin1
0
245
Member Avatar for arcticM

Hows about this: [Click](http://bit.ly/RC3lOr) You did ask for a LMGTFY link with this question... Though the login screen may occupy the entire screen, nothing is wrong with a box in the centre and a shaded colouring on the rest of the screen, it is a common approach.

Member Avatar for <M/>
0
150
Member Avatar for muhammad.waleed.9699

I suggest you provide the error itself. Also run a debug on the academic.aspx page and check what the session value contains when it loads.

Member Avatar for muhammad.waleed.9699
0
194
Member Avatar for ctrl-alt-del

Could you not base the progress bar off how many files have been copied? Max value = total file number progress value = amount copied?

Member Avatar for ctrl-alt-del
0
243
Member Avatar for mohit.bhayana.142

You simply pass the stylesheet the second file location as the parameter `InputFileTwo` and it will work when run on the primary file, it doesnt matter which way round you do it, however the XSLT will look at the attributes of the primary file to determine concatenation (nothing said otherwise …

Member Avatar for rahul4aug
0
3K
Member Avatar for mechbas

Stultske is right, mess with cracked programs and make sure your up the task of dealing with the consequences.

Member Avatar for stultuske
-2
316
Member Avatar for Dendei

The adaption to Deceptikon's response here would be to make a custom form that looks like a message box proving two buttons, 1 and 10, and then use `.ShowDialog()` on the customer form to display it modally, therefore forcing a response to the form before continuing. You could then assign …

Member Avatar for ddanbe
0
266
Member Avatar for Dendei

If `myObject.HandleString(Cards);` has a return value, `CardsNumber = myObject.HandleString(Cards);` will set CardsNumber to be that value. `Cards` would be modified if it is a form level variable and the method makes changes to the `Cards` variable within it. Can we see the method code and that might help find the …

Member Avatar for Mike Askew
0
117
Member Avatar for imaan fatima

We might be able to help, **if** we can see the code we are dealing with. As `Console.Beep();` works fine for me.

Member Avatar for nmaillet
0
70
Member Avatar for esedee

Well what have you got so far for this? Attempt it yourself and we will correct you when you run into trouble, specially when it sounds like homework.

Member Avatar for Mike Askew
0
80
Member Avatar for semicolon

Most likely using the standard provided classes microsoft have. and writing SQL that doesnt select redundant data, will be the fastest way in my opinion.

Member Avatar for Mike Askew
0
77
Member Avatar for Mike Askew

The following suggestions will help the process of answering threads in the most efficient manner. 1. Do not hijack other member's threads, you will not get replies, instead start your own question. 2. What have you tried? We are not here to mock mistakes and showing effort made will make …

1
112
Member Avatar for Dendei

You have two options to convert a string to an integer, convert and tryparse. string TempString = 0; int OutInt = Convert.ToInt32(TempString); // This will exception if not viable to convert to integer string TempString = 0; bool Success; int OutInt; Success = int.TryParse(TempString, out OutInt); // This will return …

Member Avatar for Dendei
0
228
Member Avatar for sai.ayilavarapu

string update_sql = "UPDATE Customers SET Last_Name = '" + col2 + "', Type_Of_Trip = '" + col3 + "', Leaving_From = '" + col4 + "', Going_To = '" + col5 + "', Departing_Date = '" + col6 + "', Returning_Date = '" + col7 + "', Departing_Time = …

Member Avatar for Mike Askew
0
103
Member Avatar for Dendei

using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { Cassandra myObject = new Cassandra(); string a ="söt"; a = myObject.hejsan(a); System.Console.WriteLine(a); Console.ReadLine(); } } class Cassandra { public string hejsan(string value) { value +="Cassnadra"; return value; } } } Line 10, you need to assign a …

Member Avatar for Dendei
0
172
Member Avatar for Dendei

public string[] CreateCards( string[] Cards) { Cards = new string[52]; for (int a = 0; a <= 51; a++) { if (a <= 12) { Cards[a] = " Hjärter " + (a+1).ToString(); } if (a > 12 && a <= 25) { Cards[a] = " Ruter " + (a-12).ToString(); } …

Member Avatar for Dendei
0
319
Member Avatar for firdousahmad

I think they mean how do you know whos not telling the truth, though I see no reason to do so as it isnt a competition xD >Rollercoaster tycoon 3 Daaaaaamn used to love that series, so need to get it again for pc :D

Member Avatar for Mike Askew
0
103
Member Avatar for rexdon

Well to get this exception you must be referring to the array location in some form (a loop or direct call) that goes past the length, therefore the index of what is causing the issue will be blatently obvious if you debug your code. `Array.Length` returns an integer representing how …

Member Avatar for Mike Askew
0
179
Member Avatar for semicolon

This can be partially done using `dtSelectedColumns.Select();` However this doesnt use actual SQL to do the selection simply a filter criteria. For example `dtSelectedColumns.Select("Age > 20");` would be the same as running `Select * From dtSelectedColumns Where Age > 20`. Of course this assumes you have an age column in …

Member Avatar for Mike Askew
0
153
Member Avatar for czxzxcXZ

<xsl:for-each select="nodename"> <xsl:sort select="substring(., 5, 4)" data-type="number" order="ascending"/> </xsl:for-each> That will work, we substring the node value to only look at the numerical part of it and then sort accordingly.

Member Avatar for Mike Askew
0
124
Member Avatar for sundog1

The dataadapter wont update the database without you opening a connection to it prior to the update call and closing it after. If the datagrid isnt updating make a little method that unbinds its datasource, and then rebinds it again, then call that after you update the row. Thats how …

Member Avatar for Mike Askew
0
226
Member Avatar for israruval007

You would need to use an XPath query to see if anything returns under the given name, then you can proceed from there with decision making logic

Member Avatar for Mike Askew
0
349
Member Avatar for czxzxcXZ

<xs:element name="code"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:pattern value="[a-zA-Z]{4}[0-9]{4}"/> </xs:restriction> </xs:simpleType> </xs:element> Try that.

Member Avatar for Mike Askew
0
195
Member Avatar for I_m_rude

> If you choose the former, go ahead and join the forums whiners.com. I tried, the work proxy filters blocked me :( Must be a sign it was not meant to be!

Member Avatar for nitin1
0
315
Member Avatar for uroz

I like the song list :) What happens if two songs have identical votes? Whats the sort done on then?

Member Avatar for AnnieCalvert
0
121
Member Avatar for sundog1

Its not to do with the fact the table your making the new row from is referred to as `orders.cashCustomers` is it? Your then adding the row to `cashCustomers`.

Member Avatar for sundog1
0
2K

The End.