13,153 Topics

Member Avatar for
Member Avatar for maryam_89

Basically, I am wanting to get the last userID which is submitted when the user enters their details and clicks the submit button. I have searched the internet and have made changes but still don't understand where i'm going wrong. I used the MAX statement to show the last user …

Member Avatar for JorgeM
0
240
Member Avatar for RT00220489

Hi, I seek your help as m stuck with an issue. I am uploading a css style file in a folder and need to provide the link to that css file in my aspx page. That is simple, but the twist is, the file name can be anything. That file …

Member Avatar for JorgeM
0
205
Member Avatar for coder91

So having an error when I select my button in the gridview. Was told to use the gridview row command which I have, keep getting an error about the App_Data subdirectory. protected void gvUnlock_RowCommand(object sender, GridViewCommandEventArgs e) { String userName = e.CommandArgument.ToString(); MembershipUser usr = Membership.GetUser("userName"); if ((usr != null) …

Member Avatar for coder91
0
307
Member Avatar for Master Mascus

can anyone tel me why the dropdownlist does not execute on textchanged ? <%@ Page Language="VB" AutoEventWireup="true" CodeFile="index.aspx.vb" Inherits="Index" %> <%@ Register TagPrefix="Ridwan" TagName="TabControl" Src="~/Assignment/Controls/TabControl.ascx" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>JJ Shop | Home</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link href="style.css" rel="stylesheet" …

Member Avatar for LastMitch
0
206
Member Avatar for HunainHafeez

need an insert query for my code , i wrote code to add table rows having textboxes, dynamically, e.g yoh have only passed HSSC exam then you have to fill 2 levels of education SSC, HSSC......or say you have passed Phd , then SSC,HSSC,BS, MS, Phd, you have to fill …

Member Avatar for LastMitch
0
294
Member Avatar for skliz

During my study on web apli. I learnt that it enables you to create web services that would use HTTP protocol. My question is web api could it be a called the replacement for soap web services. what is the comparative advantage of using webapi over soap services

Member Avatar for skliz
0
147
Member Avatar for korathualex

set focus to textbox on blur validation...I am doing character strength validation on the blur event of textbox..How to set focus to it...

Member Avatar for BMXDad
0
149
Member Avatar for gs1344

Everyone has been helpful during this learning process, Thanks! I am not even sure this is doable or even how to start the code! Can anyone please point me in the right direction. I have searched everything I can on this but nothing seems to fit what I want to …

Member Avatar for LastMitch
0
199
Member Avatar for sukhanya

I am new to asp.net. I have many pop up pages to be designed. But I feel the pop up pages used using ModalPopUpExtender does not have a rich UI. Can anybody help me out with an alternate for using the ModalPopUpExtender? Because I need rich UI. Many thanks in …

Member Avatar for BhuvanRam
0
79
Member Avatar for gaasha

I'm new to MVC4 programming. I want to populate a **DropDownList** from a table's field but don't know how to, although I searched for relevant material from Internet but couldn't get some workable info. There are 2 tables **Software** and **Category** (showing the type of S/w e.g. Anti-Virus or Graphics …

Member Avatar for LastMitch
0
315
Member Avatar for TIM_M_91

Ok so I have created my own register and login which is connected to my sql database, however what I now wish to do is create memberships for the users so they can access their account pages. So is this possible without using the Login template? If it is possible …

Member Avatar for LastMitch
0
66
Member Avatar for tinstaafl

Here's a simple wrapper for printing text. Built as a class library, this can be used in any .net application. This has automatic word wrapping. I figured that using the new constructor to accept different parameters would easily allow for printing different documents with different settings. I included Name, Font, …

1
582
Member Avatar for anisha.silva

Hi I have a scenario that i need to implement. the scenario is below. I have a class handler and a class Healthmonitor. every 10 seconds i have to send a msg to HealthMonitor to update a variable. in one point if it didnt send a msg in a multiple …

Member Avatar for tinstaafl
0
259
Member Avatar for anisha.silva

Hi, I am getting a xml object from as a web response for getting data from a web page the content is as : " <bookshare>\n <version>4.1.1</version>\n <messages/>\n <book>\n <metadata>\n <author>David Flanagan</author>\n <available-to-download>0</available-to-download>\n <bookshare-id>21385</bookshare-id>\n <brief-synopsis>The 1.4 release of Java 2 Standard edition brings a load of new features - and …

Member Avatar for anisha.silva
0
335
Member Avatar for jackmaverick1

When connecting to a database, is it best to use one SqlConnection object for the entire server, or use one for each connection? I couldn't find a good answer in Google, but maybe my Google-fu isn't good enough.

Member Avatar for deceptikon
0
82
Member Avatar for skliz

I have created a simple ajax mvc code snippet. The owl idea is to post message from a textarea box to the controller through ajax and update and element on the page with result of the ajax request. But unfortunately the update part of the code is not working. Problem …

Member Avatar for skliz
0
171
Member Avatar for Sahil89

Hi, I am working on a web project and using Details View to insert new records. The problem is when I click cancel and then try to refresh page it shows dialog box saying >To display this page, Firefox must send information that will repeat any action (such as a …

Member Avatar for LastMitch
0
683
Member Avatar for korathualex

Remove the last word while using left in sql query...I weant to avoid broken words while doing so... My query as follows: select top 2 tempJobTitle.id,tempJobTitle.JobRefId,tempJobTitle.JobTitle,LEFT (jobmaster.JobDescription2, 330)+'....' as JobDescription,jobmaster.PostedDate from tempJobTitle inner join jobmaster on jobmaster.JobRefId=tempJobTitle.JobRefId where tempJobTitle.Status='Approved' and jobmaster.ClosingDate >= '2013-03-01' order by tempJobTitle.DateofEntry desc

Member Avatar for adam_k
0
2K
Member Avatar for DyO1

Hello everyone, I'm making programs from quite a while now, and they don't work on most computers, people keep asking me: What are the system requements for this and that program? My answer is: I don't know ! Basically **I need a program that tells me what .NET Framework version …

Member Avatar for HctiMitcH
0
281
Member Avatar for robnederland

Good morning DaniWeb community, I've been coding a while in Classic ASP with MS SQL, but now it's neccesary for me to take the plunge into ASP.NET, C# in particular. I have a lot of data in SQL, and I would like to know where to start, I know how …

Member Avatar for robnederland
0
115
Member Avatar for jdaniel13

Dim selectedProducts = GridView1.Rows.Cast(Of GridViewRow)().Where(Function(row) DirectCast(row.FindControl("SelectedProducts"), CheckBox).Checked).[Select](Function(row) GridView1.DataKeys(row.RowIndex).Value.ToString()).ToList() it tell that is a negative number can u check that please

Member Avatar for LastMitch
0
73
Member Avatar for hdng76

Hello All, Would someone please help explain If not IsPostBack to me and give me some examples as to when to use it and where in the code I have to use it? When do I need to set AutoPostBack to True? Any info on this is greatly appreciated! Thanks …

Member Avatar for JorgeM
0
111
Member Avatar for vinayphadke

Hello all, I'm performing the oracle bulk copy upload operation. There are 10 columns data which needs to be uploaded in oracle database table. The data is getting uploaded in the table for these 10 columns using a datatable. A datatable is being populated from the list. However, there are …

Member Avatar for LastMitch
0
457
Member Avatar for ku.heng.7

<%@ Page Title="" Language="C#" MasterPageFile="~/MyMaster.Master" AutoEventWireup="true" CodeBehind="UserRegistration.aspx.cs" Inherits="MyProject.UserRegistration" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> <div id="content"> <!-- Begin Slider --> <div id="slider"> <div class="slider-frame"> </div> <ul class="slider-items"> <li><img src="Styles/css/images/slide1.jpg" alt="Slide 1" /></li> <li><img src="Styles/css/images/slide1.jpg" alt="Slide 1" /></li> <li><img src="Styles/css/images/slide1.jpg" alt="Slide 1" /></li> <li><img src="Styles/css/images/slide1.jpg" alt="Slide 1" /></li> <li><img src="Styles/css/images/slide1.jpg" alt="Slide 1" /></li> …

Member Avatar for LastMitch
0
1K
Member Avatar for chamnab

$.get("CommentCount.aspx", function (data) { count = data; alert(count); }); this code will get data from CommentCount.aspx and i wrote it in html but when i run html nothing happen unless i open CommentCount.aspx first then html.How can i still get it when i only run html ?

Member Avatar for LastMitch
0
93
Member Avatar for brenton_77

Hi, I'm trying to redirect the admin user from my login.aspx page to the admin.aspx page and any other domain user to the default.aspx page. I have no problems getting the domain users redirecting or having a message displayed when the credentials are incorrect, however when I enter the admin …

Member Avatar for brenton_77
0
2K
Member Avatar for ashwininytym

how can i detect only a face from an image...i want to tak an image fron a user..nd display only the face part..how can use ajax for the same ...

Member Avatar for ashwininytym
0
106
Member Avatar for munyaradzi.marawanyika

i am working om a project using vb.net and asp.net .its an online restaurent management system.can the two languages work together.

Member Avatar for JorgeM
0
40
Member Avatar for kumar89hitesh

I wanna create page such like it- http://www.gadyakosh.org/gk/%E0%A4%AE%E0%A5%81%E0%A4%96%E0%A4%AA%E0%A5%83%E0%A4%B7%E0%A5%8D%E0%A4%A0#.UTXv7zC3PiQ please see this home page and i wanna create this like page in asp.net language. i tryed all ideas but unsuccessful. please help me.

Member Avatar for JorgeM
0
161
Member Avatar for kumar89hitesh

How to give margin both side in left or right and as well as up and down in asp.net?

Member Avatar for pritaeas
0
322
Member Avatar for pwolf

I'm new to c# programming, and I am a little stuck on how to make a variable available across multiple forms. I read that i should make a public static class, however, my code is as follows: private void btnLogin_Click(object sender, EventArgs e) { accountNo = txtBoxAccntNo.Text; valid = validate(); …

Member Avatar for ddanbe
0
346
Member Avatar for nakor77

This snippet will allow you to easily work with session variables in your applications. This example is using a string type but it works the same for any data type, you would just need to change the default return value from string.Empty to something more appropriate.

Member Avatar for LastMitch
0
218
Member Avatar for kumar89hitesh
Member Avatar for JorgeM
0
93
Member Avatar for almighty_08

Hi everyone...im doing final year project for the coming semester.i m making it on 'online matrimonial portal' where i can get diz easily. can anyone email me diz.. my email id <email removed>

Member Avatar for deceptikon
0
207
Member Avatar for vimit

Hello, I am creating a page in which i have used autocomplete extender with textbox. i am displaying fields like first name, last name and pic of the user from TABLE and showing in when person type a name in texbox. The problem is that i have one another field …

Member Avatar for vimit
0
150
Member Avatar for korathualex

Get listbox values added via javascript on server side via hidden field.... See more: ASP.NET Get listbox values added via javascript on server side via hidden field....

Member Avatar for hometownnerd
0
618
Member Avatar for techinvest

How to display image or picture from database to crystal report.In database i have only picture name.n picture are store in folder.

Member Avatar for techinvest
0
203
Member Avatar for happygeek

...and the Microsoft AJAX Library, err, and the ASP.NET AJAX Control Toolkit. Yep, Microsoft has not only finally come up with an official name for the AJAX technologies which until now have been known collectively as ‘Atlas’ but has also split it into three individual products. All are expected to …

Member Avatar for LastMitch
0
691
Member Avatar for skliz

Please I am little bit confused about the difference a web service and a website. Please could someone just tell me the difference and practical projects were you need to apply a webservice. I read some document on google but am still alittle bit confused on when exactly you need …

Member Avatar for LastMitch
0
165
Member Avatar for Syed Nasir ali

Hi I use tooltip property of aspx control I want to change the tooltip image and increase the font size and it also work on tap ? Thanks

Member Avatar for LastMitch
0
161
Member Avatar for pereubu123

The logo header contains one or two logo image file supplied by clients with variable size. There is a several lines of text, which varies from one product to another used by our clients. So the usual header is not of constant size. That is our big and important problem …

Member Avatar for LastMitch
0
241
Member Avatar for timon.bijl

Hello , I had this question how to make your calendar recognize a date and how to make by example change your backgroundcolor when it is the 31 october (halloween) if you can answer this question , please do it! thx

Member Avatar for LastMitch
0
158
Member Avatar for yisman

hi fellows, my server seems to be sometimes returning wrong html to webclients. in order to debug this issue, id like to trace the html that asp.net is sending. in the Global_asax_PreRequestHandlerExecute i can access the response code and status, but cant seem to find the body html i tried …

Member Avatar for LastMitch
0
214
Member Avatar for korathualex
Member Avatar for pratham3090

How to clear defaulttext in textbox by clicking on it and bring back defaut text in textbox when clicking outside of same textbox.

Member Avatar for pratham3090
0
193
Member Avatar for korathualex

How to find email address format(@) in word or pdf files stored as binary file via indexing in sql server 2008...I am able to retrieve files with keyword search using sql where contains query,...How to find email address format in stored binary files via indexing..

Member Avatar for korathualex
0
170
Member Avatar for Hakoo

I am developing app where I need to capture an Information from Webpage after giving credentials automatically. Some how I managed to do Automatic login and redirection of page. Here is my code : HttpWebRequest req = (HttpWebRequest)WebRequest.Create("https://abcd.com.au/categories/A_dfn/sdf"); HttpWebResponse res = req.GetResponse() as HttpWebResponse; StringBuilder sb = new StringBuilder(); byte[] …

Member Avatar for Hakoo
0
518
Member Avatar for fsefsef23

I'm making a calculator that performs operations sequentially (from left to right, not precedence), using ASP.NET/C#, but I'm having trouble trying to get the loops going through the input box string in my code behind. Obviously to me the logic seems to make sense, but for some reason, I get …

Member Avatar for ddanbe
0
325
Member Avatar for coder91

So on the page I have there is already an increment method in place to add to the count, but I need the option for the user to remove a count. A stored procedure is in place for the increment and Im assuming I can use another for the decrement …

Member Avatar for LastMitch
0
107
Member Avatar for Dhanish

Hi evry1, I am currently doing an assignment on a video streaming website where I need to register users, log them in and out, upload videos, stream them, comment on them, etc Everything works out fine just tat after some seconds my session gets killed automatically or should I say …

Member Avatar for LastMitch
0
975

The End.