No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Hi all, <a href= "filename.xls" target="_blank">Open Excel</a>; by using above line of code i can able to open the excel file as separate file. But i want to open that excel file with in the same asp.net web page not separately. |
|
Re:
I have a form1 and form2. in form1 there is a textbox which consist any department. and the another textbox consist room related to only these depatment. besides room textbox there is a searchbutton. which opens form2. form 2 consist a gridview. and this grid view should be filled by … |
|
Re:
hi, i wants to ask some string problems, as below: string []first 1 2 3 4 5 1 4 5 1 3 4 5 string second="2 3"; [code] double sum=0; foreach(string a in first) { if( ) // what should i write here? { sum++; } } [/code] In program … |
|
Re:
Hi, i have a user table in backend with many columns n from that i need to user the email id and password for login. I have read the data in my code using a data reader, but am not getting how to match the entered username and password by … |
|
Re:
hi, how to save an image into database. ie how to insert an image into database and how to get the image back. i am using the asp.net(C#.net) and mssql server 2000 . so can u tell me the solution. |
|
Re:
help please, i wish to know the code to redirect to an exsisting open web page from another web page(ie child page want to be closed and control want to be come to parent web form which is already previously opened) |
|
Re:
Guys i need to validate a menu item on my ASP.NET application. The menu item has 4 links (Home, News, About us and Contact us) one of them "News" must not redirect to page if the user has not log on, the other three can redirect even if the user … |
|
Re:
Hi, I have been using asp.net for a short period of time now and really enjoy the functionality offered by visual studio. However I see there is no automated way of generating a search of a datagrid. What i want to do is simple take the string from a textbot … |
|
Re:
I have one custom validator, one textbox & one button..I m checking the length of data entered in textbox. VB CODE [code] <asp:CustomValidator ID="CustomValidator1" runat="server" OnServerValidate="ValidateThis" ErrorMessage="The username must be 8" ControlToValidate="TextBox4"></asp:CustomValidator></td> [/code] [code] <%@ 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"> <script … |
|
Re:
[CODE]"SELECT * FROM tblKalender order by datum asc where datum > '" + Format(System.DateTime.Now, "MM-dd-yy") + "'"[/CODE] |
|
Re:
Hi peoples, I have a textbox: [code=asp.net]<asp:TextBox ID="TextBoxFirstName" runat="server"> </asp:TextBox>[/code] I need to make sure that it captures data for a first name allowing letters from a-z, A-Z and special characters like - (dash) and the space characters. The validator will block all other characters. How do I go about … |
|
Re:
Hey Guys, I have a details view bounded with a sqldatasource. I want to calculate the the total no of entries in details view and show it to the user. Please tell me how to do this?? |
|
Re:
Hi all, I am beginner learning ASP.NET with C# as the programming language. Currently I am working with HTTPSERVERUTILITY. I have created a web form named as Default.aspx and Default2.aspx: I have written the following coding : Default.aspx: In source view [code] <body> <form id="form1" runat="server"> <div> <asp:Button ID="Button1" runat="server" … |
|
Re:
Hey Guys, I have a textbox which had readonly property set to true. This textbox is used to take LongDate as it's input from a pop up calender. When i click on the button, it gives an error "String was not recognised as valid datetime" But when i set the … |
|
Re:
Hi, this is really a beginner question: when I start debuging an ASP.net projet in VS, IE opens up to display the Default.aspx webpage and the following URL is in the adress bar: [url]http://localhost:52480/Default.aspx[/url]. My page including C# codebehind controllers works fine. If I stop debbuging and I try to … |
|
Re:
Hey Guys, Is there any problem in the following code: [code]TextBox test = (TextBox)Page.PreviousPage.FindControl("search"); if (PreviousPage != null) { if (PreviousPage.IsCrossPagePostBack == true) { Label1.Text = test.Text; } } else { Label1.Text = "Not a cross-page post."; }[/code] |
|
Re:
Alright, so right now I have a GridView on my aspx page. It is set to run a stored procedure, get some data and display it. The parameter for the stored proc is set to come in through a query string. So the sqldatasource atuomatically looks for a query string … |
|
Re:
Hey guys, How do you set the forecolor of a label progmatically??? |