13,153 Topics
![]() | |
I tried to run my project in local host after publishing it. then i get the error like following: Cannot convert type 'ASP.slogin_aspx' to 'System.Web.UI.WebControls.Login' how can i solve it.And waht is the reason for this type of error. Thanks in advance. | |
Hi is that possible to select multiple dates in Calendar control? If s How? | |
how can i upload a file in database using asp.net & c#.. anyone please help me.. thanks | |
i am writing the following following code public int insert (datatable object) { --my plan define job } i can insert one row in a time and i would like to insert at one time calling all data in datatables(nearly 10000 row) how to insert this data in to data … | |
hi all... Am a beginner in c#. wen i place a control in a webpage and double click it i'm getting it's default event. how can i view its other events and how to include in my coding. Thanks in advance. | |
Hi guys, I have recently installed and configured Apache to process aspx pages (I had to remove IIS when it started using 100% of the CPU when I requested localhost). Apache works perfectly but I'm having trouble with VS 2003. When I try to create or open a project I … | |
Hi, This is my first post on this forum. Apologies in advance if this isn' the right place or there isn't enough info. I'm basically trying to retreive an ID from a quesry string... xyz/nuts.aspx?nuttype=7 What I'm having trouble with is defining the variable and referencing the querystring in the … | |
how to delete the last line of the text file using c#. i applicaiton create a text file ..with 2 empty lines at the end of the File now i just require a method which open the text file and delete the last 2 lines of the text File ..the … | |
I am trying to write the following code: [code]query = dtdatacontext.storedprocedure1(); DataTable bindingTable = query.CopyToDataTable();[/code] But I can not find the CopyToDataTable() method. is there any usings should I use or what? Thanks in advance. | |
hi, i have a question, assume that i have a dll say "xyz.dll", both in /bin folder and GAC. so when my application try to invoke something from the dll, which dll will be initiated. the one in bin folder or in GAC. Please help, thanks in advance | |
Hi My self hardik i am developing CMS system in asp.net with c# in visual studio 2005(framework 2.0), in which i have to provide one facility at user level i.e user can insert clip or movie in his/her content..! so anyone tell me that how can it possible? or is … | |
Good day! Im trying to unit test my current project(the code behind) but I can't manipulate the controls inside the content page. Say I want to put some text inside the textbox, where textbox is inside the content page. I tried the accessor but failed, example: MyClass_Accessor acc = new … | |
I'm looking for C# based, asp.net code (either with or without ajax extensions), that will allow me to load full size images (from thumbnails) into a "template" or aspx page that I will have focused advertising embedded. I know I have to create the thumbs gallery page and the ad … | |
im making a student info system for my uni as a project .. all the tables i designed have been incorporated into the asp.net database .. along with the user system that the system automatically generated through the wizard.. now . the thing is want that when a new user … | |
What would do you consider to be the best way to handle large amounts of data on the client side? How about from a security standpoint? I've been looking into the different methods to store and manipulate query results on the client side. The application I've been working on is … | |
basically i would like to add up the total size of all the files for a particular user and display it in a label...this is what i have so far: [ICODE]SqlConnection myConnection = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\ASPNETDB.MDF;Integrated Security=True;Connect Timeout=30;User Instance=True"); myConnection.Open(); SqlCommand myFileCommand = new SqlCommand("SELECT SUM (fileSize) FROM aspnet_Files WHERE … | |
Hi this is useful links for new [B].NET [/B]developer or any body who is new to .NeT These link contain most of FAQ of window form [url]http://www.syncfusion.com/faq/windowsforms/default.aspx[/url] [url]http://windowsclient.net/blogs/faqs/default.aspx[/url] 101 Visual Basic .NET Code Samples provides a large group of well categorized and documented examples of code. This is a very … | |
Hi there, I'm trying to develop a forum application in asp.net with c#. To post new threads I used a multi line text box to write the message. but i want to embed the MS word's tools in this page so that the user can easily write his/her message. Thank … | |
Hello Everyone :S I am rather new to ASP.NET. I have an SQL Server 2005 database set up. So far its quite basic with just two tables (UsersLogin, Roles). My aim is to allow users of different ranks to login to the system ie. Admin, Staff etc. [B]UsersLogin [/B] table … | |
Hi Am trying to capture the screen in my web application. I am able to capture the image locally but i am not able to capture the image on Client's machine. I am unable to capture the browser settings and properties of client machine. I want to get an equivalent … | |
hi, im trying to test out my application so far by uploading all the project files to my "web" folder on the university server, but when i naviage to the server/myfoldername where the index.aspx is located i get an application error - what im i doing wrong? im using filezilla … | |
Hi All! I want to pull XML with attributes in a datarid with 3 columns viz. "Webisode 1" "Part A" and "Part B". How can I do it? It's urgent! The XML is as follows : [code=XML] <?xml version="1.0" encoding="utf-8" ?> <Webisodes> <webisode name="Webisode 1" PartA ="1" PartB="1"</webisode> <webisode name="Webisode … | |
Hi everybody, I got one problem in ASP.NET. i want to change button backcolor from code. btn_save.bachgroundcolor=system.drawing.color.red the above code is working fine. But instead of "system.drawing.color.red" , i want to give #123234 or rgb() format. i cant give btn_save.bachgroundcolor=#23534 btn_save.bachgroundcolor=rgb(0,0,0) I will give error as invalid return type is … | |
Hello! I'd like to ask for some help. I'm using Visual Web Developer to create a web site, in which members can log in. It has the default aspnetdb.mdf database, in the app_data folder to store the member's data. This works quite good offline. My only problem is that I'd … | |
i hvae developed my program with multi layer software development architecture with microsoft visual studio 2003 and crystal report 9.0 all report have in the diffterent project in the same solution . In the previous time when i all project are successfully buid. now i have the following error how … | |
I have to implement session management in an asp.net application and with mode as sql server. Any inputs on how to implement and test this? I was trying for instructions on the following web site, but i am lost [url]http://idunno.org/articles/277.aspx[/url] | |
I want to execute a stored procedure using LINQ and retrive the results into DataSet. Thanks in advance. | |
How to add any user to System Admin role Programmatically in ASP.net 2.0 using SQL Server 2000 ? | |
I m using asp.net 3.5(visual studio 2008) and sql server 2005/2000. I want code for validation of Account number and password. i.e. when user enter the Accountno and password and click submit button it should check the data with that enter in database. If it is correct it should go … | |
Hi, I have a tabcontainer with two tabs.Both contains a third party calendar control. And have a button outside the tabcontainer to change the view of calendar. I can do this with the first tab calendar, but when goes to second, how to do the same with a single button … | |
[code=XML] <?xml version="1.0" encoding="utf-8"?> <users> <user> <name>aditi</name> <password>A802CEDA2B04377E3265FC30C3D7CE9F4FADBEA0</password> <firstname>aditi</firstname> <lastname>surname</lastname> <usertype>1</usertype> </user> <user> <name>jillian</name> <password>A802CEDA2B04377E3265FC30C3D7CE9F4FADBEA0</password> <firstname>jillian</firstname> <lastname>chen</lastname> <usertype>2</usertype> </user> </users> [/code] [COLOR="Red"]How can I search for the <name> and the <password> node so that I can authenticate the login using this XML in ASP.NET?[/COLOR] Currently I am looking at something … | |
Hi ! I am having problems accessing a label on an aspx page to a called function which resides in a seperate .vb file. My code is as follows: Login.aspx ======== [icode]<asp:label id="lblErrorMessage" runat="server"></asp:label>[/icode] BL / PSUrAccount.vb ============== [code]Public Class WBUserAcct I want to access the 'lblErrorMessage' control here..!! End … | |
How to create my own multiple languages translator in ASP.Net 2.0 ? | |
Hi I want to install .net framework through c#. I have a button in my web page, once the user clicks that button i need to install the .net framework in user's system. Can anyone help regarding this. Thanks in advance Anil | |
im trying to find a way to do an action when someone accesses a image file. example would be someone views 'http://site.com/image.jpg' then say i want to log who has veiwed this file in my database. ive heard of ad sites doing somethign like this for tracking people but i … | |
I have generated an XMl which goes like this - [code=xml]<?xml version="1.0" encoding="utf-8"?> <users> <user> <name>aditi</name> <password>A802CEDA2B04377E3265FC30C3D7CE9F4FADBEA0</password> <firstname>aditi</firstname> <lastname>aditi</lastname> <usertype>1</usertype> </user> <user> <name>aditi</name> <password>A802CEDA2B04377E3265FC30C3D7CE9F4FADBEA0</password> <firstname>aditi</firstname> <lastname>aa</lastname> <usertype>1</usertype> </user> <user> <name>aditi</name> <password>6C8C90F3860019AB48FDFC3F7541291B333B7B4B</password> <firstname>aditi</firstname> <lastname>aa</lastname> <usertype>1</usertype> </user> </users>[/code] Now, I want to login using this XML, so it should search for the … | |
I'm still working om 2003 version since company's project is devloping on it. Persons who worked previously on 2003 version kindly highlight the difference or simply provide link for such article with Regrds Dev:idea: | |
Hi I am trying to fire a javascript function from my .net radiobuttonlist but it does not fire. How do I fix this: [code=asp.net]protected void Page_Load(object sender, EventArgs e) { this.rbl_NumberType.Attributes.Add("OnSelectedIndexChanged", "return NumberTypeChanged();"); } ... function NumberTypeChanged() { alert("KJJK"); } ... <asp:RadioButtonList ID="rbl_NumberType" runat="server"> <asp:ListItem Value="0" Selected="True">Somnething1</asp:ListItem> <asp:ListItem Value="1">Somerthing2</asp:ListItem> </asp:RadioButtonList>[/code] … | |
Hi, I was new to c# and asp.net .I want to create a simple login page using ASP.net with c# code behind.I had 2 textboxs(username and id) and 1 button control.I stored all the username and id in MS ACCESS database.Database name "user.mdb" and table name "table1" (only 2 fields … | |
Hi all, Is there a way to check what is the error for not displaying the code correctly while practising it in a website? Just like when the s/c is compiled in the vs editor. I tried using trace.axd but i found it less helpful. when i wanted to make … | |
I have a screen scraping .aspx file that works perfectly with plain HTML pages. However, if a page contains dynamic content (from an asp page), the dynamic content is not captured. I am using WebRequest and StreamReader to capture the html. | |
Hi everyone Here is my problem. I have been tasked with creating an excel export from my asp page which I have done successfully. The problem comes when the file is being downloaded. The excel spreadsheet contains about 3,000 records but the file size is over 11MB. When I attempt … | |
Hello, I have had a new hard disk installed and in the cause of installing my system's drivers, the system prompts me that, I should first and fore most get Windows XP .NET 1.1 before continuing with the installation. How do I go about getting this done? Thank you. Frank … | |
Hi, Actyally I am trying to merge two text files. I found the code for that on the net for c#. It worked for me. [code=c#]private void cmdMerge_Click(object sender, EventArgs e) { string sFile1 = txtFile1.Text; string sFile2 = txtFile2.Text; FileStream fs1=null; FileStream fs2=null; try { fs1 = File.Open(sFile1, FileMode.Append); … | |
How to deployment Crystal Report wtih ASP.NET aplication on IIS? | |
Hi all, I want to make web application with database using mySQL. I too having googling for this matters, and there are two solutions : 1. Connect via ODBC 2. Using third party Is there another solutions for this matters ? _-ThxZ-_ | |
[B]how to retriving gmail inbox in asp.net 2.0 using vb :?: plz somebody help me :icon_rolleyes: [/B] | |
I’m using Visual Studio 2005, ASP.Net 2.0 and SQLServer 2005. I can save .doc files into a binary column in the database. I can open .doc files from the database and view/edit them in Word. I want my customers to have free access to their Word documents. If they want … | |
Hi Friends, I'm a web developer bit a new to asp.net. I want to access my remote Ms Sql database through [B]Visual Web Developer[/B] or [B]Sql management studio[/B] but despite of spending so much time and googling I'm not able to do that. My [B]database( [url]www.peclive.com)[/url][/B] is on a server … | |
Hello, What is the purpose of putting an MDF file in the "app_data" folder? is it a way to avoid using microsoft sql server? currently i'm paying a lot of extra money (more than hosting fees) to my hosting company for mssq database. can i use an mdf file like … |
The End.