13,936 Topics
![]() | |
Hi, I have a datagrid with 2 checkbox columns [Code] <Columns> <asp:TemplateColumn HeaderText="Part A" ItemStyle-HorizontalAlign="Center"> <ItemTemplate> <asp:checkbox runat="server" ID="[COLOR="Red"]partOne_Edit[/COLOR]" checked='<%# DataBinder.Eval(Container, "DataItem.partOne") %>' [COLOR="Red"]Enabled = '<%# IIf(DataBinder.Eval(Container, "DataItem.partOne"), "True" ,"False" )%>'[/COLOR]></asp:checkbox> </ItemTemplate> </asp:TemplateColumn> <asp:TemplateColumn HeaderText="Part B" ItemStyle-HorizontalAlign="Center"> <ItemTemplate> <asp:checkbox runat="server" ID="[COLOR="Red"]partTwo_Edit[/COLOR]" checked= '<%# DataBinder.Eval(Container, "DataItem.partTwo") %>'></asp:checkbox> </ItemTemplate> </asp:TemplateColumn> </Columns> [/Code] … | |
Hi, I need to build a datagrid dynamically, entirely in c# so no asp tags can be used. I need my datagrid to contain a textbox in each cell; pre-populated with the corresponding value from the datatable. My code creates the text box in each cell perfectly BUT every value … | |
Hi all, im new in this forum ;) I have a problem here with crystal report. I have building report in web (asp.net 2.0) using crystalreportviewer control. I used crystal report 10 for the report. I have succeed to view the report. But, if i press the print button, it … | |
hi, to all ...im trying to code on a login page...im suppose to have a userid and a password textbox. i dont know how to code . i was only able to code as below and i dont know how to proceed. [code=asp.net]<asp:Label ID="lblUserID" runat="server" Text="USER ID"></asp:Label> <asp:TextBox ID="txtUserID" runat="server"></asp:TextBox>[/code] … | |
hi, there...i need help.im not sure if my codes are appropriate.. [code=asp.net]<asp'Label id:"lblreport" runat="server" text"type of report"></asp:Label> <asp:dropdownlist selected="true" value="annually"></asp:ListItem> <asp:dropdownlist selected="true" value="Monthly"></asp:ListItem> <asp:dropdownlist selected="true" value="weekly"></asp:ListItem> <asp:dropdownlist selected="true" value="Daily"></asp:ListItem> </asp:dropdownlist>[/code] im getting error telling 'cannot have multiple selection'. | |
Hi Guys, i'm newbie in .net area. now i confuse one things is : i have a variabel is use at all pages in my web site. so how i set this variable in one page, so that every time when i need this variable, i can use this and … | |
hi, there...im coming with these codes...and i am not sure whether these codes should be after <head> or after <head>. [code]<script runat="server"> Sub Check(sender As Object, e As EventArgs) dim i mess.Text="<p>Selected Item(s):</p>" for i=0 to check1.Items.Count-1 if check1.Items(i).Selected then mess.Text+=check1.Items(i).Text + "<br />" end if next End Sub </script>[/code] | |
I have a problem in page loading in my asp.net with c#. I am using css in which i am facing a problem that my Header part as well as navigation bar is not load fully as my css background. pls reply fast.. thanks. | |
I have an application where i need to show 2 frames. the top frame shows 2 windows media players, one that shows the video of a lecture and the other shows the video of images for the same lecture. In the lower frame i want to show all the imagesassociated … | |
frnds, can anyone know how to build dynamic page in asp .net with CSS ? actually I am using C# and I made a Page with CSS.now I face the problem that when ever i change my project to another Computer it's resolution has been changed. thanks | |
My server configuration are . SQL Server in Marchine1 - is setting in Mix Mode(SQL Server and Windows Authentication) . IIS Server in Marchine2 - is setting as following Directory Security - > Authentication and access control .Unchecked "Enable anonymous access" .Checked "Intergrated Windows authentication" .Checked "Disest authentication for Windos … | |
to, all....ive come up with this codes on coming up with a registration form.. i debuged it and have not been able to get the output. [code=asp.net]<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <!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>Courier Management</title> </head> <body> <form … | |
imcoming up with icons such as home, customer, login, logout...i dont know how the codes using asp.net looks like? please help... | |
I am very new to SharePoint... I need to know two things: 1. How to work on a single website with multiple developers? 2. How to deploy the SharePoint website or webapplication on production server or client machine? Do anybody know some answer or some links which can help me? … | |
i want to connect asp.net 2005 with access . now i need for the code do do this connection | |
hi, to all...im having problem with the codes below: [icode]<form id="form2" method="post" name="lOGIN" action="Default.aspx" runat="server">[/icode] im not sure the purpose of the method 'post'. why can't i use action instead? when it comes with action, can i use some other names than default.aspx? please help. | |
I want to speed ChechBoxList's getting the selected items, the normal approach is [code=c#] foreach (ListItem li in checkListBox.Items) { if (li.Selected) { } } [/code] but if I've 6000 items in the CheckListBox, that's mean I should go through the 6000 items to know which is selected. Performance POOOOOOR!!! … | |
hi, to all..im coming up with these codes below: [code=html]<html> <body> <h1>Welcome to my Homepage!</h1> <form runat="server"> What is your name? <asp:TextBox runat="server" ID="txtName"></asp:TextBox> <br />What is your gender? <asp:DropDownList runat="server" ID="ddlGender"> <asp:ListItem Select="True" Value="M">Male</asp:ListItem> <asp:ListItem Value="F">Female</asp:ListItem> <asp:ListItem Value="U">Undecided</asp:ListItem> </asp:DropDownList> <br /> <asp:Button runat="server" Text="Submit!"></asp:Button> </form> </body> </html>[/code] at the … | |
Programmatically add linkbutton to gridview in asp.net with c#.net | |
The following is my login code for my project.. [code]Function ValidateUser(ByVal uid As String, ByVal pwd As String) As Boolean 'Dim sName As String Dim sUser As String Dim sPwd As String Dim blnValidUser As Boolean blnValidUser = True Dim strConn As String = "server=YOGESH\SQLEXPRESS;Trusted_Connection=yes;database=jobbunch.mdf" 'Dim MySQL As String = … | |
Hi, In my aspx page,when a user clicks on a asp.net Location "LinkButton", a new textbox should be dynamically added without refreshing the whole page.A user can add maximum of 5 textboxes. Also,I need to programmatically attach Ajax AutoCompleteExtender to this textbox. How do I achieve this functionality? Thanks | |
Hi. I tried dragged and dropped an SqlDataSource and then click "Configure Data Source". From there i start a new connection and select my server. Under "Select and enter a database name" listbox i can not see anything. So i try to attach a database file "NORTHWND.MDF". When i try … | |
I'm relatively new to ASP .NET and I was wondering if anybody knows about any good reference books? Thanks in advance for your help. | |
Any one knws hw to upload rtf file in webserver in asp.net.Can any send code of it | |
I want to know dat is it possible to create and run .asp file in microsoft visual web developer 2008 ? The problem is dat there is no inbuilt .asp extension file given in vwd 2008....if anyone knows how to create and run....den plz help me out.... thanks......... | |
I want to restrict the data types that FileUpload control show on some types. i.e. whaen the user clicks on the Browse button the window that comes up show only for example the word files(.doc and .docx). I'm using VS.Net 2005. Thanks in advance. | |
Hi, I have saved documents into my SQL Server 2005 database and they have been converted to bytes. My web page is made with VB.NET in Visual Studio 2008 with ASP.NET. The following is exactly what I need to achieve; 1. Allow user select document with a button 2. Select … | |
I want following code using C# and ASP.NET 2.0? 1. How to read log file which is located in directory(C:\WINDOWS\system32\Logfiles\W3SVC1) using C# and ASP.NET 2.0? 2. How to store the content of that log file in database using SQL Server 2000? Log file contain following information. I want to store … | |
Hii everybody, i want to make connection of my window application in c# and asp.net with remote sql server 2005 then how can i make connectionstring and connection with remote database? please help me on this topic. also if suppose connection is established, then how we can show the data … | |
Hi all, I was thinking of using Triggers to take care of my history tables. Two questions remain: 1) Transaction Scope I handle complex Operations in my DataAccessLayer (C#,ASP.NET) with Transaction Scopes. For example: [code]private void InsertFamily(FamilyDTO) { using (TransactionScope scope = new TransactionScope()) { try { InsertFather(); InsertMother(); InsertBrother(); … | |
Hi i'm used to working with Visual studio IDE and C#.NET and have just started studying PHP. These are my queries: 1. Is there any IDE like the visual studio for PHP, i mean it was a lot easier dargging and dropping controls in VS. Suggest me one. 2. Is … | |
[COLOR=blue][B]Hello all,[/B][/COLOR] [COLOR=blue][B]I want autocomplete textbox facility like google in my application and i searched on the net and i found some articles that shows i've to use ajax(combination of javascript and xml) but they are using .dll file component but i don't want to use any kind of .dll … | |
hi, im doing a project on 'courier management systems' . i am using asp.net as the application and mysql as the database. im not clear on how to integrate mysql with asp.net... i would appreaciate if some description plus some examples are posted on...thank you | |
i hav created an application in asp.net, i wan to create a virtual directory so tat i can run my application on LAN....how can i do so... Thanks in advance... | |
Hey guys! I have been told to demonstrate 1 or 2 good examples of silverlight2 which has applications similar to flash? Could anyone give me useful links where I can find such examples? Thanks in advance, Aditi | |
Hi all, Please take a look on this page [URL="http://www.vistaprint.com/vp/ns/studio3.aspx?pf_id=088&combo=31679.96.32.93307|93307|137|0&uei=94406&icparts=yes&ag=true&combo_id=82920&ssc=1&filter=9%3a10013||1%2c4%3a10003||1%2c3%3a10001||1&xnav=previews&rd=3&referer=http%3a%2f%2fwww.vistaprint.com%2fpremium-business-cards%2fgallery.aspx%3fpg%3d1%26rd%3d2"]http://www.vistaprint.com/vp/ns/studio3.aspx?pf_id=088&combo=31679.96.32.93307|93307|137|0&uei=94406&icparts=yes&ag=true&combo_id=82920&ssc=1&filter=9%3a10013||1%2c4%3a10003||1%2c3%3a10001||1&xnav=previews&rd=3&referer=http%3a%2f%2fwww.vistaprint.com%2fpremium-business-cards%2fgallery.aspx%3fpg%3d1%26rd%3d2[/URL] and this [URL="http://www.vistaprint.com/vp/ns/studio3.aspx?pf_id=088&combo=911.122.5.4421|4421|137|0&uei=5316&icparts=yes&ag=true&combo_id=4164&ssc=1&filter=9%3a10013||1%2c4%3a10003||1%2c3%3a10001||1&xnav=previews&rd=3&referer=http%3a%2f%2fwww.vistaprint.com%2fpremium-business-cards%2fgallery.aspx%3fpg%3d1%26rd%3d2"]http://www.vistaprint.com/vp/ns/studio3.aspx?pf_id=088&combo=911.122.5.4421|4421|137|0&uei=5316&icparts=yes&ag=true&combo_id=4164&ssc=1&filter=9%3a10013||1%2c4%3a10003||1%2c3%3a10001||1&xnav=previews&rd=3&referer=http%3a%2f%2fwww.vistaprint.com%2fpremium-business-cards%2fgallery.aspx%3fpg%3d1%26rd%3d2[/URL] They are basically 2 templates for Business Card printing. Notice that the text fields will be updated to the Image on the right dynamically with different style and position from one template to another. Does anyone has … | |
Hi, I am Abhilash a web developer from bangalore. Currently for my work I am exploring formbuilder kind of stuff, which will enable the end user to create a form, save it, and use it any of the web page.I am following the Microsoft.Web.Preview.dll and Ajax Script manager to implement … | |
i am doing a prioject on 'courier management system. im planning to use asp.net and mysql...is it appropriate? if i do choose these languages...will i sustain? | |
i wasn't quite sure where to put this, since this is more of an html/encoding question, but since I'm working in .net I figured this is the best place to start... I have a site, and the content-type meta tag is utf-8. I am receiving an rss feed, and am … | |
Well I need ur help as i want to give shortcut link to the button in my asp .net proj like for save button [U]S[/U]AVE (Ctrl + S) . how can i do in my code to get this type of functionality. Thanks... | |
when I'm starting a new project then ASP.NET Web application won't open, It displays this message "Visual Studio.NET cannot create or open the application because no Web server was detected at this URL:'http://localhost/WebApplication1'. Make sure the Web server is installed and running. btw how to install IIS w/o a win … | |
Check the enclosed doc file and help me to solve the following problem. Thanks in advance. [B]"As per my knowledge we can put Allow IP configuration in the webserver either apache or IIS. This would work for browser IP (Client IP). But I would like it to capture the server … | |
Good Afternoon All In all my Application, i used to write my login screen and i will not have a problem. i have inherited the ASP.NET Application that uses a login control. Below are the pics of how it looks here is a code for Forget Password link [CODE] protected … | |
I send mail in asp.net using kerio .It work fine when i use string variable to get id But i use textboxes to get id it gives following err: [code]Read from Stream threw an System.Exception: System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the … | |
I have 2 XML files as follows - one.xml ======= [code=xml]<?xml version="1.0" standalone="yes"?> <CMS> <Episode> <name>Mentor: Communicating Effectively</name> </Episode> <Episode> <name>Facilitator: Managing Conflict</name> </Episode> <Episode> <name>Monitor: Measuring Performance</name> </Episode> </CMS>[/code] two.xml ======= [code=xml]<CMS> <Episode> <eNumber>1</eNumber> <partOne>0</partOne> <partTwo>1</partTwo> </Episode> <Episode> <eNumber>2</eNumber> <partOne>1</partOne> <partTwo>0</partTwo> </Episode> <Episode> <eNumber>3</eNumber> <partOne>0</partOne> <partTwo>1</partTwo> </Episode> </CMS>[/code] Now, … | |
Hi, I have two XML files with different sturctures. Can I merge them into one dataset and how? Further, I want to bind them both to an editable datagrid. I am trying all sorts of options but not getting through. How can I do this? -Aditi | |
I want following code using C# and ASP.NET 2.0? 1. How to read log file which is located in directory(C:\WINDOWS\system32\Logfiles\W3SVC1) using C# and ASP.NET 2.0? 2. How to store the content of that log file in database using SQL Server 2000? Log file contain following information. I want to store … | |
I want to create a list of hyperlink buttons, and the bulleted list should contain some images before the link. For example > how > can > i > get > this So in place of ">" i need different images, how can i do that in Silverlight? Thanks in … | |
how do I send a text file to a printer connected to the client's computer. I have a vb.net app. running currently with internet explorer only browsers. I constructed some texts based on the inputs from the user and need to (a) save it on the client file system (b) … | |
Hello, Hiii everybody, I just want to know that how to fetch the data from remote server in to our application? as we establish the connection with local database, how we can establish connection with the remote server database? i am using Asp.net , C# and Sql Server2005, please help … |
The End.