- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
Hi again, I need an professional advise how to implement dropdownlist in very professional way. So, my code is: [CODE] <asp:DropDownList id="ddlStudents" runat="server" CssClass="textbox" OnSelectedIndexChanged="ddlStudents_SelectedIndexChanged" AutoPostBack="true" EnableViewState="true"> <asp:ListItem Value="0">Choose</asp:ListItem> </asp:DropDownList> [/CODE] The rest of data I get from SQL DB. Is it the right way to populate the default value … |
|
i am creating a gridview at runtime like this [CODE]DataTable dt = new DataTable(); DataRow dr=null; if (gdvItem_Indent_List.Rows.Count == 0) { dt.Columns.Add("ItemType", System.Type.GetType("System.String")); dt.Columns.Add("Cost", System.Type.GetType("System.String")); dt.Columns.Add("Quantity", System.Type.GetType("System.String")); dr = dt.NewRow(); dr["ItemType"] = ddlItem.SelectedItem.Text; dr["Cost"] = txtEstimateCost.Text; dr["Quantity"] = txtReqQty.Text; dt.Rows.Add(dr); ViewState["ItemData"] = dt; } else { dt = (DataTable)ViewState["ItemData"]; dr … |
|
Re:
Hi, I am trying to make a program which formats the date for the user and verifies leapyears and checks for invalid dates. Below i have worked out the code to calculate leap years. But how would i go about formating the date so for example: If the user entered … |
|
hello to all i am here to clear my one confusion as i am stuck in somewhere logic part. i have four tables in database : state region district circle on page load i have to show the states from the database in the form of checkboxes. and when user … |
|
Re:
I binded the gridview from database with dataset. Now i want to add new row dynamically with already existing gridview when user clicks add button |
|
hello everyone i might sound stupid but i am having syntax error while adding a variable to the xml file while creating it. please tell me the syntax of writing my code here goes my code: [CODE]imgListSrc="glance\\FlashGallery\\resource\\xml\\"\"" + ds.Tables[0].Rows[i]["albumname"].ToString() + "\"\\slide.xml/>"[/CODE] thanks in advance |
|
Re:
[CODE]using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.SqlClient; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { string connectionString; connectionString =("Data Source=INTRANETSERVER1;User ID=sa;Initial Catalog=HrData"); SqlConnection myConnection = new SqlConnection(connectionString); SqlDataAdapter … |
|
hello to all, i have write a code in asp.net to show and hide the div. according to the value in the query string. here is my code: [code] if (Request.QueryString["divid"] != null) { divid =Request.QueryString["divid"].ToString().Trim(); if (divid == "watercalc") { watercalc.Style["display"] = "block"; pregnancycalc.Style["display"] = "none"; heartbeatcalc.Style["display"] = "none"; … |
|
i am new in php so may be my problem could be so easy for u but i m not solve. anyone out there please help me. actually i am creating checkboxes inside the while loop with different id. and a user can check more than one checkbox and when … |
|
after saving a image in a folder at runtime how to get its height and width in asp.net. i am writing this code: string filesavepath = AppDomain.CurrentDomain.BaseDirectory + "\\admin\\fullimages\\"; System.Drawing.Imagefullsizeimg=System.Drawing.Image.FromFile("AppDomain.CurrentDomain.BaseDirectory" + filesavepath ); this code gives me following error: System.NotSupportedException: The given path's format is not supported. i m not … |
|
i am working on a asp.net application. and my problem is i want to show the data i stored in database in hindi characters. what should i do to display the data in hindi characters. |
|
Re:
Hi I have a Senario like this. i have a textbox FCN NUmber. i have entered the text in that textbox and then clicks on Submit. the value should go and store in the Database Row where there is already the values entered like firstname,lastname,mobile,address Etc. the FCN Number should … |
|
Re:
using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.OracleClient; public partial class _Default : System.Web.UI.Page { OracleConnection objConn; OracleCommand objCmd; String strSQL; protected void Page_Load(object sender, EventArgs e) { String strConnString; strConnString = "Data Source=pcrm195;User Id=wllnew;Password=wllnew;"; objConn = new … |
|
How to get .swf file's Height and Width in C# or VB.net Program.Because I want to Load dynamicly a .swf file in my program with Flash File current size. |
|
i m working on a application in asp.net on which i want to apply a dynamic picture gallery. but the problem is i m fetching the thumbnails from the database in repeater and when the user click on the thumbnail image the fullimage of that thumbnail opens in another div … |
|
i am working on a application in which i am storing some images and swf files that is flash. now my problem is how to display flash file at run time.i am unable to apply that code. anyone new about it please help me. thanks in advance. |
|
hello to all when i compile my application it gives a error that is Ticks must be between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks. Parameter name: ticks/ and i dont this error occurs on which page. anyone knows bout this error plz help. thanks |
|
i want to apply onclick event on a image in the repeater. i don't know how to do it. anybody having any idea plz guide me. thanks in advance |
|
hi i m trying a code to execute in order to generate a xml file at runtime. it execute well. but the xml file gives a error as The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the … |