The problem is you’ve declared a return type of ‘DataSet’, but your function does not return a value. Either change the return type to void (which means no return type) or have your function return the correct type/value.
More Related Contents:
- How do I update a value in C# and SQL Server? [closed]
- Sub String code not working in c#
- Session Variable with if/else statement in Views?
- Working of page at background without restricting navigation of other pages in asp.net [closed]
- How do I use IValidatableObject?
- How to get the URL of the current page in C# [duplicate]
- How to set session timeout in web.config
- Unable to update the EntitySet – because it has a DefiningQuery and no element exist
- Why is HttpContext.Current null after await?
- How to work with time zones in ASP.NET?
- Passing object in RedirectToAction
- EPPlus number format
- IIS Server & ASP.Net Core – 500.19 with error code 0x8007000d on httpplatformhandler tag
- jQuery Ajax calls to web service seem to be synchronous
- Connection timeout for SQL server
- Reading a binary file and using Response.BinaryWrite()
- Does FileStreamResult close Stream?
- Display custom error page when file upload exceeds allowed size in ASP.NET MVC
- How DataReader works?
- ASP.NET GridView: How to edit and delete data records
- Convert IHtmlContent/TagBuilder to string in C#
- What is passing parameters to SQL and why do I need it?
- Calling async methods from non-async code
- How to bind crystal report to manually created DataSet
- Browser detection
- How to get the output of a System.Diagnostics.Process?
- ASP.NET jQuery Ajax Calling Code-Behind Method
- Printing from ASP.NET to a network printer
- no overload for method “ToString” takes 1 arguments
- Opposite of [compare(” “)] data annotation in .net?