- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
20 Posted Topics
Hi - I am working with a windows OS created wordpress plugin unit testing code written as below <?php class Test_WP_Simple_Plugin extends WP_UnitTestCase { public function test_constants () { $this->assertSame( 'wp-simple-plugin', WPSP_NAME ); //Error line $url = str_replace( 'tests/phpunit/tests/', '', trailingslashit( plugin_dir_url( __FILE__ ) ) ); $this->assertSame( $url, WPSP_URL ); … | |
I am reading ASP.NET 3.5 Dummies book. I am on Chapter 4 and learning FormsView. The FormsView new button is not firing InsertItemTemplate. I have no idea where I am wrong in the below code. According to the book it should work without code-behind added Please help me figure out … | |
Hi – I am new to .net security. I am following Mastering visual C#.net book to learn it.I have the following program in Visual Studio 2008. using System; using System.IO; using System.Security.Permissions; [assembly:FileIOPermissionAttribute(SecurityAction.RequestMinimum, All=@”c:\\temp”)] class Example19_1 { public static void Main() { // Create a new file to work with … | |
Hi – I have an inline jQuery function that selects the table cell data onclick. The jQuery part works well. I have added code snippet of jquery. $(function(){ $("#myTable td").click(function() { $row = $this.closest('tr'); case "name": alert($row.find(".name").html()); break; etc Instead of displaying the name on the client –side alert message, … | |
Hi – Sorry about the code tag that is not working for me in my previous post and I am having trouble even edit my own post. I am visiting this site after a while and having trouble sending my post. | |
Hi - I am using VS2008 Pro. I am trying to create a new xml using the below FileStream statement. [CODE] FileStream stream = new FileStream(@"C:\employee11.xml", FileMode.Create);[/CODE] I am getting the error - IOException was unhandled by user code A required priviledge is not held by the client. in the … | |
Hi - How do I open the xml file and xsl files in visual studio and run from there? I tried File - open file and opened both xml and xsl. but the play toolbar is disabled and have no idea how to run it. If I can add the … | |
Hi - I would like to separate out data as individual pieces.for eg, I have information as 1050 Buckingham Street,,Watertown,C,S06795660<br>737 McKNIGHT RD,,PITTSBURGH,P,S15237351<br>......(lot of data like this format) And I am trying to get result as addr1=1050 Buckingham Street addr2 = null city=Watertown state=C pincode=S06795660 currently I have code [CODE]int myIndex=myOutput.IndexOf(","); … | |
Hi - I have an xml document that has the following data. <?xml version="1.0" encoding="utf-8"?> <ValidateClass xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <addr1Valid>73 McKNIGHT RD</addr1Valid> <addr2Valid /> <cityValid>PITTSBURGH</cityValid> <stateValid>P</stateValid> <stateZip>S15237351</stateZip> </ValidateClass> I am trying to convert the xml data to comma delimited string. for eg: 73 McKNIGHTRD,null,PITTSBURGH,P,S15237351 I' m trying to accompolish this using StringWriter … | |
Hi, I have a dataGridView that is bound to dataset.I have created a add new button for DatagridView. my problem is the studentid that is a primary key column which is already defined in the table. I am struggling to autoincrement the datatable.please review the code below and let me … | |
I am starting to learn C# database programming by visual C# express edition. when I open the data source configuration wizard and click the new connection button the wizard closed. Its kind of weird. I have sql 2005 express edition installed. please help me. | |
Hi, I am trying to run a project and study the code part. when execute the project, it gives error: the type binding.bindingunusualproperties already contains a definition for 'components' error components is found in designer.cs and .cs files. please give me some clue. Thanks. | |
I am a .NET developer and would like to learn Service oriented architecture(SOA). To get a good start on this, what are the fundamentals that I should be know of? Can anyone suggest me a good beginner book on this. Thanks | |
Reference books says arrays are immutable. [code] int[] myArray = new int[3]; myArray[0] = 1; myArray[1] = 2; myArray[2] = 3; int[] myarray1 = myArray; myarray1[1] = 3; [/code] myarray and myarray1 both are showing result 1 3 3. but I thought myarray1=1 3 3 and myarray=1 2 3. Please … | |
string s = "true"; string w = "false"; Console.Write(s +"\r"+w); output:false I don't understand how \r works. why is the true missed? please explain . | |
Hi, This is my first post here. I am a Java programmer. Recently, bought a book visual C# step by step and learning chapter 1. I am trying to run the CompletedWPFHello. I thought solution explorer will open all of the project files. but .cs is opening only one file … | |
Re: Hi, I am new to this forum. My apologies for posting my question on other person's thread since I donot know where is the " create new post". All I see is "Post reply to this thread". please help me know How do I post? Many Thanks, Madhan | |
Hi, 1. How can i enable activex control in internet explorer 7. 2. I am having trouble to add activex control in HTML. My tried coding is [code] <HTML> <HEAD> <TITLE>Customer Data</TITLE> </HEAD> <BODY> <FORM> phone: <OBJECT ID="Phone" CLASSID="clsid:C932BA85-4374-101B-A56C-00AA003668DC" CODEBASE="/Controls/msmask32.ocx" WIDTH="120" HEIGHT="25"> <PARAM NAME="Appearance" VALUE="1"></PARAM> <PARAM NAME="BoderStyle" VALUE="1"></PARAM> <PARAM NAME="Mask" … | |
[COLOR=#000000]I am executing all my c/c++ programs in VC++ cmpiler.[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=blue]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=maroon]<iostream>[/COLOR] [COLOR=maroon] [/COLOR] [COLOR=blue]using[/COLOR][COLOR=#000000] [/COLOR][COLOR=blue]namespace[/COLOR][COLOR=#000000] std;[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=blue]int[/COLOR][COLOR=#000000] main() [/COLOR] [COLOR=#000000]{[/COLOR] [COLOR=blue]int[/COLOR][COLOR=#000000] age; [/COLOR] [COLOR=blue]char[/COLOR][COLOR=#000000] sex;[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]cout<<[/COLOR][COLOR=maroon]"please input your age:"[/COLOR][COLOR=#000000]; [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]cout<<[/COLOR][COLOR=maroon]"please input your sex (M/F):"[/COLOR][COLOR=#000000];[/COLOR] [COLOR=#000000]cin>> age; [/COLOR] [COLOR=#000000]cin>> … | |
[COLOR=black]Thank you so much for looking at my question and helping me to get start. I am new to programming. I am currently executing c/c++ programs in VC++ compiler all by my own. I have created very basic programs like displaying the content, find the entered number is odd or … ![]() |
The End.