Hi, I need to store large amounts of text (upwards of 20,000 words). I was wondering what is the best type to use, or is this not possible. Will I need to store them as files with links in the DB? Thanks in advance
sroberts82
Posts
-
LArge amounts of Text in SQL Express -
NCover and NUnitHi, Im new to using NCover and NUnit and I have two questions I cant figure out. I have a project which has 3 classes: Currency.cs CurrencyTests.cs Program.cs Its a console App. When I use NCover it only details coverage of code in Program.cs (the class with the Main() method). How can I look at the code coverage of the Currency class, or any other one I should add? My second question is how to set NCover to run my tests, rather than just the main entry point of the program? I am building my tests in the same project. Thank you in advance,
-
Service Pack 2Hi, I put Windows XP Service pack 2 on my laptop the other day, and now its really slow. The CPU is at 50% constantly now. Has this happened anyone before?
-
EncryptionWell lads how are things, I have a question about the RijndaelManaged class in C#. I am using it and everything is ok. However I spotted on some message board that another lad was using it and he said that he did a Microsoft security update and could no longer decrypt his old data previous to the update, but anything encrypted/decrypted post update was ok. Has anyone ever heard of this problem? I would have thought that the AES standard is independant of any such changes and that once you have key and IV your sorted. However, the possibility of this happening to me is so serious that I have to investigate this. Thanks for any help in advance,
-
CheckBoxListHi this is more a question about appearance than anything. I have a check box list which I want to divide up as follows. 3 Items followed by a heading followed by another 3 items heading and so on. But all the items are the same list. Can this be done? Thanks in advance
-
First Selected ButtonNice one bruvver
-
First Selected ButtonHi, I have a form with the following format: a the the top there are two buttons, followed by a text field, followed by a submit button. When I load the page, and press enter, nothing happens. When i select the text box and type stuff and press enter, the first button gets selected. The problem is this is a logout button. By default I want the submit button to be selected. I tried tabindex=1 on it but that didnt work. Any ideas? Thanks in advance,
-
Post BackI have a question about the Post Back, I dont think Ive really got it yet. I have a form with checkboxes and a submit button. I put in a break point in the page load method and my onClick method of the button. First time, page loads, grand. Checkbox values are populated from a DB grand. Then I change the values of the check boxes and click submit. The first breakpoint i encounter is the one in page load, which reloads the checkbox values from the DB and then these go into the onClick method. So my question is why is the order pageload, click submit, page load, onClick method? Ive tried putting the generation of the checkboxes in a if(!page,ispostback) but then in the submit method i call FindControl and it cant find them because I guess they were never created. What I want to know is why is this second pageload in there? I dont want it and its wrecking things. Thanks in advance,
-
Strings to intsI have a text box to get info off the user. It should be an int but i cant be sure so i must validate it first. How do I tell if a string is an int? I know i could do Convert.toInt.... and put it in a try catch but is there another way? Thanks in advance
-
@@FETCH_STATUSNice one, thats exactly the problem, thank you ver much
-
@@FETCH_STATUSI have a stored procedure that has two cursors running one after another. I say while @@fetch_status = 0 to enter the loop. when the first one finishes fetch_status is -1 and wont enter the 2nd cursor. can i manually set fetch_status? Thanks in advance Stephen
-
CheckBoxes and checkboxlistsHi I was wondering if someone could maybe help me. I have a form which display a table of various data. At the end of each row in the table I wish to have a checkbox so on submission of the form I can determine which rows have been selected. The number of rows is variable depending on the results of a sql query. The way Im doing it at the minute is I have an asp:Table on my aspx page. In my code behind, for every sql result I get I add a row to the table, and one of the cells in the row contains a checkbox control. I dont like this though because I have to make up a different id for each one, and then go findcontrol on submission. Dont like this. Is there a better way to do it using checkboxlists? Thanks in advance stephen
-
Dropdownlist and Buttonyeah im using asp:Button and asp:dropdownlist.
-
Dropdownlist and ButtonHi, I have a form with a dropdownlist on it. I have an eventhandler for OnSelectedIndexChanged which works grand. The problem arises when I try to add a submit button. Form appears fine first time, but when I attempt to change the selected item in dropdownlist, and error comes about saying there is a problem with some JScript error (I imagine added itself I didnt have any Jscript in) saying function __doPostBack(eventTarget, eventArgument) { if (!theForm.onsubmit || (theForm.onsubmit() != false)) { theForm.__EVENTTARGET.value = eventTarget; theForm.__EVENTARGUMENT.value = eventArgument; theForm.submit(); <-----"object doesnt support this property or method" } } any ideas? Thanks in advance, Ste
-
Asp RepeaterHi I have an Asp repeater on my form filled from a website. Basically each member is a href. What I want to do is depending which is selected I wish to set a session variable say x, to be some value, dependant on the selection. Any ideas? Thank you in advance Stephen
-
checkboxesHi I have a checkbox on my form and everything works grand. Except I want it to appear checked when I load the page. I was doing this: box.Checked = true; and it came up as being checked alright, but when I tried to check it off and submit the form, it still returns true. Whats the rumpus here could anyone tell me? Thank you in advance Stephen
-
HtmlInputFilesDoes anyone know when using htmlInputFiles how the textbox part (for want of a better word!) can be set to a certain value, a default say
-
ConsoleYeah thats what I was looking in. The only thing is maybe the way I run it. I copy project over to IIS and run from there. How do you run yours?
-
ConsoleHi, thanks for response, I tried that but I cant see my messages. Is there even an output file , something like catalina.out in java that I can write to?
-
ConsoleHi, This is a really basic question but I cant find the answer anywhere. The function console.write, where does it write to?? I dont see any results in my visual studio console, is there a file somewhere?