Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Method Signature is not correct [modified]

Method Signature is not correct [modified]

Scheduled Pinned Locked Moved ASP.NET
databasehelpsecuritytoolstutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 4510968
    wrote on last edited by
    #1

    Hi friends, I have a problem with NUnit while checking values with db. I have created a sql plugin and added it to appropriate addin folder and i can view it under tools->addins->Registered Addins. whenever i run the a test with the new sql attribute the test is passed for eg: [SqlServerDataSource(ConnectionString = "Data Source=DTP00B249\\SQLEXPRESS;Intial Catalouge=sample;Integrated Security=True", Query = "SELECT pword FROM login where uname='paul'")] public void TestInput() { Assert.IsTrue(true); } But whenever i pass a value in my method like public void TestInput(string uname)it throws the Test Not Run Method saying Method Method name signature is not correct:it must not have parameters. Please explain how to resolve the error. thanks in Advance Praveen

    modified on Tuesday, July 29, 2008 9:00 AM

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups