- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
19 Posted Topics
Re: when you are binding the dropdown from db then after binding the dropdown you should right [CODE]ddlName.Items.Insert(0, new ListItem(Choose, "0"))[/CODE] and dont insert listitem on HTML | |
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: i dont think u should save the prefixes in the array. there are cultures for writing the date are available. you can apply this code [CODE] //For ex., Convert MM/dd/YYYY to dd/MM/yyyy string date = "03/27/2008"; //format is MM/dd/yyyy DateTimeFormatInfo dateTimeFormatterProvider = DateTimeFormatInfo.CurrentInfo.Clone() as DateTimeFormatInfo; dateTimeFormatterProvider.ShortDatePattern = "MM/dd/yyyy"; //source date … | |
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: of course you can do that just bind your gridview again in the button click event after the insert command. and the gridview will show the row which will be added. | |
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: u can write it as ds.rows[0]["columnname"].tostring(); | |
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: if there are already rows exist in your database then there should be a unique id for each record should also be exist. so pass the id to which u want to submit the data and it will be stored at the place where u want to stored. i think … | |
Re: this error occurs when in the table the null value doesn't exist but in the coding side null value passes. so check the table and debug the code with f11 u will surely find out frm where the error occurs | |
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 … |
The End.