Please any one can guide me how to write a [B] mysql database search[/B][I] in java....[/I] I want to search mysql database for some data in keywords. please help... thnakx

Member Avatar
Member Avatar
+0 forum 10

I use navigator.device.exitApp(); to close my html5 app. It clears local storage. But i want to retain local storage in app exit. What can i do? Thankx in advance

Member Avatar
+0 forum 0

I have this ajax request. $.ajax({ type: 'Post', dataType: 'json', contentType: "application/json; charset=utf-8", url: 'https://********/***/*******.asmx/Login', data: "{ userID: '" + userName + "', pwd: '" + password + "' }", success: successCallBack, error: failureCallBack }); Problems is this works fine in older chrome browser. Eg. 20.XX.XX But it does not work on new chrome browser. Eg. 31.0.1650.57 m When i remove dataType: 'json', contentType: "application/json; charset=utf-8", lines in chrome 31.XX browser gives me response as a plain text. Please help me to figure out how to resolve this issue. i.e. The web service works fine

Member Avatar
Member Avatar
+0 forum 1

I want to install an older version on chrome in windows 8. But when i install an older version it automatically update it to the new version at first launch. How to stop this and install an older version of chrome. Thankx in advance.

Member Avatar
Member Avatar
+0 forum 5

I m working with teamcity. I want to build an ipa using the code in the repo. i used the code in http://yiannisoftware.wordpress.com/2009/09/27/how-to-build-ipa/ But it only gives the ipa file without the content. Please give suggestions. Either to correct this code or a way to create ant script to build the ipa. Thank you in advance.

Member Avatar
Member Avatar
+0 forum 2

I have two web services added to the project. One is real web service. Other one is test webservice. i have used them to set some parameters. eg: WS.OrderDescription WS.Amount WS.OrderNumber etc I want to change this WS and WS-test interchagebly. For that i want to add this two into config and access what ever i want (WS or WS-test) by chaging the value in config. How to add this webservice references to config and access in code.

Member Avatar
Member Avatar
+0 forum 1

I am using StingBuilder.append("Address : {0}, {1}, {2} {3} \n", Street1, Street2, PostalCode, City); Problem is if Street1 or street2 is null String builder returns , ,code,city. I want to remove those commas(,) as well. how can i do that? Thank you in advance.

Member Avatar
Member Avatar
+0 forum 1

I am using StingBuilder.append("Address : {0}, {1}, {2} {3} \n", Street1, Street2, PostalCode, City); Problem is if Street1 or street2 is null String builder returns , ,code,city. I want to remove those commas(,) as well. how can i do that? Thank you in advance.

Member Avatar
+0 forum 0

Can I get data from two databases (in same database server) to a c# project. How to include two edmx files? Or is there another way? Thank you in advance

Member Avatar
Member Avatar
+0 forum 1

I m using mvc4. I have urls like http://<mydomain>/<contoller0>/<action1> , http://<mydomain>/<contoller0>/<action2>,... I want to show to the user only as http://<mydomain>/<contoller0>/{somepage} for all the actions in that particular controller. How to impliment this in RouteConfig? I dont want to mess any requests to other controllers. Just want to do it for a specific controller and its actions. How can I do it. Currently my RoutConfig.cs look lik this.(It s the default) routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapHttpRoute( name: "DefaultApi", routeTemplate: "api/{controller}/{id}", defaults: new { id = RouteParameter.Optional } ); routes.MapRoute( name: "Default", url: "{controller}/{action}/{id}", defaults: new { controller = "Home", action = "Index", id …

Member Avatar
Member Avatar
+0 forum 1

CAn i use 'waitfor' in t sql in sql server 2012 to wait in terms of days? eg. Wait three says after an event to do something else? Thankx in advance

Member Avatar
Member Avatar
+0 forum 3

I am using sqlserver 2012. i want to convert nvarchar value from a table in to an integer. How can i do it? i am using it in a stored procedure. and nvarchar value only contains numbers. What i want to do is to multiple that nvarchar value and assign it to int variable.. When i tried it Following error comes Select @temp = @nvarcharvalue * 2 I also tried. Select @temp = CAST(@nvarcharvalue as int)* 2 Following error is shown. The conversion of the nvarchar value '20130429044221' overflowed an int column. How can it be done? Thanks in advance

Member Avatar
Member Avatar
+0 forum 1

What is the procedure can be used in MS-SQL server 2012 in order to create a workflow as in dynamics CRM? Is there a way. Or what is the alternative? Thnakx in advance.

Member Avatar
Member Avatar
+0 forum 2

I have an assignment where i should demonstrate concurrency controls.In order to do that i should work with two sessions in the same database in ms sql server. How can i do that.

Member Avatar
Member Avatar
+0 forum 4

I am tryn a currency converter using hash table. What is the technique to use to enble covert both ways. Ex: Dollers to Euro and Euro to Dollers . I can understand how to do it one way using currency as the hashKey and rate as Hashvalue. (I hope that is the correct way?). How to do this. Please help. Thankx in advance.

Member Avatar
Member Avatar
+0 forum 5

I have a trigger on insert CREATE TRIGGER [dbo].[InsertNewCustomersAsGroupMembers] ON [CustomerBase].[dbo].[Cutomers] AFTER INSERT AS BEGIN SET NOCOUNT ON; -- Insert statements for trigger here DECLARE @inserterdCustomerID uniqueidentifier UPDATE [CustomerBase].[dbo].[GroupMembers] ?---? END GO I want to get the values of the inserted record at [CustomerBase].[dbo].[customers] into the trigger inorder to update [CustomerBase].[dbo].[GroupMembers] table. How can i get them? thank you in advance

Member Avatar
Member Avatar
+0 forum 3

I use Mvc 4 with razor. I have a View that in back end creates a database entry in Action method. Problem is when i refresh the page (Press F5) the back end method calls again and create duplicate of the database entry. How to stop this? public ActionResult SummaryPage() { bool createdatabaseEntry = NotifyCreateDatabaseEntry(); if (createdatabaseEntry) { // pop up success massage } else { // pop up error massage } return View(); } public bool createdatabaseEntry : this method connect to the db Please help thank you in advance

Member Avatar
Member Avatar
+0 forum 1

$('#div').load('/controller/_partialview); <div id="div">"partial view"</div> does not work (does not load the partial view) in IE9 It works perfrectly on firefox and chrome What is the solution? thanks in advance

Member Avatar
Member Avatar
+0 forum 5

SQL server 2012 query. declare IDList cursor for (SELECT ID FROM [dbo].[News] WHERE PublishFromDate BETWEEN cast(@fromDate as datetime) AND cast(@toDate as datetime)) order by PublishFromDate The above cursor wrks fine. But when add order by "desc" make it is not working. declare IDList cursor for (SELECT ID FROM [dbo].[News] WHERE PublishFromDate BETWEEN cast(@fromDate as datetime) AND cast(@toDate as datetime)) order by PublishFromDate desc please help with this thank you in advance

Member Avatar
Member Avatar
+0 forum 3

I have a web site created with asp.net mvc3 using razor view engine. It is visible in mobile devices. (eg. ipad). but there are css anomalities. How can I achieve this. View the same site in desktop and mobile device (ipad)? I am hoping i can achieve only with changin css with out touching my logic and views. Thank you in advance.

Member Avatar
Member Avatar
+0 forum 2

I am using flot graphs for jquery in mvc3 razor web app. I'm loading partial view containing a plot graph to a div. I have a pop up window coming from another event. After popup window closes following error gives. *This only happens in IE* Following is the error: "Microsoft JScript runtime error: Unable to get value of the property 'shutdown': object is null or undefined" throws by the following line: in "jquery.flot.js" "// run shutdown in the old plot object placeholder.data("plot").shutdown(); " After the pop up i reload the partial view containing the flot graph again. Below is how …

Member Avatar
Member Avatar
+0 forum 1

I want to draw a chart similar to area chart in asp.net. possible to use js / jquery. I tried out java script libraries that are available to draw charts, But those has no chart per my requirement. But I couln't find any pure code examples to draw a chart. Can't we create charts without using a library.? what are the easily customizable libraries available. thank you in advance.

Member Avatar
Member Avatar
+0 forum 3

I want to detect the time when the image is set to wpf <Image></Image> . What I want to do is perform an image resize operation just ofter the image is set. (Otherwise current image.width & hight cannot be obtained.) The problem is I can't get any events that triggers at that point. Are there any or what is the way to do this? please help. Thankx in advance.

Member Avatar
+0 forum 0

I created an ms access database and a form to enter data to it. I want to launch that form without opening access. How can I do that? Thankx in advance.

Member Avatar
Member Avatar
+0 forum 1

How do I perform a mouse click event programatically. but the problem is i do not want to perform it on a UIelement. I just want to perform a mouseclik once. Can i do that? thank you in advance.

Member Avatar
Member Avatar
+0 forum 4

I have a project named project1 in VS in a solution called Solution 'ShopEntry'. I want to have a copy of the project1 as project2 within the same solution. How can I do it without having errors. thankx in advance

Member Avatar
Member Avatar
+0 forum 1

I added a tool tip from code behind onto an image. When the tool tip reaches an area of a image (determined by cordinates) it shows the tooltip. But when i call the method `tooltip.isOpen = true;` mouse pointer get stuck for a little time. How can I avoid this.

Member Avatar
+0 forum 0

I have drawn rectangles on an Image. (Tagging). I want to place tool tips when mouse moves over them. I have written a style to highligh the rectangle of a particular point on the image. <Style x:Key="highlighterStyle" TargetType="{x:Type Rectangle}"> <Setter Property="StrokeThickness" Value="2"/> <Setter Property="Stroke" Value="Orange"/> <Setter Property="IsHitTestVisible" Value="False"/> <Setter Property="Fill" Value="Transparent"/> </Style> But even I have set the tool tip it is not shown. As I learned that is because of Property="IsHitTestVisible" Value="False" setter. But i need it to show two overlapping rectangles in a particular point. How can I solve this problem. ie showing the tool tip and keeping …

Member Avatar
+0 forum 0

I want to implement mouse over event on a image in WPF. But it seems to be there is no event for that in WPF. How can I implement that. I tried with a trigger . But only the property is available. <Image.Triggers> <Trigger Property="IsMouseOver" Value="True"> </Trigger> </Image.Triggers> But the problem is I want to call a method from c# code within the mouseover event. How can I achieve this. Really apprieciate your help. Thankx.

Member Avatar
Member Avatar
+0 forum 2

I am tryin to add rectangle to on to an image in wpf. Rectangle is drawn at MouseLeftButtonDown event. Problem is I want to add this rectangle straight to the Grid (on to the image) without using a canvas. How Can I do that? or How can I avoid using a canvas? <UserControl> <Grid x:Name="LayoutRoot" MouseLeftButtonDown= "OnMouseLeftButtonDown" MouseLeftButtonUp="OnMouseLeftButtonUp" MouseMove="OnMouseMove" Background="Transparent" > <Canvas x:Name="canvas"> <Image Name="image" Source=".....\Penguins.jpg"/> <Rectangle x:Name="selectionBox" StrokeThickness="1" Stroke="Black" Visibility="Collapsed" /> </Canvas> </Grid> </UserControl> Thankx in advance

Member Avatar
Member Avatar
+0 forum 3

The End.