- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 5
- Posts with Upvotes
- 4
- Upvoting Members
- 5
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
254 Posted Topics
Re: hi, may be your dropdownlist values are concatenating with previous values.check that once.did u assign appenddataitems to true for the droddownlist.i would like to see u r code to help u more. | |
Re: hi, You can use modal pop up extender from ajax.check this link [url]http://www.aspdotnetcodes.com/Ajax_ModalPopup_PostBack_GridView.aspx[/url] | |
hi, i have a asp page in which iam using iframe to load a aspx page,but it is taking long time to load a page,so we r using div tag to load a page.is this possible to load a page using div.whats the javascript to load a page using div … | |
Re: the methodu u used is obselete in case of asp.net 2.0 ,u should javascript like this [code] ClientScript.RegisterStartupScript(this.GetType(), "msg", "<script> alert('Machine Details Added Successfully!'); </script>"); [/code] | |
Re: hi, iam aslo having the same query.can u post the code u have vb.net and msacces. waiting for u r reply | |
| |
Re: it s very using java script write javascript for the button u want to print function printpage() { window.print(); } add attributes to the print button and call javascript using that | |
Re: wat exactly do u want,items from listbox in one page should be available in another page or items should be transfered to the same page.if u wantt to transfer items in the same page use add function for the next datalist | |
Re: u can use this query select * from customers_table where cust_id='"+txtcustbox.texxt+"' | |
hi everyone , I have a gridview like this id name country 1 test testcountry 2 test1 testtere I have to print total pages containing page 1 -------- id---1 name--test country-- test more columns-trtrtytr page 2 -------- id---2 name--test1 country-- testtere more columns-trtrtytr in each page we have more columns … | |
Re: hi by using filename you will get full path.test like this [code] if (fileup1.HasFile) { Response.Write(fileup1.PostedFile.FileName); } [/code] | |
Re: u can just retrieve the value from database and store it in a session and use it to get the location in file upload | |
Re: u have to use row command event to achieve this functionality. | |
Re: hi tuse, i have seen u r web link and downloaded u r project.I am getting error in web.config as "Child nodes not allowed." | |
Hi everyone, I have a requirement where I need to generate a pdf doc.I am using itextlibrary for that condition.I am able to generate pdf doc but alignment is not correct.The table is getting divided in to two equal parts in pdf doc for what ever width I specify.How to … | |
Re: hi, why you want to restrict users to access database.you can achieve the same functionality using asp.net | |
Re: hii, u can use "select" query with "where" condition to get data from the database.the condition should be train no,if u have table in oracle contianing trainno and routes of that specified train no as columns .u can display this data in the form of a datagrid,there are many controls … | |
Re: hi, you can use a hyperlink to achieve your functionality [code] <asp:TemplateColumn HeaderText="Order"> <ItemTemplate> <asp:Hyperlink runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"OrderID")%>' NavigateUrl='<%# "page.aspx?Orderid=" + DataBinder.Eval(Container.DataItem,"Orderid") + "&ProductID=" + DataBinder.Eval(Container.DataItem,"ProductID")%>' ID="Hyperlink1" NAME="Hyperlink1"/> </ItemTemplate> </asp:TemplateColumn> [/code] | |
Re: hope this helps [url]http://www.asp.net/learn/ajax-videos/video-82.aspx[/url] | |
hii every one, i have an application containing data list. datalist contains radio button as item template.i want only one radio button to be checked ie when the user clicks on one checkbox the other checkboxes should be unchecked.i have used groupname ,but no use .can any one give the … | |
hi, iam using the following javascript a page opener.location.reload( true ); but every time the page reloads iam a getting alert message. How can i reload a page with out a alert message | |
Hi everone, i have a table containing employees in and out dates of a project containing sat and sun.i want to remove sat and sun and display results.how to achieve this. | |
Re: if u can use datagrid in that application ,its a better choice for ur requirement. | |
Re: Hi, Are you using URL mapping and if not you need to send the page name [code] http//:www.buygoods.com/buy.aspx?email='"+me.txtemail+"' and retrieve it as string str=request.QueryString["email"]; [/code] | |
| |
Re: hi, These are the websites you can use to learn asp.net [url]http://www.asp.net/get-started/[/url] [url]www.w3schools.com[/url] [url]www.codeproject.com[/url] [url]www.4guysfromrolla.com[/url] | |
Re: Hi, If you are using file upload control then you can't upload files having size more than 4 mb.If you want to increase size limit make these changes in web.config file [code] <system.web> <httpRuntime maxRequestLength="22000"//depends on the size executionTimeout="300"//max time to excute this request></httpRuntime> </system.web> [/code] | |
Re: Hi, Just write a update query containing the fields you want to update and run the query. | |
Re: hi, check this link [url]http://www.dotnet-friends.com/Articles/ASP/ARTinASPffb8509f-5dc4-4765-9c25-cb2087a5994d.aspx[/url] | |
Re: Hi, Do you want to generate sql script for a database table in sql server 2005 ,then follow these steps 1.open microsoft sql sever 2005 2.open management studio express 3.go to your database 4.right click on the table you want to generate script 5. go to option "script table as" … | |
Re: Hi, Where did you bind the dropdownlist it have binded the dropdownlist in page load you can use this javascript [code] window.opener.refresh(); [/code] or You can try like this in child page [code] ClientScript.RegisterStartupScript(this.GetType(), "msg", "alert(' Details Added Successfully!');window.close();window.opener.__doPostBack('ChildWindowPostBack', '');", true);[/code] in parent page: [code] this.ClientScript.GetPostBackEventReference(this, string.Empty); if (this.IsPostBack) { … | |
Re: Hi, If your problem is solved mark this thread as solved so that fellow posters can concentrate on other posts. | |
Re: Hi, In the button click event update the database with the testbox values and assign the datatable to the gridview. | |
Re: Hi, The previous poster suggested to place the code he gave in to gridview not outside it. | |
Re: hi, check this code [code] <asp:DropDownList ID="ddlist" runat="server" ></asp:DropDownList> protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { binddropdown(); } } public void binddropdown() { SqlConnection conn = new SqlConnection("Data Source='localhost';Initial Catalog='Northwind';Integrated Security=SSPI;Persist Security Info=False "); SqlDataAdapter da = new SqlDataAdapter("", conn); da.SelectCommand = new SqlCommand("select CategoryName,CategoryID from Categories", … | |
Re: Hi, we use [code] '"&TextBox1.Text&"' for vb '"+TextBox1.Text+"' for c# [/code] | |
Re: Hi, First you need to have a login table to store user data like userid and username. In the login page create a [code] session["userid"]. [/code] In this session assign the user name from login table when a user logs in and check this session in every page of your … | |
Re: Hi, you can learn asp.net from the following links [url]www.asp.net//official[/url] microsoft site [url]www.w3schools.com[/url] | |
Re: Hi, check this links [url]www.asp.net[/url] [url]www.w3schools.com[/url] | |
Re: Hi, I didnt get you completely but as far i understand you .It can be achieved by using a session and storing the employee guid ,so that it can be used in other pages. | |
Re: Hi, You can achieve that functionality using different ways like css,javascript and asp.net.Using asp.net you can achieve that functionality by having a datalist to display your images and a pop up extender to diaplay your image. | |
Re: Hi, After you build a website web.config will be automatically displayed. | |
Re: Hi, You didnt assign navigation url to hyperlink ,that's the reason why its not firing. | |
Re: Hi, You can use outlook to send mails using asp.net as follows [code] <a href='mailto:<%#DataBinder.Eval(Container,"DataItem.EMAILID")%>'> <%#DataBinder.Eval(Container,"DataItem.EMAILID")%> </a> [/code] | |
Re: hi, Can you show your full code. | |
Re: hi, if you want to display data in tabular format you can go for gridview /datagrid if you want to custom format display you can go for repeater/datalist we can help more if you say what type of format you want. | |
Re: hi, you can achieve that functionality using cross post back feature in asp.net 2.0. you can search google for info on cross post back. | |
Re: hi, check this links [url]http://www.beansoftware.com/ASP.NET-Tutorials/Bar-Pie-Chart.aspx[/url] [url]http://authors.aspalliance.com/jnuckolls/Articles/ASPCharts/default.aspx[/url] | |
Re: Hi, U didnt specify exactly wat u r problem was,but from my previous experience i had problem with radio button in a grid view.I wanted the radiobuttons to be under one group name and that task was not accomplished.I have used the following threads to solve the problem,hope they are … | |
Re: hi, thru code in ado.net you can use this achieve the same. try like this [code] public static int GetMax_ID() { if (!connected) Connect(); SqlDataAdapter da = new SqlDataAdapter("", conn); string query = "SELECT MAX(ID) FROM CATEGORIES"; da.SelectCommand = new SqlCommand(query, conn); try { return (int)da.SelectCommand.ExecuteScalar(); } catch (InvalidCastException ex) … |
The End.