13,153 Topics

Member Avatar for
Member Avatar for clone4

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("&","&amp;") %> Thanks

Member Avatar for kvprajapati
0
49
Member Avatar for priyadharshini.

hi i am in need of password recovery in asp.net with c# as code pls any one knows raply me

Member Avatar for kvprajapati
0
31
Member Avatar for rikinshah

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) { …

Member Avatar for Atli
0
161
Member Avatar for ALRamarao

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 …

Member Avatar for jbisono
0
1K
Member Avatar for mrnobody

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 …

Member Avatar for mrnobody
0
1K
Member Avatar for MarziehA

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 …

Member Avatar for Freon22
0
86
Member Avatar for ma.ali786

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

Member Avatar for apegram
0
151
Member Avatar for jasystweb

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 …

Member Avatar for jasystweb
0
280
Member Avatar for dhavalcoholic

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 …

Member Avatar for boonfoo
0
176
Member Avatar for c_rob

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 …

Member Avatar for c_rob
0
587
Member Avatar for sumangala

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 …

Member Avatar for kvprajapati
0
85
Member Avatar for vvashishta

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

Member Avatar for vvashishta
0
150
Member Avatar for madhan334

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 …

Member Avatar for kvprajapati
0
78
Member Avatar for ajijacobm

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 …

Member Avatar for kvprajapati
0
79
Member Avatar for rekhad

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 …

Member Avatar for rekhad
0
146
Member Avatar for kanuri1

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] …

Member Avatar for Ramesh S
0
145
Member Avatar for Claude2005

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 …

Member Avatar for Ramesh S
0
431
Member Avatar for WanxinG

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 …

Member Avatar for WanxinG
0
293
Member Avatar for sandip vav

[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 = …

Member Avatar for jbisono
0
60
Member Avatar for Peric

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 …

Member Avatar for Peric
0
764
Member Avatar for asha2009

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 = …

Member Avatar for kvprajapati
0
160
Member Avatar for boycuoi

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" …

Member Avatar for boycuoi
0
204
Member Avatar for EricDLundquist

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 …

Member Avatar for EricDLundquist
0
202
Member Avatar for gicker1977

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 …

Member Avatar for apegram
0
103
Member Avatar for cricket2030

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. …

Member Avatar for cricket2030
0
126
Member Avatar for killerdoob

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 …

Member Avatar for killerdoob
0
248
Member Avatar for rajabca

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 …

Member Avatar for apegram
-1
118
Member Avatar for maryjessicka

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 …

Member Avatar for kvprajapati
0
134
Member Avatar for jtok

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, …

Member Avatar for kvprajapati
0
3K
Member Avatar for ashab27

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 …

Member Avatar for kvprajapati
0
547
Member Avatar for sakhi kul

Hi, how to import/include Spatial Data format (Geometry and Geography) in Sql Server 2008 ?

Member Avatar for sakhi kul
0
165
Member Avatar for Pari13

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.?

Member Avatar for kvprajapati
0
139
Member Avatar for negaboys

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 …

Member Avatar for kvprajapati
0
80
Member Avatar for manish_partey

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 …

Member Avatar for manish_partey
0
89
Member Avatar for Ramyamca

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; …

0
41
Member Avatar for ajoseph

i am using update panel. i could not validate the text,number and email in aspx page.I need the solntion.

Member Avatar for kvprajapati
0
24
Member Avatar for mahmoud_wow

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]" …

Member Avatar for kvprajapati
0
47
Member Avatar for vvashishta

Is web.config file is must to execute any asp.net application if we are maintaining connection strings on the page itself.

Member Avatar for kvprajapati
0
110
Member Avatar for strayman

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 …

Member Avatar for kvprajapati
0
53
Member Avatar for gdp_87

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 …

Member Avatar for gdp_87
0
95
Member Avatar for stewie griffin

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 …

0
51
Member Avatar for SteveRocks

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 …

0
54
Member Avatar for UIJAD

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 …

Member Avatar for TechGuru123
0
108
Member Avatar for andy0787

[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 …

Member Avatar for andy0787
0
666
Member Avatar for G_Waddell

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 …

Member Avatar for G_Waddell
0
161
Member Avatar for srsackman

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 …

Member Avatar for kvprajapati
0
75
Member Avatar for arturodanew1

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 …

Member Avatar for kvprajapati
0
66
Member Avatar for dawsonz

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); …

Member Avatar for kvprajapati
0
110
Member Avatar for jsrdixon

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 …

0
49
Member Avatar for Varun K Sharma

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.

Member Avatar for kvprajapati
0
100

The End.