Search Results

Search found 35561 results on 1423 pages for 'value'.

Page 60/1423 | < Previous Page | 56 57 58 59 60 61 62 63 64 65 66 67  | Next Page >

  • Python unhash value

    - by blah01
    Hi all I am a newbie to the python. Can I unhash, or rather how can I unhash a value. I am using std hash() function. What I would like to do is to first hash a value send it somewhere and then unhash it as such: #process X hashedVal = hash(someVal) #send n receive in process Y someVal = unhash(hashedVal) #for example print it print someVal Thx in advance

    Read the article

  • access property value of one class from another internal class in C#

    - by starz26
    how do i acces the property value from an internal class , see below? namespace N1 { public class ClassA { string var1 = null; private ClassB b; public ClassA() { var1 = "one"; b = new ClassB(); } //property public string Var1 { get{ return var1; } } } namespace N1 { internal class ClassB { private void method() { // I need to access the value of Var1( property) from here, how to do this? } } }

    Read the article

  • Render partial view with updated value.

    - by janiya
    I am working on asp.net mvc project using views and partial views. Multiple partial views are being rendered in single view. Now my problem is that when ever i update some values in partial view and render it again through controller it does not show partial view with updated value.... to see updated value i have to refresh the page each time.

    Read the article

  • access textarea value

    - by Espen Arnoy
    I have a on a form of mine. I´m trying to reset the value (the value typed by the user) of this field on a certain event. However, I seem unable to access it both with .val() and .html(). Any advice on this?

    Read the article

  • Pass a value from child to parent in Silverlight

    - by tony
    Hello, I am working on Silverlight project. I added a custom user control (Say, control1) which has a text box and button to a xaml page (Say, Page1). Now what I want to do is when users clicks on the button, i want to pass the value in the textbox to Page1 and do something. So basically, I am looking for a way to pass back a value from child to parent page in Silverlight. Thank you.

    Read the article

  • Javascript/jQuery get external CSS value

    - by Acorn
    Is it possible to get a value from the external CSS of a page if the element that the style refers to has not been generated yet? (the element is to be generated dynamically). The jQuery method I've seen is $('element').css('property','value');, but this relies on element being on the page. Is there a way of finding out what the property is set to within the CSS rather than the computed style of an element?

    Read the article

  • variables reference value of string

    - by xdevel2000
    How can I get the reference value of a string object? If I hava a class like class T() { } T t = new T(); System.out.println( t); print out T@a3455467 that is the reference value inside t but for string? maybe with method hashCode()??

    Read the article

  • Hash value in the manifest file.

    - by satishtech
    Hello, Im tring to create a manifest for my own.dll, i took the manifest file from C:\WINDOWS\WinSxS\Manifests for example. In that, below tag was one of the line.<file name="msvcr90.dll" hashalg="SHA1" hash="e0dcdcbfcb452747da530fae6b000d47c8674671"> In above tag, hash value was assigned with 40 character. Here comes my doubt, 1) hash value was auto generated, if not, whats it points to?

    Read the article

  • Cast value from NSNotification's object

    - by E-Madd
    How can I cast the object in a NSNotification to an integer and to a string? When I log the notification to the console I get... NSConcreteNotification 0x20af70 {name = kMessageCountNotification; object = 1} But when I set the text value of a UILabel to that value, I get 72855952

    Read the article

  • how to add a new value to a dropdown list in Rails

    - by LearnRails
    In my item table, I have a itemname column which is currently a dropdown list taking values from DB. <%= select 'item','itemname' , Item.find(:all).collect{|c| [c.itemname]},{:include_blank = 'Select Name'} How can I add a new value to this dropdown list through the application. Is there a provision to directly add value to the list? Thanks

    Read the article

  • how to Update the XMl value and write back using LINQ

    - by NewDev
    Hi all, i am having query for update the node value using Linq, For example i am have to update <Student> <studentdetail> <studentname>test</studentname> <libraryid>hem001</libraryid> </studentdetail> </Student> in above xml i want to change the value of Student name "test" ti something else like "Undertest" regards NewDev

    Read the article

  • textarea doesnt return value

    - by toingbou
    Im using a code editor codepress in all of my textareas, but no textarea return a value. I think the different name and id is the problem. Example: <textarea name="content_text" rows="20" cols="50" class="codepress sql" id="myCpWindow"></textarea> I have read somewhere in here to use a hidden input to transfer the textarea's value, but i cant do it myself! ayhelp?

    Read the article

  • how to change the value of a control in a master page

    - by Azhar
    how to change the value of a control e.g. Literal in a user control and that User control is in master page and I want to change the value of that literal from content page. ((System.Web.UI.UserControl)this.Page.Master.FindControl("ABC")).FindControl("XYZ").Text = ""; here ABC is user control and XYZ is Literal control

    Read the article

  • how to change Dictionary's value when enumerate it?

    - by younevertell
    how to change Dictionary's value when enumerate it? the following code doesn't work, because we can not change dictionary's value when enumerating it. Is there any way to get around it? Or NO WAY? Thanks foreach (KeyValuePair<string, int> kvp in mydictionary) { if (otherdictionary.ContainsKey(kvp.Key)) { mydictionary[kvp.Key] = otherdictionary[kvp.Key]; } else { otherdictionary[kvp.Key] = mydictionary[kvp.Key]; } }

    Read the article

  • get dictionary key by value

    - by loviji
    how to get a Dictionary key by value in C#? Dictionary<string, string> types = new Dictionary<string, string>() { {"1", "one"}, {"2", "two"}, {"3", "three"} }; I want simething like this: getByValueKey(string value); getByValueKey("one") must be return "1". What is the best way do this? may be HashTable, SortedLists?

    Read the article

  • Amazon Product Advertising API: XXX is not a valid value for BrowseNodeId

    - by Chris
    Hello, I am using the Amazon product Advertising API to fetch the product categories. For US categories it is working. But using browse nodes from different sites I get the following error: "569604 is not a valid value for BrowseNodeId. Please change this value and retry your request." I got the browse-nodes from the following site: http://docs.amazonwebservices.com/AWSECommerceService/latest/DG/index.html?BrowseNodeIDs.html Where is the problem? Thanks for your help!

    Read the article

  • Oracle - Return shortest string value in a set of rows

    - by Sridhar
    Hi, I'm trying to write a query that returns the shortest string value in the column. For ex: if ColumnA has values ABCDE, ZXDR, ERC, the query should return "ERC". I've written the following query, but I'm wondering if there is any better way to do this? BTW, the query should return a single value. select distinct ColumnA from ( select ColumnA, rank() over (order by length(ColumnA), ColumnA) len_rank from TableA where ColumnB = 'XXX' ) where len_rank <= 1 Thank you.

    Read the article

  • Overriding initial value in ModelForm

    - by schneck
    Hi, in my Django (1.2) project, I want to prepopulate a field in a modelform, but my new value is ignored. This is the snippet: class ArtefactForm(ModelForm): material = CharField(widget=AutoCompleteWidget('material', force_selection=False)) def __init__(self, *args, **kwargs): super(ArtefactForm, self).__init__(*args, **kwargs) self.fields['material'].initial = 'Test' I also tried with self.base_fields, but no effect: there is always the database-value displaying in the form. Any ideas?

    Read the article

< Previous Page | 56 57 58 59 60 61 62 63 64 65 66 67  | Next Page >