Quantcast
Channel: CodeProject Latest postings for ASP.NET
Browsing all 3938 articles
Browse latest View live

How to display image in a treeview from database

We can use imageUrl to display images in treeview. My images are stored in SQL database as images. How can we display the image from database in treeview?

View Article


I'm working on upload exe file in c#

I got the source code but there is no output coming out. there is no any error too. can you please help me.. This is the source code I used in...

View Article


Display Image from MSSQL database into asp.net page using vb

Hi, Struggling at the moment to retrieve an image (I'm successfully putting the image into the database) and place into a webpage - I've done a lot of reading without success. I've tried things like...

View Article

I wanted to upload Multiple Files With ListBox in ASP.NET

I wanted to upload Multiple Files With ListBox in ASP.NET but there is an error at specific place.... The error on : File.Add(FileUpload1); It showing error on 'File.Add'...

View Article

start date end date not working

ihaveaoneposttheniwanttosetforthispostdisplaydateanddisplayoffdatefrombackendwhenicreatepostforextitlephotoscontentdisplaystartdateanddisplayenddateinputthensaveitdisplaystartdate: 2015/10/2...

View Article


App_GlobalResources and resx files, cannot find appropriate culture

So I have a Webforms Web Project. I have these backend master pages that I'm converting to bootstrap.css, and I thought it would be nice to support 3 languages for the rest of the backend already is...

View Article

Open files from listbox file listing in c#

protectedvoid ListBox1_SelectedIndexChanged(object sender, EventArgs e) { DirectoryInfo dinfo = new DirectoryInfo(@"C:\Users\Probing\Desktop"); FileInfo[] Files = dinfo.GetFiles("*.txt"); foreach...

View Article

use Ajax controls in handlebar template with HandelBar & Asp.net & Ajax

I am working on HandelBar js to load data into Aps.net controls. can we use Ajax controls in handlebar template? i tried but it is not working for me <table id="tblPeriodDateRanges" style="overflow:...

View Article


Configuring WebConfig

Hi all, My web service worked fine in dev server but failed in production. I published my web app to a local folder using File System option Visual Studio 2012 then copied the files from that local...

View Article


VS2015 - MVC - Getting a list of users for Admin Panel

Hello! I have created a project intended to get a better understanding of how to create an admin panel for users and seed data. It seems to me that seeding is now working as intended, but the admin...

View Article

I can download file from listbox but I want it to save in specific folder in...

protectedvoid btn_dwn_Click(object sender, EventArgs e) { string File = ListBox1.SelectedValue;   Response.ContentType = ContentType; Response.AppendHeader("Content-Disposition", "attachment;...

View Article

Can't load data from SQL Compact Edition database - MVC 4

I am following this tutorial: http://www.w3schools.com/aspnet/mvc_models.asp, to get data from SQL CE using Entity Framework. There doesn't seem to be much code. The tutorial is for MVC3 but my project...

View Article

I have a form with a gridview. When clicking one row I want it to pass the...

That is, I don't want to instantiate a second form (or third or forth..) when I click a new row. I want the form already there, say form2, to show the data row from form1. form1 has the gridview. Click...

View Article


issue while running as asp.net application over wan

i have requirement of running my application over wan hence i used a fixed ip addres in browser i.e(fixed ipaddress//hostmachineip address//mk(virtual directory)/xyz.aspx(cs file))...and m getting...

View Article

Loading a Data file into DB using Asp.net

I have a system which has an asp.net front end and a SQL Server DB. I get a file in the form of an excel spreadsheet every few weeks that contains a number of fields. I want to load it into the DB and...

View Article


Bulk Calculation

I have data in a SqlServer table and I want to Select the data into a gridview or something like that and perform a calculation on the data. I want to have a button that will carry out a calulation on...

View Article

Adding 3 fields together and updating a fourth field with the value

I have four fields, A, B, C, D Fields A, B, and C will have numerics added to them. I want that when I have added data to all three fields then field D will automatically be updated with the SUM of the...

View Article


Creating Reports in VS 2012

I have a asp.net web application created in VS 2012 and I want to create reports and letters in it. Anyone know how to create reports and letters in VS 2012?

View Article

Update All records in Gridview

I have a number of records displayed in a Gridview. Each record contains a blank field called Code. I want to have a field on my form, field A, which I can add a number to and there will be a button...

View Article

Access to files from differentes server

Hello, I'am develloping an intranet web site, and i deploy the web site in Server A and i'd like to access to files stored in an other Server B. My question is how can I access the files (pdf) and view...

View Article
Browsing all 3938 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>