13,153 Topics
![]() | |
Hi everyone, I was just wondering why this won't work, more specifically why the replace function won't work <%# DataBinder.Eval(Container.DataItem, "name").ToString().Replace("&","&") %> Thanks | |
hi i am in need of password recovery in asp.net with c# as code pls any one knows raply me | |
i have 2 gridview. i put this java script for chekbox, my id is [email]<<Email Snipped>>[/email] plz help me , if u knw the ans thn plz reply me , thank you [code] <script type="text/javascript"> // Let's use a lowercase function name to keep with JavaScript conventions function selectAll(invoker) { … | |
hi, I want to bind the datasource to a CheckBoxList Based on Database Value i want to check few checkboxes, ex: in roles table ModuleIds column contain few ids with ',' seperator but my checkboxlist contain all modules, now i want to checked which module is in miduleIds field. <asp:CheckBoxList … | |
Hi, I've done a vb.net program. The program basically uses few reference for example system.io etc.. In order for my program to run on another computer, the computer need to have .net framework 2.0 installed.. Instead of installing the whole framework, can I just pack the references I used in … | |
hello my friends for making page beautiful i use my whole controls table as a <TD> in parent table which apears such a frame in page.( which makes all tables corners round) now my load speed goes down. the other things is the size off all images i use in … | |
how can i restrict the web user to save my web site into their local machine i want to restrict to save it help me | |
I would like to understand how to retrieve an Image stored in a mySQL database as a longblob. Once retrieved, assign that image asp.net image control. Heres the code that uploads the pic to the MYSQL database [CODE] If (Not myups.HasFile) Then Return -1 End If 'FileName.PostedFile.InputStream() Try Dim fs … | |
Hellow friends! I am new to ASP.net. I am developing my college major project in Asp.net 2008. How should I use Ajax controls in my web project? I added the ASP.NET Ajax Library 0911 Beta to my VWD. The controls are visible, but they dont work properly on runtime. Controls … | |
I am Unable to customize a menu bar in the master page, so that it is at the middle like in [URL="http://www.uinsureme.com/content/quote-group.php."]http://www.uinsureme.com/content/quote-group.php.[/URL] But when i customized a drop down menu bar and trying to align, i am unable to figure out how to do it such that it appears as … | |
I am developing one application in asp.net mvc. The error that occurs frequently is parser error. Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not … | |
I need to use a DropDownList in my application made in VB.Net where I can select multiple values from the List. Please help me out.. thanks | |
hi friends i have downloaded a MPEG video and converted into flv format by articulate free movie encoder 09 and save it in C:...when i tried to use that link for uploading using asp .net web application in localhost the video gets streamed but not displayed....can anyone help me to … | |
hi,i'm beginner in asp..I'm doing a work on image resizing..i've my source code but it is showing a generic gdi error occured... [code=c#] using System; using System.Data; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; using System.Drawing; using … | |
Hi all I am using sqldatareader to read data from sqldatabase. The data is being shown on web forms with tabcontainer and tabs. The scenario is I have three rows of data for a client.I want to read row by row data on a button click event.I used while loop … | |
hi any one try to tell me,, i created a button control ,, by double clicking only the process was going on,,when iam single click the button nothing is to be happenend,,so i want to change into single click insted of double click........ here my coding is given below....... [code] … | |
Hi guys, I'm using Crystal Reports here. In the development stage (not published), my application works perfectly. After publishing, my application also works perfectly but whenever the crystal report involves images (picture of an employee, for example), this error pops-up. [QUOTE] Access to the path <pathname> is denied. [B]Description:[/B] An … | |
Does anyone know how to use httpcontext.response.transmitfile or any other httpcontext function to download a file from a network drive instead of local drive? When I tried to use context.Response.TransmitFile(DownloadPath) to download files, the DownloadPath has to be local drive. If it's a network drive, the download failed. Thanks in … | |
[code] for(int p=0; p<dsForumList; p++) { dsForumList="select ForumName from KF_Fourms"; { if(dsForumList.Tables.Count > 0) { if (dsForumList.Tables[0].Rows.Count > { for (int i = 0; i < dsForumList.Tables[0].Rows.Count; i++) { strForumName = Convert.ToString(dsForumList.Tables[0].Rows[i]["ForumName"]); // strForumName =Convert.ToString (dsForumList .Tables [0].Rows[i]["ForumName"]); for (int j = 0; j < dsCategoryList.Tables[0].Rows.Count; j++) { //intCategoryID = … | |
![]() | I don't have any experiance in this part so I really need someone's help to get start. I have setup for my application in VB.NET...what i need to do (want to do) is next... -create/restore a database that I use for that application (I have database in MSSQL). Maybe I … ![]() |
I am writing an output stored procedure that i access using c#. I am trying to print the output values from the stored procedure. [code] using (SqlConnection connection = new SqlConnection(connectionstring)) { connection.Open(); SqlCommand emailcmdsql; emailcmdsql = new SqlCommand("returnemail", connection); emailcmdsql.CommandType = CommandType.StoredProcedure; SqlParameter paruser = emailcmdsql.Parameters.Add("@user", SqlDbType.VarChar); paruser.Value = … | |
I want to invisible a imgbutton in repeater when username not admin.So here my code Check username function : [CODE]Protected Sub CheckUS(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.RepeaterItemEventArgs) Dim Check As String = Session("UserName").ToString Dim Img As ImageButton = New ImageButton Img = DirectCast(e.Item.FindControl("DltImg"), ImageButton) If Check = "admin" … | |
I would like to retrieve the value of whats stored in a currenlty selected row in my datagrid and store it in a string. 1. Is this possible? 2. If so how might I go about doing it myDataGrid.Rows.Cell[0].etc.etc doesn't seem to work and it is all I could find … | |
HI there, I have written a simple form that inserts a new record when none exists and updates an existing record when one does. It uses ASP.net and C#. The insert statement works fine, but the update statement does not work at all, though no error is returned. Any help … | |
Hello, I am taking a VB.net class and am having trouble seeing the difference between event driven and object oriented programming. This will not help on any assignments, I have already turned it in, but I do not understand why VB6 is considered event driven and .NET is object oriented. … | |
Hey guys im having a little problem with this project im working on basically im making a desktop image uploader for this site [url]http://www.noelshack.com/api.php[/url] i have tried hacking around with some example code but cant get anything working i cant even check if the images are uploaded correctly because when … | |
The above code has been runtime Error display. Variable 'objReader' is used before it has been assigned a value. A null reference Exception could result at runtime. pls solve this error. Error Line for: objReader.Close()[code]Protected Sub Login(ByVal sender As Object, ByVal e As System.EventArgs) Dim intID As Integer = 0 … | |
i am sending mail in asp.net using c#. Below i have pasted the C# code for sending mail but when i submit the form i am getting the error as Mailbox Unavailable. [CODE]System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage(); //message.To.Add("xxx@gmail.com"); message.Subject = "Rental Agreement Form"; message.From = new System.Net.Mail.MailAddress("user@msssoftware.com"); message.To.Add("xxxx@gmail.com"); //message.CC.Add("xxxx@gmail.com"); message.IsBodyHtml … | |
I am using Visual Studio 2005 to build a website using ASP.NET and VB.NET. It is accessing data on SQL Server 2005. I have a form (actually it is in a wizard) that needs data populated from a sqldatareader. This all works for the first two steps in the wizard, … | |
hi, i m asha bhatt i have create check box list dynamically and i want to do the validation for that its checked or not this is my .aspx.cs code [code] using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using … | |
Hi, how to import/include Spatial Data format (Geometry and Geography) in Sql Server 2008 ? | |
Dear Sir, I have textarea to write description and above it there is an image(.gif) that I attached .So Is there any inbuilt functionallity SO i have not to do any coding for each element seen in image.? | |
Can anyone help me about how to post image and sql data. [ATTACH]13786[/ATTACH] Check the attached image, it is from jaiku.com. [you can see image of the user and data which is posted by user] i have one textbox(multiline mode enabled), and a button. when the user input the data … | |
Hi Everyone, I have one master page and one user control I want to add and use the user control at runtime in the master page. I have used LoadControl Method to add usercontrol but in that case i was unable in getting the tagprefix and tagname value of the … | |
pls , anybody help to me. i have meet one problem for my website developing , i have add to div tag in my page. i don't want to display that scroll in server side, but i need div all actions. pls help me this is my code <div style="overflow:auto;height:535px; … | |
i am using update panel. i could not validate the text,number and email in aspx page.I need the solntion. | |
Hi I'm Developing an application and I want to use the Profile Service in asp.net The problem is that I can't Find the Profile Property at the IDE Intlisence and when I type Profile.LastLogin the compiler give me an error "[COLOR="Red"]The name 'Profile' does not exist in the current context[/COLOR]" … | |
Is web.config file is must to execute any asp.net application if we are maintaining connection strings on the page itself. | |
can anyone explain to me i want to create for search books i created books table, authors and title_authors table.. with MS SQL but i cann't relation with them and how to doing in asp.net with C# for search books!! please explain me i want to leaning!! thanks you so … | |
hi all, I wonder if anyone can help me, first of all im new to asp.net and am trying to learn it. Right, i have developed a website locally which works fine, but when uploading it to my host i am receiving a runtime error on the pages that interact … | |
I have very very simple web service that run perfectly on my computer but on the host i get run time error (i using visual web developer 2008 and hosting on somee.com) here is the given error: [QUOTE] Server Error in '/' Application. Runtime Error Description: An application error occurred … | |
I have spent the last 2 months researching asp.net bootcamps but really couldn't find any good resources or recommendations - so I figured I'd share my experience and try to get yours too. I am finishing up a 8 days bootcamp in Atlanta, GA earning my MCPD: ASP.net certification. Even … | |
i am trying to programatically change the page culture and uiculture ( c# ), my webpage needs to have 2 languages and i have prepaired the right resource files ( .resx) and they are functional since when i try writing in the web.config culture="ar-LB" it works fine now i understand … | |
[CODE][/CODE]Can someone plese have a look at this for me and tell me why @userid is giving me a scaler error.... [code] Protected Sub recordcount_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles recordcount.Click Dim con As New Data.SqlClient.SqlConnection() con.ConnectionString = ConfigurationManager.ConnectionStrings()("ConnectionString").ConnectionString Dim cmd As New Data.SqlClient.SqlCommand() cmd.CommandText = "select … | |
Hi All, I've published a app using Clickonce Deployment for use on our LAN (so I've set it to online only for ease of updates etc) When I run the setup on my own machine, the app installs and runs with no issue however when I run the setup on … | |
I hope someone can help me. I have an asp.net website where all webforms use a single master page. All styling is done via .css elements. Everything styles correctly at first, then eventually blows up. The only thing that fixes this is to open web.config and edit out the Authorization … | |
I'm new. So, hold on. This may be an inappropiate question but I don't know that. I have a friend that is working with me. He is not available for two more days. Any help would be greatly appreciated. I am using 2008 Visual Studio. This works: Student/Adult: [code] <asp:DropDownList … | |
Hi, I'm trying to get my program to write the content of textbox1 into a textfile specified at a particular location. However I get an error when trying to do so. My code: [code] protected void btnSave_Click(object sender, EventArgs e) { //Write to fileupload location System.IO.StreamWriter StreamWriter1 = new System.IO.StreamWriter(FileUpload1.PostedFile.FileName); … | |
Hi I appreciate the sticky post about student questions and i admit this is a student question and i am completely new to these forums. However, i wondered if anyone could help or at least direct me in the direction of good sources where i can get this right. Basically … | |
I need to generate nested classes using CodeDom. But I could not find any option to add a class( CodeTypeDeclaration) to another class as member. |
The End.