Vote count: 0 I want to process first set of thousand records and then next set of thousand records from the search results obtained from the Search Results . i'm getting the first set of thousand records using the method available in suitescript 2.0 version'N/search' module's Method (getRange(0,1000)). CODE: var mySearch = search.load({ id: 'customsearch_employee' }); var searchResult = mySearch.run().getRange(0, 100); for (var i = 0; i < searchResult.length; i++) { var entity = searchResult[i].getValue({ name: 'entity' }); }); I want know how to process next set of thousand records using the for loops. thanks in advance asked 8 secs agoMurugan Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I am doing school work and need some help, I want the image in a 'Relevant Information' ImageField column that is DataBound to be enlarged when hoverover. Here are my codes: asked 7 secs agoshck Let's block ads! بخوانید...
ادامه مطلبVote count: 0 As you know we can use raw sql query in entity framework by SqlQuery() method or ExecuteSqlCommand() method. in addition we use raw sql query in ado.net for add, change or remove data in database. My question is way we use entity framework to execute raw sql queries while we can execute them by ado.net? For example assume these codes: ADO.NET: public bool CheckUseameAndPassword() { string coectionString = "Server=localhost;Database=Project;Trusted_Coection=True;MultipleActiveResultSets = true; "; loginQuery = "SELECT Users.*,Useame_Password.* " + "FROM Users " + "JOIN Useame_Password ON Useame_Password.Useame_Email = Users.Email " + "WHERE Useame_Password.Useame_Email = '" + _U...
ادامه مطلبVote count: 0 I tried using String.Format that is commented below but it doesn't work. I tried using contains but it seems like it only takes a certain amount of characters its not reading 2 numbers just 1. I want it to really use the string.format. I pretty much want to save the two numbers from the textbox and display them and in that format only. What do i need to do? string s = textBox1.ToString(); string text = textBox1.Text; text = text.Trim().ToLower(); MatchCollection matches = Regex.Matches(s, @"d+"); string[] result = matches.Cast() .Take(2) .Select(match => match.Value) .ToArray(); //string c = string.Format("The alarm id from video server number {0} is {1}.", result[0], result[1]...
ادامه مطلبVote count: 0 How I can read XMI file in asp.net C# and show in tree view. XMI have different format with XML , I want to read XMI file data with following format in asp.net C#. Format for XMI given bellow. Can any one please suggest how I can read this format and convert this XMI to Tree format in C# boolean byte boolean byte...
ادامه مطلبVote count: 0 How to use Redis as message queue in asp.net core 1.0? How to coecting Redis in asp.net core 1.0? asked 19 secs agoNeallin Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I've created a .NET Core project (a class library) that also targets .NET 4.6, which needs to be able to access the current HTTP context. I see that we can no longer use the static HttpContext.Current, and have to inject an instance of IHttpContextAccessor. Is this something I can still use inside something like a Web API project targeting .NET 4.6? So far, I can't get HttpContextAccessor.HttpContext to retu anything but null. asked 14 secs agoTom Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I am trying to lea php on my own. Things were OK till i reach DB coection. I am using NetBeans 8.1 and had installed xampp to set up mysql and apache server. But when i try to coect to DB using $dbPassword = "PHPpassword"; $dbUserName = "PHPuser"; $dbServer = "localhost"; $dbName = "PHPFirstDB"; $coection = new mysqli($dbServer, $dbUserName, $dbPassword, $dbName); print_r($coection); Ideally i should be seeing $coection details but I am not able to see anything in the script output window. I have set runas : script(run in command line) Can anyone help me here... asked 1 min agoMANO MANO This entry passed through the Full-Text RSS service - if this is your content and you're rea...
ادامه مطلبVote count: 0 I have tried deepnet library in R on Boston dataset. data("Boston",package="MASS") data...
ادامه مطلبVote count: 0 I have a problem with unloading an AppDomain in my .NET application. I have the following code which: AppDomainSetup info = new AppDomainSetup(); Assembly arAssembly = typeof(AssemblyResolver).Assembly; info.ApplicationBase = Path.GetDirectoryName(arAssembly.Location); AppDomain appDomain = AppDomain.CreateDomain("AssemblyResolver", null, info); //Find all the assemblies with the attribute defined AssemblyName[] assemblyNames = null; AssemblyResolver ar = (AssemblyResolver)appDomain.CreateInstanceAndUnwrap(arAssembly.FullName, typeof(AssemblyResolver).FullName) as AssemblyResolver; assemblyNames = ar.PrivateFindAssembliesWithAttribute(attributeType, path, includeSubdirs); //Fin...
ادامه مطلبVote count: 0 I'm developing a website for my store, this site likes this: The customers will choose one of 4 satisfaction level icons. Take a photo of them, but they would not see them and do not know they had been captured. The datetime, the level chosen and their photo will be saved to a folder. I had been finished 90% and there're 2 issues I can't do: 1. Hide 2 areas: Camera area and Canvas area. 2. CapturePhoto button will be compined in satisfaction button. I mean no need capture button, only satisfaction button will take and save photo. So please help me to do these, thank you so much! enter image description here asked 16 secs agoJame This entry passed through the Full-Text RSS servi...
ادامه مطلبVote count: 0 I been making a Bot to Receive notification from a Ark: Survival Evolved Game Server and Send them to the Steam account of the player using steam chat system ! well, everything was done greatly with no problem, I tested my work using data sent from a query string, and it works and send the messages etc. but now that i check using the game server, it won't work. The Problem, seems to be coming from sending the HTTP POST Request with body content instead of query string as my app will not receive them. I have made a lot of examples to receive the POST requests but non seems to work, I hope someone here know how to fix this, I lost all hope as i been working on this for over 5 hou...
ادامه مطلبVote count: 0 I am trying to use authorize.net's php-sdk to charge a customer profile which is working but I can't find the write way to send the poNumber along with the data. In the following link, I am using the part where it says Creating Transactions, but no where do I see how to add poNumber. https://github.com/dragonjet/AuthorizeNet-PHP-SDK/blob/master/doc/CIM.markdown#creating-transactions There are so many different ways to send a transaction through to authorize.net, but the method I am using is shown in the link above. I need to get it to work like that but with poNumber. Anyone know how to do this? Thanks asked 1 min agoThEwHiStLeR This entry passed through the Full-Text RSS servi...
ادامه مطلبVote count: 0 In the default Visual Studio web project for MVC5, you'll find the following code: var result = await SignInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, shouldLockout: false); switch (result) { case SignInStatus.Success: retu RedirectToLocal(retuUrl); case SignInStatus.RequiresVerification: var userId = await SignInManager.GetVerifiedUserIdAsync(); // I added this! retu RedirectToAction("SendCode", new { RetuUrl = retuUrl, RememberMe = model.RememberMe }); // other cases } At this point, SignInManager.GetVerifiedUserIdAsync() retus null. On the next controller action in the chain, however: public async Task SendCode(SendCodeViewModel model) { if (!...
ادامه مطلبVote count: 0 I am trying to build the version 4.3.0 release. But I am getting the known error: Could not load file or assembly 'DotNetOpenAuth.Core' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045) I tried several options, but didn't manage. The problem is that I have to associate with an OpenId provider and they tell me it will not work unless I change protected string GetSignature method. The line: MessageDictionary dictionary = this.Chael.MessageDescriptions.GetAccessor(signedMessage); according to them has to be ...
ادامه مطلبVote count: 0 I am able to hit the service using postman(rest client) but the same fails while using Spring Rest Template. asked 17 secs agoVikas Rajoria This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.Recommended article from FiveFilters.org: Most Labour MPs in the UK Are Revolting....
ادامه مطلبVote count: 0 I updated my vNext poject from RC1 to 1.0 (preview2), everything went fine, I can debug in Visual Studio without problems. Next I would like to upload the site on a Windows Server 2008 R2 and IIS 7.5. I installed the necessary Windows Hosting tools, and created the web application in the IIS. The problem is, that after I tried to open the page, it retued a 404 error. As I see in the task manager, my application is ruing, but stops in listening mode, I mean I see only these entries in the log file: Hosting environment: Production Content root path: C:inetpubwwwrootMySite Now listening on: http://localhost:20706 Application started. Press Ctrl+C to shut down. It seems like there ...
ادامه مطلبVote count: 0 I'm developing a BlackJack game for Windows and I would like to add a basic buton (Or the twitter logo) that makes the function to post a tweet on the user's account. Could anyone please help me with some example code I could copy-paste since I'm not good at programming. Thanks. asked 35 secs agoFrank Varela This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.Recommended article from FiveFilters.org: Most Labour MPs in the UK Are Revolting....
ادامه مطلبVote count: 0 I used Caffe GoogleNet model to train my own data (10k images, 2 classes). I stop it at 400000th iteration with an accuracy of ~80%. If I run the below comment: ./build/examples/cpp_classification/classification.bin models/bvlc_googlenet/deploy.prototxt models/bvlc_reference_caffenet/bvlc_reference_caffenet.caffemodel data/ilsvrc12/imagenet_mean.binaryproto data/ilsvrc12/synset_words.txt 1.png it would give me a random result each time I run it (e.i. if I run it n times, then I get n results). Why? Does my training fail? or does it still use the old data from the reference model? I'm sorry if the question is too simple. asked 31 secs agoSia yuee This entry passed through the Fu...
ادامه مطلبVote count: 0 How can I use custombox plugin to render actions in asp.net mvc? With modal boostrap, I use the following code, but the same code gives error with custombox: BUTTON New VIEW JS $(".btnModal").click(function () { $("#myModal").load($(this).attr("data-href")); $("#myModal").modal({ backdrop: 'static', keyboard: false }); }); asked 30 secs agoZack Morgan Let's block ads! بخوانید...
ادامه مطلب