13,153 Topics

Member Avatar for
Member Avatar for aldeene

I need help.. someone please provide some suggestions where to start.. I'm trying so hard to become a Fullstack .Net developer.. I'm currently learning MVC using C#

Member Avatar for dojo
0
297
Member Avatar for Rushabh Verma

When creating a new WebAPI Project in Visual Studio 2019 and changing authentication to Individual User Accounts, the only option is to connect to Azure but back in WebAPI projects in the .NET Framework, user accounts can be stored in-app. How to achieve this in .NET Core 2.2?

0
213
Member Avatar for sanjay.vaniya

DataSet ds = new DataSet(); string pattern = @"(</?)(\w+:)"; //[XMLText] is a string variable containing XML downloaded from a WebServices API. StringReader sr = new StringReader(Regex.Replace(XMLText, pattern, "$1")); ds.ReadXml(sr); return ds;

-1
299
Member Avatar for Rushabh Verma

I have simple .NET Core 2.2 Web App that I have deployed to Azure App Service. App contains a simple HomeController with Index Action and Index.cshtml file. When I try to browse the page it gives me InvalidOperationException with message The view '~/src/Views/Home/Index.cshtml' was not found. I have verified the …

0
177
Member Avatar for sanjay.vaniya

System.Windows.Markup.XamlParseException HResult=0x80131501 Message='Add value to collection of type 'System.Windows.Controls.UIElementCollection' threw an exception.' Line number '31' and line position '101'. Source=PresentationFramework StackTrace: at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, …

Member Avatar for Dani
0
661
Member Avatar for Ricardo Jorge

Hello to you all. I want to import an excel with four spreadsheets into 4 grid views. So far so good. But I also wan the grid view on load to check if the line values already exist on the database. What's the best apprach to add this collumn to …

0
257
Member Avatar for dongtrien

You see the example below why the error not found namespace or class ? [url]http://www.mediafire.com/file/iiak7w5nhhab3ju/Namespace_asp_net.rar/file[/url]

Member Avatar for dongtrien
0
427
Member Avatar for Taher_3

I'm fetching client records from the database and after concatenating the model class properties(FirstName and LastName) I converted these records in JSON string. My goal is to display these records in Jquery Datatable. I observed at debugging, all these records are in a single string causing the error **"Requested unknown …

Member Avatar for Dani
0
636
Member Avatar for DdoubleD

Demonstrates using .NET Remoting to broadcast to client subscribers. There are three parts: 1) Server.cs - for console app responsible for broadcasting messages (date/time stamp currently) 2) Client.cs - for console app that registers with server to subscribe to broadcasts 3) Agent.cs - class library that facilitates/eposes the interfaces for …

Member Avatar for HarishKJ
2
3K
Member Avatar for khalilbnzz

Hello, [Click Here](https://i.imgur.com/47YUdmn.png) My problem is in the Edit view, it gets all the information except the logo.. my edit get controller is : // GET: Billers/Edit/5 public ActionResult Edit(string id, HttpPostedFileBase logo) { if (id == null) { return new HttpStatusCodeResult(HttpStatusCode.BadRequest); } Biller biller = db.Billers.Find(id); if (biller == …

0
341
Member Avatar for Blueie

Hello I am getting 3 errors (same errors for all 3 lines) in my Visual Studio 2017 Web Forms project: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load pnlFormFields.Visible = False pnlThankYouMessage.Visible = True LblDate.Text = ReturnDate() End Sub pnlFormFields, pnlThankYouMessage, and LblDate, are not declared. …

Member Avatar for xrjf
0
433
Member Avatar for dongtrien

Suppose I create an asp.net website project that loads data into griview from the class library, declaring the library to use loading data for griview //file: ChitietSP.aspx using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Diagnostics; // …

0
290
Member Avatar for f1 fan

These few lines will allow you to email as html an aspx page from your site or in fact any web page you want (though i wouldnt recommend any with lots of scripts etc in it). It is very useful for email forms to customers etc from your site. Personally …

Member Avatar for anandraju123
0
6K
Member Avatar for mike888

Hi, I have a problem with my homework assignment. I am able to access the database and insert new customer but it doesn't work when i try to update any record. if anyone can tell me what is wrong with my code. thank you so much this is all my …

Member Avatar for vishal_30
0
11K
Member Avatar for akhter_1

i have made leaves managment system ,now i want to mentioned leaves days in attendance register if employee take leave from 1-1-2019 to 4-1-2019 then 5 day display in attendance register as a (L) . kindly guide me how it will get done. here is my attendance register query in …

0
352
Member Avatar for David Mac

Hi All, My first post in a LONG time (got a prompt from admin). I have a fully working ASP.Net website that handles dimensions in metric. The customer now wants to extend the website to allow Americans to use it using imperial measurements!!!?? (Yes, I have tried to talk them …

0
224
Member Avatar for madamx

Hi, I have been programming C# for some time, and i recently learned about constructors and objects, but didn't fully understand. Can anyone please help me understand this, and please spell it out. I have tried googling it, but couldn't really find anything, that made me understand it. -What is …

Member Avatar for SeanDevoy
0
454
Member Avatar for ahmed_116

SummaryProblem ============= How to get label text from table reference on database based on TableName and FieldName dynamically from database and show on view createEmployee . Details Problem Meaning i need to get label text dynamically from database not static from model SO that Every Time i need to change …

0
321
Member Avatar for Pranu_1
Member Avatar for spades0001

Greetings, I'm kinda new to ASP.NET so I'm unsure as to how to proceed with accomplishing this task. I have a webpage that contains a GridView and controls associated to that such as Add, Issue Equipment, Edit, Delete. What I'm trying to do is when I click on a cell …

Member Avatar for SeanDevoy
0
3K
Member Avatar for Pranu_1
Member Avatar for Pranu_1
Member Avatar for Pranu_1
0
400
Member Avatar for shiva tiwari

**fetch the record from the datsbase through specified query string ** public void get_student() { if(Request.QueryString["empId"]!=null) { int id = Int32.Parse(Request.QueryString["empId"]); sql = new SqlConnection(con); sql.Open(); string retriew = "select * from emp where emp_id="+id; SqlDataAdapter adapter = new SqlDataAdapter(retriew, sql); adapter.SelectCommand.CommandType = CommandType.Text; hfid.Value = id.ToString(); DataTable dt = …

Member Avatar for Reverend Jim
-1
300
Member Avatar for Lokesh_S

Hi, I'm generating word doc on the fly by using html in asp .net with C#. And I want to add image at top but after creation of word doc I'm not able to see that image. I don't want to use Word or any third party dll. Please Help …

Member Avatar for RabidDog5150
0
833
Member Avatar for shreyas_3

string minute = "15"; string minute2 = "20"; string minute3 = "27"; string minute4 = "02"; TimeSpan first = TimeSpan.Parse(minute); TimeSpan second = TimeSpan.Parse(minute2); TimeSpan Third = TimeSpan.Parse(minute3); TimeSpan fourth = TimeSpan.Parse(minute4); TimeSpan now = DateTime.Now.TimeOfDay; if (now == first|| now == second || now == Third || now == …

Member Avatar for PsychicTide
0
386
Member Avatar for dongtrien

why was error Could not find schema information for the element 'http://schemas.microsoft.com/.NetConfiguration/v2.0:configuration' ? you see attach file http://www.mediafire.com/file/jimpgxd88zzfnab/BookShopOnline.rar/file and see file pictures http://www.mediafire.com/view/67di18r0ea4dadg/errorwebconfig.jpg/file

0
247
Member Avatar for Vb.Netter

Hi here is code snippet used temprarily on button to debug. This works but i wish to use the 2nd snippet. 1st snippet Dim connString As New SqlConnection connString.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings("sql2008r2_857000_dmcsqlConnectionString").ConnectionString Dim cmd As New SqlCommand("select TOP 1 no from members ORDER BY no DESC", connString) Dim reader As SqlDataReader …

0
393
Member Avatar for imBaCodes

Below is my code for adding parameters in my vb .net code for prepared statements of npgsql. Dim xConn As NpgsqlConnection = ConnectDB() Dim xCmd As NpgsqlCommand = xConn.CreateCommand() xCmd.CommandText = "UPDATE " & xTable & " SET previous_tot_adj = @prev_adj ,tot_adj = @tot_adj WHERE version = " & _version …

Member Avatar for rproffitt
0
674
Member Avatar for janicemurby

hi all i have recently purchased a script and im attempting to fix it would anyone know how to solve these 2 errors which appear to be coming from this function [09-Jun-2018 12:40:57 UTC] PHP Warning: Division by zero in /home/public_html/includes/functions.php on line 126 [09-Jun-2018 12:41:19 UTC] PHP Fatal error: …

Member Avatar for rproffitt
0
318
Member Avatar for overwraith

Ok, So I have an instance of **Windows Server 2012 R2** installed to a virtual machine on my local development PC with **IIS** . The idea being I need to practice and learn about how to deploy sites to web servers. I have tinkered around with some of the settings, …

Member Avatar for Mark_82
0
542

The End.