13,153 Topics

Member Avatar for
Member Avatar for Blueie

Hello In my success.aspx file, I have: <asp:Label ID="LblDate" runat="server" class="labelStyle" Text="Label"></asp:Label> and <div class="center"> <asp:Label ID="Name" runat="server"></asp:Label> you have successfully registered </div> and in my success.aspx.vb file, I have: Code for the date, which works, and then: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load …

Member Avatar for BMXDad
0
197
Member Avatar for Violet_82

Hi all, I was having a look at this tutorial on asp.net master pages http://www.asp.net/web-forms/overview/older-versions-getting-started/master-pages/creating-a-site-wide-layout-using-master-pages-cs but alas I have to apply this the other way around: as you would normally expect, you'd create the master page first and then content pages, but I have content pages and now I have …

Member Avatar for Violet_82
0
170
Member Avatar for Violet_82

Hello guys, since I have now effectively completed my first asp.net application (it's a very basic application where people...ahem, where I can record overtime) I was wondering what the best way is to add some validation. The page which allows you to upload the details needed (date, hours worked and …

Member Avatar for Violet_82
0
237
Member Avatar for Violet_82

Hi guys, as I'm fairly new to visual studio and asp.net, I might be missing something really obvious here...basically I have created a CSS file which is referenced in the aspx file (I dragged the css file from the project to my aspx file). Then I created another aspx file …

Member Avatar for BMXDad
0
329
Member Avatar for shehzad.ali.399

how can I make a telephonic conversation in my website using asp.net with c#...

Member Avatar for BMXDad
0
89
Member Avatar for jeripotula

Hello. as I am new to coding , I couldnt understand how to create a login page without registration and without a database in ASP.NET & C#.net. i would like to write the code for only 1 user and the username and password must be in the code not in …

Member Avatar for glennferrie
0
574
Member Avatar for sana.f.qureshi_1

hello good people, i have created atab control and added a gridview in it. When i run it this is how it shows: ![42e98ae1ab28208a1d5964503f00cecd](/attachments/large/4/42e98ae1ab28208a1d5964503f00cecd.png "42e98ae1ab28208a1d5964503f00cecd") i have tried adjusting the heights and widths of both but tono avail. here is my code: <ajaxToolkit:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" Height="421px" style="z-index: 1; left: …

Member Avatar for sana.f.qureshi_1
0
580
Member Avatar for sana.f.qureshi_1

Hey good people, I hope you are all well. Ok so here is the scenario, i have 4 tables that i have made in sql server 2008. I am using a drop down menu to diplay their names. Like this... ![ecb53783b16f2f19f927a3cd72bee4d0](/attachments/large/4/ecb53783b16f2f19f927a3cd72bee4d0.png "ecb53783b16f2f19f927a3cd72bee4d0") I am going to use a dataGrid view. …

Member Avatar for BMXDad
0
303
Member Avatar for Blueie

Hello I am trying to build a file upload page where a user can upload files and different messages appear on screen to the user of, for example, the name and size of the file successfully uploaded, whether or not he has even selected a file to be uploaded, and …

Member Avatar for Blueie
0
370
Member Avatar for Subzero007

I am working on a website which is being developed in Visual Studio 2010 with ASP.NET 4. I am trying to programmatically extract an image from a word document. The approach I am using is this: 1. Convert WordApp.InlineShapes[1] (System._COM Object) to a byte[] 2. Convert byte[] to an System.Drawing.Image …

Member Avatar for tdrosiadis
0
2K
Member Avatar for Blueie

Hello I am trying to give focus to a text box on a form: Protected Sub Page_Load(ByVal sender As Object, _ ByVal e As System.EventArgs) username.Focus() End Sub I know the syntax is correct because I use it elsewhere. However, I am getting the following error (please see attached) with …

Member Avatar for Blueie
0
268
Member Avatar for Blueie

Hello I am attempting something like this: Protected Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click If FileUpload1.HasFile Then Try FileUpload1.SaveAs("C:\Uploads\" & _ FileUpload1.FileName) Label1.Text = "File name: " & _ FileUpload1.PostedFile.FileName & "<br>" & _ "File Size: " & _ FileUpload1.PostedFile.ContentLength & "<br>" & _ "Content …

Member Avatar for JorgeM
0
124
Member Avatar for MaheshChaterjee
Member Avatar for minhaajmuntasir.edoo

How do i access a masterpage hyperlink control from a content page in asp.net 4.0 using vb?

Member Avatar for JorgeM
0
86
Member Avatar for Chem_1

Web address of some web sites end with ".aspx", ".php", ".jsp", etc.How web developers can hide the extensions from visibility.

Member Avatar for diafol
0
216
Member Avatar for dfs3000my

Hi all, I have a question. How do I render a string which has some html coding in it and display it as HTML? For instance, my string is like this : [CODE] Dim htmlString As String = "<h3>Hello World</h3><div>Something here</div> [/CODE] I am not too sure how can it …

Member Avatar for Rajesh_13
0
221
Member Avatar for Yamuna_1

Hi, I used this below coding to send email but hosting & mail services are in different service providers.This code is working in my local but it's not working in hosting server. Please guide me to resolve this. using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; …

Member Avatar for mtyide
0
194
Member Avatar for vuyiswamb

Good Day All I hope someone can help me. i have a Asp.net web application that is running on 4.51 , When the User login Successfully i return an Object that has info for that user and store this in a Static object. Now my problem is the i User …

Member Avatar for mtyide
0
130
Member Avatar for thilinam

hi Everybody I have added a button control to my page. when I start debugging an error message says "CS1061: 'ASP.default_aspx' does not contain a definition for 'btnLogin_Click' and no extension method 'btnLogin_Click' accepting a first argument of type 'ASP.default_aspx' could be found (are you missing a using directive or …

Member Avatar for mtyide
0
1K
Member Avatar for Violet_82

Hello all, I'm trying to change the innerHtml of a div in the code behind and noticed an interesting thing. If I have this situation: aspx file: <div id="displayPanel" runat="server"> </div> C# while(reader.Read()){ ... displayPanel.InnerHtml += "<span>"+ name + " has donated £ " + donation + "</span>"; } everything …

Member Avatar for mtyide
0
2K
Member Avatar for Violet_82

Hello guys, I wonder if anybody could clarify this for me. I've created a new website (File > New > Web site) and as we all know I now have a aspx file (Default.aspx) and a aspx.cs file (Default.aspx.cs). The aspx file contains a form and when submitted, it sends …

Member Avatar for Violet_82
0
2K
Member Avatar for minhaajmuntasir.edoo

Let's say I have a table called adverts with the following fields:advert_id, name,date_created description,duration,status,user_id, cat_id. Let's say a user puts a duration of 1 week in the duration field and its status is set to active. After a week has passed, the status is set to inactive in the table. …

Member Avatar for minhaajmuntasir.edoo
0
218
Member Avatar for CrazyTesting

I have an SQL query within ASP.NET, but it only seems to return 1 result rather than filling the list with 4 as it should (as the query itself is correct) Code: List<string> dropItems, dropItems2; using (var dbContext = new DatabaseContext()) { dropItems = dbContext.Database.SqlQuery<String>( String.Format("SELECT locations.Code FROM locations")).ToList(); } …

Member Avatar for castajiz_2
0
368
Member Avatar for massivefermion

Hi I wanna start working with ASP.NET with C# but want to do it in ubuntu. I have installed mono and XSP2 but have some problems and questions. The instructions I followed for installing XSP2 is [this page](http://www.howtogeek.com/howto/ubuntu/run-aspnet-applications-on-ubuntu-for-developers/). But when I type "sudo apt-get install asp.net2-examples" in terminal, I get: …

Member Avatar for massivefermion
0
422
Member Avatar for hiiiiii@

hi i want to generate text boxes dynamically . when i run the program i will get input in integer in a text box with that input (ex input=5) then 5 text box should be generated in my page how to do it .

Member Avatar for JorgeM
0
144
Member Avatar for owenransen

Is anybody already hosting WEB app written in C#? Are they satisfied with their hoster? Tips? I'm looking for something which will have some sort of help with 1. Simple customer database 2. Membership login and password handling 3. Payment handling (maybe) I'm hoping some company has already put together …

Member Avatar for whlookup
0
229
Member Avatar for shammi.khan.73

So I spent an hour on GoDaddy and Google and didn't get a definitive answer. Does GoDaddy's shared Windows Hosting plan support .NET 4.5.1? I found a page in their support section that mentions that the shared hosting plan supports .NET 4.5. But is that enough to run my website? …

Member Avatar for Mark_28
0
215
Member Avatar for alaad

Good evening Please, can I waste just little of your time ? I have to produce an Web page in ASP.net and this is my first experience at C# and Web application.. kindly I would like an idea for this project.

Member Avatar for alaad
0
133
Member Avatar for javed.iqbal.3979

Hi all, I am here for a serious suggestions!!! I am new to web applicatons using C#.I want to clarify a few things please. 1). I'm using VS 2013 .Does it contains SQL Server built-in .if Yes,which version? 2).Should i head to Web Applications using MVC etc. or simply? 3). …

Member Avatar for JorgeM
0
331
Member Avatar for Sumith Asanka

Hi Guys I have a Problem With My Asp.net Application Which is runing on asp.net 4.0 with vs 2010 Recently i have added Ajax toolkitscriptmanager, After that my Java Script Alert Messges are not woking ? Other Pages which doesn't have toolkitscriptmanager are ok, are they not compatible ? I …

Member Avatar for Isaac_4
0
160

The End.