Guest User

Untitled

a guest
Nov 17th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
  2.  
  3. Compiler Error Message: CS1061: 'Devcore' does not contain a definition for 'SelectIssuePriority' and no extension method 'SelectIssuePriority' accepting a first argument of type 'Devcore.' could be found (are you missing a using directive or an assembly reference?)
  4.  
  5. Source Error:
  6.  
  7.  
  8. Line 77:
  9. Line 78: <div class="editor-label">
  10. Line 79: <%: Html.LabelFor(model => model.SelectIssuePriority) %>
  11. Line 80: </div>
  12. Line 81: <div class="editor-field">
  13.  
  14. namespace Devcore.Models
  15. {
  16. [MetadataType(typeof(IssueMetaData))]
  17. public partial class Issue
  18. {
  19.  
  20. }
  21.  
  22.  
  23. public class IssueMetaData
  24. {
  25. [Required(ErrorMessage="Summary is required",AllowEmptyStrings = false)]
  26. public string Summary { get; set; }
  27.  
  28.  
  29. [Display(Name = "Priority")]
  30. [Required(ErrorMessage = "Priority is required", AllowEmptyStrings = false)]
  31. public string SelectIssuePriority { get; set; }
  32. }
  33. }
  34.  
  35. <div class="editor-label">
  36. <%: Html.LabelFor(model => model.SelectIssuePriority) %>
  37. </div>
  38. <div class="editor-field">
  39. <%: Html.DropDownList("SelectIssuePriority") %>
  40. <%: Html.ValidationMessageFor(model => model.SelectIssuePriority) %>
  41. </div>
  42.  
  43. [MetadataType(typeof(IssueMetaData))]
  44. public partial class Issue
  45. {
  46. public string SelectIssuePriority { get; set; }
  47. }
  48.  
  49. string menüler;
  50. ArrayList urunler1 = new ArrayList();
  51. string[] cesitler = { "ET 20 tl, manti 12 tl , kebap 17 tl " };
  52. do
  53. {
  54. Console.Write("Ürün Giriniz=");
  55. menüler = Console.ReadLine();
  56. if (menüler == "0")
  57. break;
  58. if (!menüler.Contains(menüler))
  59. menüler.Add(urunler1);
  60. } while (true);
Add Comment
Please, Sign In to add comment