Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~3K People Reached
Favorite Tags
Member Avatar for Nfurman

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 …

Member Avatar for Nfurman
0
101
Member Avatar for malashukla

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 …

Member Avatar for pinkygirl
0
68
Member Avatar for gunnerone

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 …

Member Avatar for gunnerone
0
123
Member Avatar for malashukla

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 …

Member Avatar for malashukla
0
89
Member Avatar for haripriyamca05

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

Member Avatar for malashukla
0
92
Member Avatar for malashukla

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

Member Avatar for vuyiswamb
0
67
Member Avatar for snehalj

[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 …

Member Avatar for snehalj
0
510
Member Avatar for malashukla

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"; …

Member Avatar for croker10
0
203
Member Avatar for malashukla

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 …

Member Avatar for pssubash
0
97
Member Avatar for malashukla

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 …

Member Avatar for malashukla
0
208
Member Avatar for malashukla

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.

Member Avatar for dnanetwork
1
151
Member Avatar for queryme

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 …

Member Avatar for malashukla
0
71
Member Avatar for ayeshakhan

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 …

Member Avatar for malashukla
0
256
Member Avatar for malashukla

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.

Member Avatar for kmrameshkumar
0
190
Member Avatar for malashukla

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 …

0
59
Member Avatar for malashukla

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.

0
65
Member Avatar for malashukla

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

Member Avatar for Lusiphur
0
67
Member Avatar for malashukla

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

Member Avatar for malashukla
0
453
Member Avatar for malashukla

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 …

0
71