Questions tagged [getvalue]

191 questions
2
votes
3 answers

EnumValue in TypeConverter

I have a class with properties such as : [TypeConverter(typeof(SomeNameEnumValueConvert))] public Example ExampleName { get; set; } In my Enum TypeConverter, I try to get the Enum name from a certain integer, because the source is reading from a…
edelwater
  • 2,650
  • 8
  • 39
  • 67
2
votes
1 answer

ListPreference, get value from fragment

My app contains a listPreference with entries and an entryValues list in my strings.xml I want to receive the value of the currently selected entry in a PreferenceFragment. Right now, I use the following code to fetch these values, (and later on,…
Quacksilber
  • 163
  • 1
  • 14
2
votes
1 answer

How to set value in string.replace() method?

I have 2 edittext .and i want to get value edittext1 and edittext 2 and set it in string.replace mehod Like this; string.replace("set here1st edittex value",set here 2nd edittext value") How to possible it? Thanks in advnce!! public class…
I m Android
  • 85
  • 2
  • 9
2
votes
0 answers

How to get value from canvas using selenium webdriver

I want to check whether the balance amount is correctly deducted from the bet amount using selenium webdriver. Game is in canvas, so how can I get the value from canvas. Below is my canvas code:
Akshatha
  • 21
  • 4
2
votes
3 answers

firebase dataSnapshot.getValue() crashes android app

I've put together a very simple android app to get used to using firebase on android. Following the getting started part of Firebase's docs I am able to write to the database with no issue. But when I go to retrieve that data with getValue from the…
2
votes
2 answers

VB.NET Nothing Datetime? dataReader

A simple question with a if inline: dim mydate as datetime? 'Version 1 (WORKS !) If dtReader.IsDBNull(dtReader.GetOrdinal("mydate")) Then mydate = Nothing Else mydate = dtReader.GetDateTime(dtReader.GetOrdinal("mydate")) End If Value =…
Testman
  • 57
  • 7
1
vote
1 answer

how to get column name if that column has value for each row in excel

The source picture has names in the 1st column and the 1st row has dated. There are values for each date column. Need to get Dates and their values for each name if there is a value for a particular date.
1
vote
1 answer

Get values from radio buttons and create dynamic urls in Angular

I have two forms with radio buttons, what I need to do is to select an option from the first form and then go to the form 2 and select another option. Depending of the options selected I need to go to an Url, there are different urls for the…
1
vote
1 answer

Why does comparing the string TRUE to the value from getValue fail?

I'm trying to move an entire row to another sheet based on a specific value. See code below: function onEdit(e) { const src = e.source.getActiveSheet(); const r = e.range; if (src.getName() == "Sheet1" && r.columnStart == 4 && r.getValue() ==…
1
vote
1 answer

How to return values of multi-choice Sharepoint field in an email in Power Automate?

I have a sharepoint list with a column "Department", which is a choice list allows multiple selections. I want to send an email to users by creating a HTML column with some column details including this "Department column" values. But while running…
ShaSS
  • 11
  • 1
  • 2
1
vote
1 answer

Puppeteer; Get Values within an element

I'm stuck here. I got multiple rows with class rowcontent. I get them like that: const rows = await page.$$('.row-content'); Almost every row in rows got many spans with the class named cashspan. I would like to get those values in an array called…
Jinkle
  • 11
  • 2
1
vote
1 answer

How to obtain a cell value from Google Sheet to define as a variable in an html email

First, let me say that I'm not well versed with app scripts and have been trying to leverage hours to reference past examples and content threads within this site that has been wonderful. This is probably a silly error on my part. Problem…
1
vote
1 answer

speed up copyto another Google sheets

I have a code which copies row if condition. By the source sheet is around 8 000 lines and the script fails because is too long. How can I speed it up? I would like it takes one 1 hr max. I think it makes too many calls to Google. I hope we can…
1
vote
2 answers

How to retrieve particular string from a text kotlin?

I am getting the scan result in a string like --- DriverId=60cb1daa20056c0c92ebe457,Amount=10.0 I want to retrive driver id and amount from this string. How can I retrive? Please help...
Sid
  • 2,792
  • 9
  • 55
  • 111
1
vote
0 answers

Google script cannot write/read to Google sheet and give error "Exception: Enter a number" for getValue()

I have an onFormSubmit function that triggers onFormSubmit and gets some additional information from external sources for the submitted entry. It seems to be fine before line 113. Logger output before the line are correct, but that line of code does…
1
2
3
12 13