13,936 Topics
![]() | |
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.Data.SqlClient; using System.Data.SqlTypes; public partial class Login : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Login1_Authenticate1(object sender, AuthenticateEventArgs e) { bool Authenticated = false; Authenticated = SiteLevelCustomAuthenticationMethod(Login1.UserName, Login1.Password); e.Authenticated = … | |
Hi, I have a DetailsView on my page that connects to a SQL server D/B and shows its data.However, It is not visible on my page when I launch my browser. Any ideas or past experience with this? Thanks for reading. | |
Hi, How to set the focus in a text box control?I want to blink the cursor in the textbox control while executing...Is there any property for this..?What is the command in ASP.NET using C#..?Thanks in advance... | |
Hi Frndz, My code is like this: Protected Sub LinkButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles LinkButton1.Click sql = "select LS from Tests_Attended where Emp_ID = " & Session("EmpID") cmd = New OleDbCommand(sql, con) ds = cmd.ExecuteReader If ds.HasRows = True Then ds.Read() If ds.Item("LS") = True Then … | |
![]() | I've searched every where for any code examples for a manual sorting routine, but the only ones I can find are in C#. I've been able to convert it into its VB counterpart, however I'm having trouble with the data casting. The original C# code came from this address [URL="http://forums.asp.net/t/956540.aspx"]http://forums.asp.net/t/956540.aspx[/URL] … |
i have a login page with a login button and reset button.now when the user enter its id and password and then press enter both the user id and password textbox becomes blank.i checked the tabbed index of the two button thinking it may be due to the reset button … | |
I dont clean the unnecessary namespaces that .net automatically generates. Is there any problem with that? | |
how do i disable the BACK button of IE.can it be done using session.if so can anyone please explain me how it works and give me a bit of information about this session thing as i have no idea about it and when i searched the web it left me … | |
I have a page that inserts information to multiple tables. This part is working fine. What I want to add is when a user adds a new company not only is it inserting to the db but it is also posting the results on a separate page. For instance it … | |
hi i am `asp.net` beginner, i doing login validation using `asp.net` in c#. here i was create the db in sql server 2005 ,fetch the data from db and compare the text box value. if condition error will be show. it is using visual studio 2005. given below my code … | |
I can sort in gridview,but i've two problem 1)When i click edit button,sorting changed to reverse order. 2)When i go next page through paging,data are not in same order as in previous page. What can i do ? | |
hello, i am uploading an excel file from my web application and is working fine from the local machine but gives an error "unspecified error" when i try to upload from another machine. i have used oledb connection with Microsoft.Jet.OLEDB.4.0. i have kept 'impersonation = true' in my web.config file … | |
hiii, i am using asp.net 2005 and sql server 2005...i hav a page in which i have used gridview ant sql data source.. i have written the update command for the same..the problem is when i add the where clause in the query i get an error ,,,,here is the … | |
Dear friends, I wrap an unmanaged VC++ 6.0 class in VB .NET like below : [code] Declare Function ACR120_ReadATQB Lib "ACR120U.DLL" (ByVal rHandle As Short, ByRef pATQB As Byte) As Short Declare Function PICC_RATS Lib "ACR120U.DLL" (ByVal rHandle As Short, ByVal FSDI As Byte, ByRef atslen As Byte, ByRef ats … | |
Hi all, I am looking for an ASP.Net 2.0 training (online/dvd/cd) - any recomendations? I am in the UK and have some ASP.Net experience. I am not looking for a class to attend, or lectures etc. I am looking for something I can complete either online or from a DVD … | |
hello folks, My name is balaji. I am software engineer working with a private firm in India. I am basically into ASP.NET + C# + MSSQL2005 & AJAX. Feel gud to be here. | |
hiii,,,i m using asp.net 2005 and sql server 2005 i m using gridview and sql datasource,,whn i debug the application i get ths error:::: ________________________________________ Format of the initialization string does not conform to specification starting at index 0. ___________________________________________________ can ne1 help me out with ths error,, thnks in … | |
I wish to put an image/icon beside the website address everytime a user visits my page. How can I do this in ASP.Net? | |
I inserted a Calendar object in my page. I want that when I click a certain date, let's say a label will appear visible in the page such as "This day is your scheduled meeting!". Assume that this label is set initially as [B]lblMsg.visible = false;[/B]. How can I do … | |
[B]hi all[/B] [B] is there is any streaming method for video conferencing..[/B] | |
Hi, I am having a problem that I have been trying to solve for the last 2 weeks. This might be seen in many travel sites like lastminute.com. The situation is simple. I need an indeterminate progress bar. I enter the search criteria/parameters (From/To Date & Destination) in page ‘A’. … | |
Thanks in advance for checking out my problem. Here is a fictional version of the scenario I am trying to achieve - let's say you are searching for a Department of Motor Vehicles office closest to you. So you go to a website and you plug in your zip code. … | |
When I try to view the page I have just built in Dreamweaver in the Browser I get a message saying 'Invalid Syntax error'. Is there something I need to do before I view the page?? GLT | |
Hey guys, I am developing a web based database for a company for my year work placement from university. I was wondering if anyone knew a way of retrieving the user ID from the database through the web page? Each table in the SQL Server database has an automatic Identity … | |
I am making a form and at the end of the form there is a save btn that should save data into database and redirect the page the same page that the form is in. Well its not working. simply speaking its just Response.Redirect("samepage.aspx"); I know it should work, but … | |
I've been working on a page that has ddls populating other ddls and form fields. Right now I'm getting this error: erver Error in '/HRIService' Application. Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please … | |
how would one go about loading up sql data into an asp.net (without using dataview, formview, detailsview etc)? any ideas? have my table marked up already and connection strings just need to know how to put the two together. Thanks for your time | |
Hi guys, Sorry if I have started his thread in the wrong forum, I couldnt find a dreamweaver one. I am creating a web based database and I am having a little bit of trouble creating a login page. I know that this is quite basic and I know there … | |
Hi, I am having a problem that I have been trying to solve for the last 2 weeks. This might be seen in many travel sites like lastminute.com. The situation is simple. I need an indeterminate progress bar. I enter the search criteria/parameters (From/To Date & Destination) in page ‘A’. … | |
I have upgraded a vs2003 web project to vs2008. It has converted well. However, I no longer have access to my sqlDataAdapter controls. I also don't understand how to bind my text boxes to data via the ide. I can see the databinder asp statements in the source view. I … | |
i am developing a web application and would like to sent an email from it.hw do i do it.the following is my code.where did i go wrong as it does not work code:-- [CODE] Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click Dim emailMessage As System.Web.Mail.MailMessage … | |
1. how to call a Javascript function onClick on GridView Header [on Sort Link]. 2. How to access a Header Template column of a gridview from code behind Thanx in advance | |
HI All I hope you guys can help me, I am getting an the following error when trying to debug my Vs2005 applications. "Unable to start debugging on the web server.Unable to connect to the web server. Verify that the web server is running and that HTTP incoming requests are … | |
I just need to use php to find all cities in a MySQL database and return the results in a drop down box. Can somebody suggest some code? The table name is tblLodges and the field name is strLodgeMailingCity.... | |
I want to zoom the image in the same image of particular part or in another place.I saw some script,css for this requirement.One of that is cost.the other is not satisfied but its free.Do u know anything related this? | |
i am geting error- Requested Url: /test2/default.aspx and Description: HTTP 404 on page <--->agter login page (clivk button) it is not reaching at same page. my webpagename is-> webform1.aspx . can any body solve this problem plz i am using this code in button click Private Sub Button1_Click(ByVal sender As … | |
How To Authenticate Clients to printing From Server Using ASP.NET C# hello i have one server in which the printer is installed, the clients are printing from server. So, i want to authenticate those clients before printing using asp.net? means if in server client architecture of any company, clients are … | |
Everytime I connect my Access database into my page for some SQL statements like SELECT, INSERT, UPDATE, and DELETE - I make use of an absolute path in my data source such as [COLOR="Red"]Data Source = C:\MyData\grades.mdb[/COLOR]. But when I make use of a relative path in my data source … | |
:icon_question: i have a button in my web page and want it to print sumthing when clicked hw do i do it? i tried using window.print() but it doesnt work | |
m new 2 asp.net. my prob is after populating the dropdownlist with data from the database wen i select an item it select only the first item.following is my code.where did i go wrong code:- con3.start_connection() dr = con3.executequery("SELECT city_name from City") DropDownList1.Items.Clear() While dr.Read DropDownList1.Items.Add(dr(0)) End While dr.Close() con3.close_connection() … | |
In classic ASP there is a recordset. In VB.NET is there the same functionality, or must one load the data into a datatable and fill the table with a dataadapter? Thanks, Eric | |
Hi, i want to upload videos and display like youtube.com.FLV player used there. I want to diplay thumb of all videos in first page.If i click that thumb It wil go to next page and display videos.I am not clear in this concept because i know the concept of <object></object> … | |
While Creating DataSet on Red Colored statement error occured which is Mentioned in Green Color....(A'm using Visual Studio 2005 and SQL Server 2005) Please Help...... 'Create New DataSet Dim ds As New DataSet("DataSetVendorInfo") 'Create a new Table and Columns Dim dTable As New DataTable("Vendors") dTable.Columns.Add("Ven_ID", System.Type.GetType("System.Int32")) dTable.Columns.Add("FName", System.Type.GetType("System.String")) dTable.Columns.Add("LName", System.Type.GetType("System.String")) … | |
Hi i am using near about 10 combos in my asp.net project having values Yes and No. And some more having default 4 values. Currently i am storing those values in db and each time using from it. so do you think so that its a better way than storing … | |
Hello everyone, This is the case: 1- I have a asp.net application that is hosted in the Web server hosting service (This hosting server is located in the US, but not near the office of my client ... " 2- The SQL 2005 database will also be hosted in the … | |
[URL="http://www.rigelnetworks.com"][B]Asp.Net[/B][/URL] is the latest technology to develop web applications and Rigel successfully delivers their each & every project with a great satisfaction to their customer by delivering and commitment towards work of various application development & outsourcing and fulfills the requirement of their client. By this way Rigel has tied … | |
I need get at variable from calender control A after get the variable i process it and do calculate then how to past that variable to calender control B because i need get another date from calender control B to do calculation.Got any suggestion ?How to using calender pop out … | |
how to calculate the date by using integer variable which can know the lasted date for example user key in date is 2/20/2008 and he want know the after intvariable day is which date like this user key in date is 2/20/2008 - intvariable = date user require date dim … | |
How can I incorporate a web counter (page hit) in ASP.Net to track the number of visitors in my site? | |
First question in a long time. I was wondering if anyone know how to search all current sessions within the website? I want to be able to loop through all the current sessions (with a specific session name if possible) on my current website at one time. I am trying … |
The End.