Data not getting displayed in Silverlight project - silverlight

I am given with a silverlight project. Its partially done and DB Connections are given. I just copied the project into my system. I have started debugging. Then, the front end UI is getting displayed but with no data. Dropdown are there, Grid headers etc..but data not getting retrieved from Database. I could not find why is that exactly as i am new to silverlight.
Can anyone help me out..

Got it. At last found date in incorrect format. System date and code written for date format are not matching.

Related

How to get Android Bugs Reports Data?

Since Android is open source, I guess there won't be problem if I use the data for my project. I want to do a project where I need a dataset that contains bug reports that many users have sent across the world, and I want to predict the severity of the bug by analyzing the report either by performing text mining on the description of the report or by stacktracing. But, the main problem is Dataset. Can someone tell me how do I get the dataset for this project? Also, if you have any idea on this project, help me out.

Edit a premade macro-enabled excel document from AngularJS webapp

I've got quite the issue that I can't seem to figure out how to do cleanly after hours of scouring the internet, hoping you all could help me out.
We have an AngularJS web-app that is used to create an object in a database according a large set of variables. After the object is put into the database, we want to put some of the fields into a macro-enabled excel doc containing some necessary VBA macros that then downloads to the user's computer.
From what I've found, Angular can output the data to a new excel doc, but we need to have the data put into the pre-existing excel document. The closest tool I've found is SheetJS from a different StackOverflow question/answer, but that answer doesn't actually implement the functionality to edit the current excel, only write to a new excel document.
Any and all suggestions on fixing my problem are appreciated!
I may have found an answer, but it's not quite available yet. I left an issue on the SheetJS GitHub page which got answered today. Sounds like macro persistence functionality is being added into the release this upcoming Friday. From there, add bookVBA:true to the options of your readFile call like XLSX.readFile("filename", {bookVBA:true, /* .. other options */});, and then on your writeFile call you add the option of bookType:"xlsm".
This is of course speculatory, as the change isn't live yet. I'll make sure to update this answer at that time.
EDIT/UPDATE: SheetJS now works in copying over macros to a new workbook, but there's currently a bug. If you have any code in the ThisWorkbook object to do anything on startup, sheet changes, etc., they won't work after writing back out, as it creates a new ThisWorkbook1 object. I've already opened an issue on it, but that should be fixed relatively quickly.

How do I validate Inputed data in CRUD application using MEAN stack?

I am working on CRUD application and above one is snapshot of its design and
I have done validation for updating in this application.
I go through from here.
But I did not rectify my problems.
I want to validate it during inputing means when I does not input anything in text box then it would not add it in database and give proper error on console.
Below is my code Image:
You can try one of the following:
https://www.npmjs.com/package/express-validation
https://www.npmjs.com/package/express-validator
https://www.npmjs.com/package/jsonschema
https://www.npmjs.com/package/json-validation
Next time include code examples in your question. It's hard to give you any specific answer seeing only random screenshots of your editor windows with a tiny font as JPEGs.

Google BigQuery - "Not Found: Project [project-id]

I'm having a problem getting started with Google BigQuery. I'm certain I have done everything correctly to create and configure the account. But when I go to the web interface, the it seems unable to find my project. I cannot create/upload any new data and I can't even query the sample data set. All the interface returns is:
Not Found: Project [my-project-id]
However, in the same window, the project name and ID is being listed in the panel on the left...so it looks like BigQuery is aware of my project in some sense. Screen shot below:
I am at a loss of how to rectify this. Does anyone have any ideas of something I might be missing in configuration and/or setup?
Best regards,
Dan
Did you recently set the ID on your project (e.g. xs-analytical-park-g)? If so, there may be a dataset that uses the old name (which was the numeric id of the projcet) which confuses the UI. We periodically search for changed project names and apply updates, but sometimes this can take a while.
I've just checked and it looks like our data should be up-to-date with respect to the project ids, so please let me know if this problem still persists.

silverlight sometimes work on a mac, sometimes not

I have an issue that is quite confusing for me and was hoping somebody might have some helpful information.
I have a Silverlight 4 app running on Azure (latest SDK). The Silverlight is a typical application using WCF Data Service calls to get and write data to a database. This all works fine on a PC. However, when running on a Mac, any browser, it works for 95% of the application. However, there is one piece that does not work.
My Silverlight application takes information entered into a form, formats a WCF Data Service call to get a record count from a Lucene Index file. The service gets the index count, packages it into one of my defined entities (using the Visual Studio Entity Data Model) and sends the object back from the service to the Silverlight application. The problem though is that it is not returning the correct number. My debugging seems to indicate a 0 is being returned. Again, it only does this for a Mac. The correct number is returned for any browser on any PC. Again, on top of that every other web service call I make from my Silverlight application is returning correctly on the Mac.
Does anybody have any ideas as to what might be happening? Please ask if I have left out any detail.
Thanks
Wanted to update with my solution in case anybody else ever runs into a similar issue.
Data from two of the fields on the form are dates (start and end dates to be specific). I was reading these values, extracting the year and then creating my own DateTime object. This is where the problem occurred. It appears Mac Silverlight formats the DateTime object differently than the PC Silverlight. The PC Silverlight was formatted correctly (1/1/2011 0:00:00) whereas the Mac Silverlight formatted incorrectly (1/1/11 12:00:00 AM -5:00) based on my time zone.
My solution was to format the date myself into a string as it needed to eventually be in string format for passing to the Web Service that queried my Lucene indexn anyway.

Resources