13,936 Topics
![]() | |
Hey Guys I need to be able to select or hightlight datagrid row when a user place a mouse on certain record then, he/she can be able to click delete or edit button to delete the selected row or edit the selected row, can anyone tell me how to do … | |
hi there, i am having problem with my codes. im getting this error, 'Name 'reader' is not declared'. please help. [code][B][COLOR="Green"]reader = con2.ExecuteReader()[/COLOR][/B] [B][COLOR="green"] reader.Read [/COLOR][/B] Protected Function SiteSpecificAuthenticationMethod(ByVal UserName As String, ByVal Password As String) As Boolean Dim log_statement As String = "SELECT * FROM [user] where username='" & … | |
Hello, I want some asp.net projects with source code for reference.My database is SQL Server 2005. Please help me out. | |
Hi friends i m using asp.net 2005 ,i have used a crystal report in my web site,& i have design my report in that but now i want size of that report is (3 inches & 30 columns) ,i mean that must not use a-4 paper ,that must use size … | |
Hello everybody, i'm beginner. I have a problem: I have this code: [code]<cc1:Accordion ID="Accordion2" runat="server" SelectedIndex="0" FadeTransitions="true" FramesPerSecond="40" TransitionDuration="250" AutoSize="None" D[B]ataSourceID="SqlDataSource1"[/B] ContentCssClass="Content" HeaderCssClass="HEADER"> ... ... </cc1:Accordion>[/code] The code inside of Accordion is executed for each row of SqlDataSource1. I'd like if it is possible get actually row of SqlDataSource1 that … | |
First , i want ask you excuses for my bad english. Well, i'm a beginner in c# but i need it to my work in this time. I have a SqlDataSource1 with "SELECT field1 from table1" I have an Accordion linked with SqlDataSource1, and inside of Accordion1 i have a … | |
Hi...new here. :) Trying a sql insert inside a foreach loop, getting "Variable name has already been declared...must be unique" error. I think the structure of my code or my parameter statements are incorrect. Any help would be greatly appreciated! Thanks! [code] // open connection mySqlConnection.Open(); //enumerate the items in … | |
Hi, i hope someone can help me. i want to create a forum (think i should call it a forum. it is just going to be one page where people can add their thoughts or compliments or suggestions). I'm going to use mySQL and Asp.Net C#, but don't really have … | |
Hi, I have a list page which contains few drop down lists and text boxes used for filter and a gridview. The user enters the filter criteria and then clicks on "Search" button, gridview gets loaded based on search criteria and displays it. I am using object data source with … | |
Hi, I am coming up with a calendar.I am using ASP.net with C#.I am having using a .ascx file format. i am getting an error on the 10th line. it shows CS1001:identifier expected. i am not sure of what to do. Please guide me of my mistake. im using Visual … | |
I have a Gridview having 3 columns in which i took checkbox,label and label as item templates for columns select,code,name respectively. ecode column is not editable.Button edit and update are present outside of gridview. i can edit multiple rows like this... when i select checkbox in 1st row of gridview … | |
here is the problem, i wanted to create a login page, where in when a given username and password is created it should directly to the webpage showing the details. but if i give any other username and password it should be directed to the member sign in page. the … | |
[U]users table[/U] userid PK + autoincrement name surname i wrote a procedure [ICODE]ALTER PROCEDURE insertUser @userid int, @name varchar(50), @surname varchar(50), AS SET NOCOUNT ON insert into users (userid,name,surname) values (@userid,@name,@surname,)[/ICODE] in aspx file i write [ICODE] cmd.Parameters.AddWithValue("@userid", ????????); cmd.Parameters.AddWithValue("@name", TextBox2.Text); cmd.Parameters.AddWithValue("@surname", TextBox3.Text);[/ICODE] what can i assign for userid column … | |
hi everybody, i should hav atleat 1 numerical character and 1 special character with alphabets can anybody please help me for this thanx regards, seetha. | |
i have multiple checkboxes on my form.i am trying to add them with stored procedure but it gives me [I]Procedure or function konut_ekle has too many arguments specified [/I] [CODE] protected void Button1_Click1(object sender, EventArgs e) { SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["connectionString"].ConnectionString); SqlCommand cmd; con.Open(); string cmdstr = "konut_ekle"; cmd … | |
Hi all, I have one scenario. I have converted some pdf, ppt and doc files into html. Since they were converted from different formats they are not simple plain html files. They do contain frames and some special tags or formats. So representing them simply in the aspx pages could … | |
Hi everyone, I would like to set a label's text when a dropdownlist item is selected I want the label to display the value of the item, not the text. Is there any way i can do so without refreshing the page i found the update panel loads far too … | |
when i click on the treeview the page gets refresh and the control wont go to roottree_SelectedNodeChanged Plz anyone help me...... [code]/* Document */ private void GenerateMarksTree(StudentManagement.Student stud) { TreeView roottree = new TreeView(); roottree.ForeColor = Color.Black; roottree.ShowLines = true; TreeNode root = new TreeNode(); root.Text = stud.Branch.ToString(); root.Value = … | |
Hi, I have a question, I would like to know how can I add pictures to my datagrid? On my DB I have all images path ex.(/images/image001.jpg), is there a way that I can display that picture in the datagrid. Thank You Ennio Bozzetti | |
Hi fellas I'm having problem in querying ArrayList with Linq. I'm using VS2005. I installed Linq Preview (May 2006) setup to enable Linq in VS-2005. I created a Linq ASP.NET WebSite Template and wrote the following code. [CODE]using System; using System.Data; using System.Data.DLinq; using System.Configuration; using System.Collections; using System.Collections.Generic; using … | |
Hello folks, I need to create a html table dynamically, so I used HtmlTable and HtmlTableCell ... but I need to put inside a HtmlTableCell another HtmlTable object, so the structure will be: HtmlTable | ---HtmlTableRow | ---HtmlTableCell | ---HtmlTable I hope someone could help me Thanks Omar | |
Hi, I m getting this compiling error in asp.net .. "Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\needsunlimited\a2548f63\3bfeee38\App_Web_eg94tkhh.dll' -- 'Access is denied. '" Please any Help me.. | |
Hello all. I wasn't sure if I should post this here or under DB? I'm a PHP user that is new to C#/ASP.NET/MS SQL. I have a table with rows of string values (not sure why they were made strings as they are numbers but thats what they are). I … | |
Hi I wonder if anyone can help? I am new to Visual Web Developer and .NET I am trying to get the pc name from its IP, I have code to get ip from pc name : [code] Protected Sub DNSLookup(ByVal IPAddress As String) Try 'performs the DNS lookup Dim … | |
I am writing a program that has a sort of login window, i was looking for a way to resize the window so that it doesn't open so big with empty space. Any help is appreciated | |
Hi, Does anyone know how to run an external program from ASP.NET. The System.Diagnostics.Process or Shell() functions do not work for opening GUI applications like NotePad. I need my ASP.NET web form to open a Windows application that we be installed on the Client. Any ideas? Thanks, Mike | |
Hi All I want to have a dynamically generated menu from a dynamically generated web.sitemap file which gets populated from the database. Is it possible. Your help is greatly appreciated. Thanks Ansari | |
Hello all...my first official post (after the introduction) I'm relatively new in the area of C# (some PHP experience) and I'm hoping someone can help me. I have 2 arrays of variable lengths, with int data in them. Something like this: FreeNumbers = 1,2,3,4,5 UsedNumbers = 1,2 I want to … | |
[B]Hi[/B] I have some problem w3wp.exe that uses 99% cpu for a lot of time. At the time i was Restarted my server the issue occurs ..I need some help from else.. Thanks sasi kumar <URL SNIPPED> | |
hello sir i am having the problem in auto number in asp.net 3.5 with oracle 9i as back end .how to increment the no.in the asp.net 3.5 please suggest some solution its urgent. | |
I have encountered this error message while trying to print the report. The error message is as below: Query Engine Error: 'C:\WINDOWS\TEMP\temp_6b2987aa-9743-44b7-8a63-a14f4a186b44.rpt' Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated … | |
Hello, I have an SQL server 2005 database/table with a name and email columns. I was wondering what would be the best way to get the data from sql and send automatic emails using a web based form in asp.net lets say every month...is there any samples of such procedure … | |
Good Morning All i have a Ultrawebgrid defined like this [code] <igtbl:UltraWebGrid ID="ultraGridStudentsMixTypes" runat="server" Style="left: -8px; top: 375px" OnInitializeLayout="ultraGridStudentsMixTypes_InitializeLayout" OnDataBound="ultraGridStudentsMixTypes_DataBound" OnSelectedRowsChange="ultraGridStudentsMixTypes_SelectedRowsChange"> <Bands> <igtbl:UltraGridBand> <RowEditTemplate> <br /> <p align="center"> <input id="igtbl_reOkBtn" onclick="igtbl_gRowEditButtonClick(event);" style="width: 50px" type="button" value="OK" /> <input id="igtbl_reCancelBtn" onclick="igtbl_gRowEditButtonClick(event);" style="width: 50px" type="button" value="Cancel" /></p> </RowEditTemplate> <RowTemplateStyle BackColor="Window" BorderColor="Window" BorderStyle="Ridge"> <BorderDetails … | |
Hello friends, my problem goes here, i have two aspx pages, lets say A.aspx and B.aspx. B.aspx contains information comming from database. when user clicks btnShow on A.aspx B.aspx is displayed with all the information from database on run time. i want to display B.aspx as pdf formate in browser. … | |
The configuration in our setup is one Web Server and one database server running SQL Server. With the current connection string it works. Recently we moved the database server to another machine with a different ip but with the same name. We used the name and not the ip in … | |
Hello, My problem is : I have a .aspx page where I use a ScriptManager and a UpdatePanel. In the update panel I generate controls based on user interactions. My problem is this : when I add dynamically the CustomControl (.ascx page ) in the UpdatePanel ( the CustomControl has … | |
hi, there .i am coming up with a login page authentication, however i am getting this error that says[B] 'Type SQl.Data.SqlClient.SqlDataReadercon1 is not defined '[/B] [code] [B]Dim reader As System.Data.SqlClient.SqlDataReadercon1 [/B] <%@ Page Language="VB" MasterPageFile="~/CouierMasterPage.master" Title="Untitled Page" %> <%@ Import Namespace="System.Data.OleDB" %> <%@ Import Namespace="System.ComponentModel" %> <%@ import namespace="system.web.security" %> … | |
I have a master page with a treeview and I want to pass the onlick node value to a select statement that exists in the content page(in an sqldatasource control). How can I do that? | |
Hey guys, I am intrested in making a web application. I wanted to ask whether ASP.NET is sufficient or should i learn any other language in .NET like C#?? Will ASP.NET be sufficient in making a web application??? | |
hello everybody nice to be in the community i have question regarding micrsoft visual 2008 i'm using asp.net with c# and i want to connect asp.net with access db 2007 i used select command and it worked it shows the data from access 2007 but when i tried to use … | |
[B]My web server is hacked and here is some info =, which may help in rectifying. as per my investigation, the port 80 data is corrupted. Please guide me how to secure and fix it the problem is.[/B] When i am trying to access my server through web browser from … | |
Dear all, I used to use pure ASP.Net code like this : [CODE] Protected Sub CmdLocateCustomer_Click(ByVal sender As Object, ByVal e As System.EventArgs) Dim S As String If TxtCustomerID.Text.Trim = "" Then S = "<SCRIPT>var w = 0, h = 0;if (document.all || document.layers) { w = screen.availWidth; h = … | |
hi, i installed microsoft visual 2008 for c# and asp.net and i was searching in toolbox the oledbdata adapter but i can't see it how can i find it and activate it any help plz? thank you | |
Hi Friends, I have a web Application created, there is an option to Add/Edit the forms. My requirement is something like... When a user opens any record for editing, the details are displayed(binded) in texboxes,dropdowns,radiobuttons.. etc Here if the user modifies any data and clicks on any other link(within the … | |
Hi everybody I have coded a LINQ SiteMapProvider for my ASP.NET site. The site pages info is stored in a MSSQL database. When I make changes to the SitePAges table, the SiteMap does not reset. Here is my code[CODE]Public Overrides Function BuildSiteMap() As System.Web.SiteMapNode If RootMapNode IsNot Nothing Then Return … | |
Hey frnds i want an Youtube lik Flv Player to play flv files on my website. I did tried ASPNETFLASHVIDEO bt was nt satisfied with its performance... Please help me out .... thnx | |
I was wondering if anyone could give me the code for email validation on a textbox named, txtEmail. I would like to inform the user that they have not entered a valid email address via a message box and not allow them to proceed until it is correct.. Regular expression … | |
Hi Friends, I am using Ajax AutoCompleteExtender for my search results(autoSuggest). The Control works fine and I could get the results coming from WebService in Panel with scrollable option. But I need the results shown are formatted as columnwise for ex : Name | Address | Phone# | EmailId with … | |
Hello, i'm a beginner and i'm creating a guestbook in asp.net with XML. i have the following: my aspx page: [code=asp.net] Name: <%#DataBinder.Eval(Container.DataItem, "name")%><br /> E-mail: <a href="mailto:<%# DataBinder.Eval(Container.DataItem, "email") %>"><%# DataBinder.Eval(Container.DataItem, "email") %></a><br /> Location: <%# DataBinder.Eval(Container.DataItem, "location") %><br /> Date: <%# DataBinder.Eval(Container.DataItem, "date") %><br /> <i><%# DataBinder.Eval(Container.DataItem, "entry_Text") … |
The End.