Click here to Skip to main content
Page 1 of 47
Page Size: 10 · 25 · 50


Author filtered by: Zoltán Zörgő [x]
Answer 13 May 2013   license: CPOL
You could use masked input, like this: http://digitalbush.com/projects/masked-input-plugin/[^].And don't forget to validate on server side too!
Answer 13 May 2013   license: CPOL
You need to specify delimiter! See here: http://www.freemindsystems.com/blog/post/mysql-triggers-a-practical-example[^]
Answer 13 May 2013   license: CPOL
As I understand, you want to automate a browser. Well, automating all browsers is complicated, but you can target some:Internet Explorer: http://harness.codeplex.com/[^]Chrome: http://markcz.wordpress.com/2012/02/18/automating-chrome-browser-from-csharp/[^]But you might consider using...
C#
Answer 12 May 2013   license: CPOL
Here is the solution for WebBrowser control: Setting a file to upload inside the WebBrowser component[^].But in general it is a better approach to simulate/emulate a browser, and not automate it. For such tasks using HttpClient[^] is a much better approach - but a different one, since you...
C#
Answer 12 May 2013   license: CPOL
Check this: http://www.techonthenet.com/oracle/questions/insert_date.php[^]
how to get the below output by Zoltán Zörgo
Answer 12 May 2013   license: CPOL
The idea is this:select fa.facname,f.bfid,b.class,b.examdate from bthfac finner join batch b on b.bthid = f.bthidinner join facfeedback fb on fb.bfid=f.bfidinner join faculty fa on fa.????=??.????where month(b.examdate)= '11' and year(b.examdate)= '2012' and...
C#
how to use syntax highlighting by Zoltán Zörgo
Answer 11 May 2013   license: CPOL
Try this extension: http://visualstudiogallery.msdn.microsoft.com/F5CFBE65-D843-4C96-8F24-2C169676504C[^], but it is not free. Or use WebMatrix[^] instead.(this might bring you some help too: http://stackoverflow.com/a/3674772[^])
Answer 11 May 2013   license: CPOL
Let's clarify: in vb.net there are no functions, only methods of class. You can not separate a a method from the class. But you can make partial classes, and put the partial definitions of the same class in different files - VisualStudio is using this feature when creating forms to separate your...
insert record in mysql table by Zoltán Zörgo
Answer 10 May 2013   license: CPOL
The object name is wrong:...MySqlCommand mycom1 = new MySqlCommand(insquery1, exclecon);mycom1.Parameters.AddWithValue("@MONTH", MONTH);mycom1.Parameters.Add("@contenttype", MySqlDbType.VarChar).Value = contenttype;...This is why it is a really bad practice to use such variable...
Answer 10 May 2013   license: CPOL
onblur event is not standard on div elements, it is meant for input tags. Use onmouseleave instead. onmouseout won't work correctly either - see the explanation: http://www.mkyong.com/jquery/different-between-mouseout-and-mouseleave-in-jquery/[^]
Answer 9 May 2013   license: CPOL
Look here: var chars = "NAMAN";chars.Distinct().ToList().ForEach(c => Console.WriteLine("{0}={1}", c, chars.Count(i => i == c)));[update: ToCharArray() is not needed]
C#
Answer 9 May 2013   license: CPOL
First of all, don't concatenate strings when you build a query. You expose your application to SQLi.You could use All as a wildcard (but NULL would be better):... WHERE (field1 = @param1 OR @param1 = 'ALL') AND (field2 = @param2 OR @param2 = 'ALL')...and so on. It won't be an optimal query...
C#
Answer 8 May 2013   license: CPOL
In case of baretail there is no ipc, and if you start it, you get a new instance. You could however try to automate it, by emulating user action: sending windows messages to the process. You can use AutoIT to capture events and get an overview, or something like WinSPY[^] and Window Detective[^]...
Answer 8 May 2013   license: CPOL
A service is a service. It does something. If you put an IPC interface in it you can communicate with it from an application. I suppose you want to add the missing Server Agent feature of SQL Server Express.For doing the backup itself I suggest you use SMO Backup class[^].For the IPC you...
Answer 8 May 2013   license: CPOL
By design you can't. But there are methods to circumvent it. Look here: http://www.impressivewebs.com/css-opacity-that-doesnt-affect-child-elements/[^]
Answer 8 May 2013   license: CPOL
1) Using a self signed certificate: http://www.neiland.net/blog/article/how-to-create-and-install-a-self-signed-ssl-cert-with-iis7/[^]2) If you go online, buy a certificate from any provider http://en.wikipedia.org/wiki/Comparison_of_SSL_certificates_for_web_servers[^], and install it, like...
Answer 8 May 2013   license: CPOL
Of course not. It is in the design of .net to have several dlls in your project and not a huge executable. I suggest you keep it that way. If you want to deploy your solution, make an installer (setup project[^]), or if you don't need any additional settings to be made on the client, just make a...
Answer 8 May 2013   license: CPOL
You can make use of the telephone URI. Check this: http://tools.ietf.org/html/rfc3966[^]
Answer 8 May 2013   license: CPOL
To be short, your question topics are not related: you (should) update in the controller via the model, and not from the view - but you can call (theoretically) any controller action from any view, and there is the ajax version too. So, as I see, you have some gaps in your knowledge. I suggest...
Answer 8 May 2013   license: CPOL
You will need to generate you report on server side and send it as content to the client. Start here: PDF reporting using ASP.NET MVC3[^].
Answer 7 May 2013   license: CPOL
Your account is a hidden one, that points me to the new feature of Active Directory called Managed Service Account[^] (MSA). Let's suppose you are deploying in the same domain (inside trust boundaries), and the MSA is on place, and the access is granted to the MSA on the database side. You...
Answer 7 May 2013   license: CPOL
First of all, consult webhosting provider documentation. As I see, they don't provide email server, you need to use the google one, or an other third party provider.Look at this tutorial for a more advanced use with gmail as smtp server:...
Answer 7 May 2013   license: CPOL
"Not able to" is nothing we can deal with. What you described is an easy task - but we rarely do the job for anybody else. And it seems a CSS task not a jquery one. This is the css you will need to download and refine to match your needs: http://keith-wood.name/css/jquery.countdown.css[^]. You...
Answer 6 May 2013   license: CPOL
Well, as you can see here: http://msdn.microsoft.com/en-us/library/cc953fe1(v=vs.71).aspx[^], a char takes 1 byte, an int takes 4 bytes and a double 8 bytes. Is we summarize the length of the fields in x we get 4 + 1 + 8 + 1 = 14, that's less than 20. But we know the concept of field alignment...
C++
Answer 5 May 2013   license: CPOL
Following is a LinqPad[^] script for demonstration, the bold part is the basic idea you are looking for: int[,] A = {{1,2},{3,4},{5,6}};int[,] B ;B = (int[,])A.Clone();A[0,0] = 99;A.Dump();B.Dump();
C#

Page 1 of 47
1 2 3 4 5 6 7 8 9 10


Advertise | Privacy | Mobile
Web02 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid