Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~5K People Reached
Favorite Forums
Favorite Tags
Member Avatar for sniigg

Hi, I want to generate an anchor tag <a href="#" class="close"><img src="resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a> in code behind using c#...but dunno how to do....

Member Avatar for pritaeas
0
1K
Member Avatar for sniigg

Hi, I have [code] SessionData sdc = new SessionData(); [/code] And all the properties of sdc are stored in a table in sql server. I want to retrieve the properties of the sdc dynamically. And i know [code] sdc. reader1["xmlname"]= [/code] is a wrong way of doing it. So can …

Member Avatar for sniigg
0
109
Member Avatar for sniigg

Hi all, I am creating a checkbox dynamically on page load. [code] using (SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["SimplifyNew"].ToString())) { SqlCommand cmd = new SqlCommand("usp_selectModifiedResults", conn); cmd.CommandType = CommandType.StoredProcedure; conn.Open(); SqlDataReader reader1 = cmd.ExecuteReader(); while( reader1.Read()) { System.Web.UI.HtmlControls.HtmlGenericControl DivCheck = new System.Web.UI.HtmlControls.HtmlGenericControl("DIV"); DivCheck.Style.Add("float","left"); CheckBox cb = new CheckBox(); DivCheck.Controls.Add(cb); bradbandPanelTarget.Controls.Add(DivCheck); cb.ID …

Member Avatar for reach_yousuf
0
273
Member Avatar for sniigg

Hi, I have a html document when i run in Internet explorer i am getting the desired output(j query working fine). But i copy pasted the same code in aspx page...the same code is not working properly...

Member Avatar for sniigg
0
196
Member Avatar for pritaeas

I can reproduce this bug in IE7 (and a colleague in IE6), my link is here: [url]http://www.pritaeas.net/tools/linkfarm/[/url] If you select a tag the list gets filtered and the tag added to the selected div. Unselecting it will reset the taglist, and remove() the tag from the selected div. Selecting another …

Member Avatar for pritaeas
0
297
Member Avatar for sniigg

Hi, In my application I have <li>s and I am using Jquery to remove a particular <li> The code I am using is [code] $(".close").click( function() { $(this).parent().remove()// Links with the class "close" will close parent return false; } ); [/code] Using this I am successfully able to remove a …

Member Avatar for Airshow
0
2K
Member Avatar for sniigg

[code] foreach (string id in str1) { string logoImage = ""; string BundleID = id; BundleSearchResultStruct BundleSearchResult = nbsi.GetProductDetails(guid, "marketingPartnerPassword", Convert.ToInt32(BundleID)); string y = builder1.Append(BundleSearchResult).Append(",").ToString(); y = y.TrimEnd(','); Session["BundleSearchResult"] = y; //some code relevent only to this block } while (reader1.Read()) { //do something foreach (string id in str1) { …

Member Avatar for sniigg
0
93
Member Avatar for sniigg

Hi, In my application, The user compares few products and clicks on the save button. 1. The comparison should get saved in the db with unique Id. 2. It should generate an URL and present it to the user which shows the saved comparison . I have finished the first …

Member Avatar for reach_yousuf
0
56
Member Avatar for sniigg

I have a piece of code which is used by several aspx.cs pages and I want to put that code in a separate page so that all these pages access that separate page. I dont think i can use classes for this....

Member Avatar for amitshrivas
0
97
Member Avatar for sniigg

Hi All, I am getting the error "There is already an open DataReader associated with this Command which must be closed first. " [code] protected void Page_Load(object sender, EventArgs e) { nbseapi nbsi = new nbseapi(); Guid guid = new Guid(); if (Request.QueryString["Id"] != null) { string Id = Request.QueryString["Id"]; …

Member Avatar for sniigg
0
267
Member Avatar for sniigg

Hi, In my database table I have a column which has all the properties of a class. And While reading from the table I need to get the values of the properties.I have to get the value on a label.But obviously [code] lblTest.Text=reader["Description"].ToString(); [/code] wont work. As I need to …

Member Avatar for sniigg
0
83