13,153 Topics
| |
hi all, i am new to asp and i have a problem in editing the data...here is the code can someone please help... [ICODE]protected void Page_Load(object sender, EventArgs e) { if (Session["admin"] == null) { Response.Redirect("Default.aspx?msg=1"); } if (Request.QueryString["id"] != null) { SqlConnection conn = new SqlConnection(); conn.ConnectionString = helper.ConnectionString; … | |
hi everyone i want a solution for this. i tried to check a all data from datbase table using dataset with a foreach loop. but this logic check only first row not below that so any one help me to solve this problem so i can check all rows from … | |
I want to bring data from certain cells in an Excel workbook into a datatable. The Excel is 97 - 2003 and is in \Box_zero.xls. The code snippet below gives an error "Could not find installable ISAM". From what I see in the literature, this error often means that there … | |
hi I am using auto complete extender and it is not working in Web user Control . But Working in Web form Please give its solution ASAP. Cs Code [code] [System.Web.Services.WebMethod] public static string[] GetSuggestions(string prefixText, int count) { MyDatabaseDataContext db = new MyDatabaseDataContext(); return db.Movies .Where( m => m.Title.StartsWith(prefixText) … | |
Hi, is there some way to close the window after clicking the button on webpage? I found some examples in VB.net, but I want to make it using C#... S | |
hi all..i'm new in asp.net can you show me a code to using search button, please? i'm using c# and linq sql.. this is very urgent.. :( | |
How Can crate A Slide Show in asp.net page using java script and image is inside the sql database | |
Hi all.. i have button save. when i click the button, i should Response.Redirect("~/Admin/DaftarUser.aspx") but i must double click to do that? whats wrong? | |
From Where i can get the free menu bar styles for using in my site plz help me ........... | |
I have a Gridview control on an .aspx page. what is the first gridview control event, that gets triggered/fired. The gridview control has boundcolumns. I have configured the selectcommand in the .aspx page to pull the data from database as shown below: [CODE]<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionStringff %>" ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName … | |
HI, I have developed a website and hosted in godaddy and it works fine. Now my client wants it in cloud computing in ([url]www.salesforce.com[/url]). How can I deploy my existing web-site to salesforce cloud computing. I have searched it fro last 2 days but not getting any idea and there … | |
Hi, I am creating a resume page in which i am not creating a field for the primary key. So for editing that page i have to get the details to the textboxes based on the resume id ie the primary key. The primary key is auto increment. How can … | |
hi , i have a field in a table with the datatype as datetime. i wrote a query to get that feild but the thing is i want only the date to be displayed, how can i do that, currently the date and the time is being is displayed, how … | |
I'm looking to create identical sets of controls right under each other after the user clicks a button. What I have here is replacing the same set of controls over and over again. Any help would be appreciated it! [CODE] Imports System.Data.SqlClient Imports System.Data Imports System.Net.Mail Imports System.Web.UI.Page Imports System.Web.UI.WebControls … | |
Helllo there I am new to programming i am trying to update my checkbox column in a gridview (asp.net)which i cont I can able to get the data 1 or 0 in database and able to update the checkbox as checked or unchecked my code is [code] <asp:TemplateField HeaderText="Available" SortExpression="Available"> … | |
I am having the same problem, I'm using aspnet.mdf (auto-generated by asp.net) any help would be great! thanks in advance! | |
Hello Friends, I am new with asp.net.How to use mysql backend in asp.net please answer with code example. | |
Hi, I've built a website which acts as an online book store. Customers can log in and view books which are displayed in GridView1 which is linked to an sql database. I now need to build a shopping cart feature which will allow them to add books from the GridView1 … | |
Hi, I have a question regarding navigating to a listbox item in C#. I have written code which populates a listbox from an xml file in xaml (thus bound to it). However I want to navigate to the selected item in the listbox using code in c#. I can navigate … | |
Good afternoon, I have a problem... Else I wouldn't be posting here, right? My quandary is thus: I have an empty table in a database that I want a user to be able to fill. This will occur when employees are replaced for sick leaves, etc. I'd like to be … | |
hi all.. i really need your help to solve my problem.. this is the scenario : first, user choose link "detail" at document table.in that detail,i have a hyperlink "comment". in aspx i wrote this code : [code] <a href="ShowComment.aspx?id_document=<%#Eval("id_document") %> ">Comment</a> [/code] id_document is value of query string from … | |
hi i had build Arabic web site in asp.net and i set the culture to ar-iq and uiculture to ar-iq and set globalization in web.config to windows-1256 then i added tags <META CONTENT=TEXT/HTML; CHARSET=WINDOWS-1256_ HTTP-EQUIV=CONTENT-TYPE> it work fine in local computer but when i published to remote host its appear … | |
| |
hi.. anyone can help me to convert asp.net program to pdf? before this i'm using this code [CODE]private void ExportGridView() { string attachment = "attachment; filename=Contacts.xls"; Response.ClearContent(); Response.AddHeader("content-disposition", attachment); Response.ContentType = "application/ms-excel"; StringWriter sw = new StringWriter(); HtmlTextWriter htw = new HtmlTextWriter(sw); GridView1.RenderControl(htw); Response.Write(sw.ToString()); Response.End(); }[/CODE] to convert to excel.. … | |
i have one window application developed in VS 2005 which is running successfully on client side,My question is that now i want to convert this window application in WPF browser based application, so what should i keep in mind to convert this application to wpf applicaton, One more thing that … | |
Hi every body, I have a big problem, well my problem is i have a collection of .PST file in my hard drive now i have to write a programme using vb.Net to READ .PST files ! basically i need to be able to read the content of the .PST … | |
Hi guys. I have an ASP.Net assignment to do and need some assistance if possible. I previously read a post from a person with the same assignment but this is for ASP.Net LINQ to SQL not windows form. The following is my code forthe batting average. Code-Behind [code] private void … | |
see the link [URL="http://www.gfln.org/Regsiteration.aspx"]http://www.gfln.org/Regsiteration.aspx[/URL] and click on radio button from 1 to 7 IE produces div (as many as clicked) but in forefox it got some how hang .please post back me if i need explain any thing else in my problem any urgent reply is highly appreciated | |
Hello, I want to give alert on click of button my codes is [CODE] Protected Sub BTN_SAVE_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles BTN_SAVE.Click Response.Write("<script>alert('hello')</script>") End Sub [/CODE] But after clicking it is giving alert message. why? Alok Shrivastava |
The End.