<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:ec="http://www.eggheadcafe.com" version="2.0"><channel><title>eggheadcafe.com All Unanswered Messageboard Posts</title><link>http://www.eggheadcafe.com</link><pubDate>Sun, 27 May 2012 12:54:37 GMT</pubDate><description>EggHeadCafe - The .NET developer's portal of choice</description><language>en-us</language><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/EggheadcafecomNewQuestions" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="eggheadcafecomnewquestions" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><title><![CDATA[What is behind unsubscribe link for deactivating a subscription?]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10452467/what-is-behind-unsubscribe-link-for-deactivating-a-subscription.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10452467/what-is-behind-unsubscribe-link-for-deactivating-a-subscription.aspx]]></link><description><![CDATA[I have an asp.net application that members use to create their member account and the same aplication generates subscription information at account creation and stores it in a subscription table with status unabled. After, it sends to the e-mail the user used&nbsp;when creating the account,&nbsp;the "we have auto subscribed you for free newsletter..." information and I include a link for them to unsubscribe. <br />
Basically for account creation it uses email and password. When the account is created, my application knows how to send the auto subscription information&nbsp;to the e-mail the user has supplied when creating a member account.<br />
The problem is I do not&nbsp;know the c# code that I shall use so that when a user clicks on unsubscribe link in his e-mail, and my server is hit by this request, gets to know what user row it must set the subscription row status to desabled. The web server stores information in SQL SERVER.<br />
Can anyone help me with this?<br />
Please help.<br />
<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10452467/what-is-behind-unsubscribe-link-for-deactivating-a-subscription.aspx" target="_self">read more</a>]]></description><pubDate>Sun, 27 May 2012 04:43:00 GMT</pubDate></item><item><title><![CDATA[lineGetID problems]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/vb/14/10452423/linegetid-problems.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/vb/14/10452423/linegetid-problems.aspx]]></link><description><![CDATA[I'm trying to send a wav file through the phone line but my function only lace the wav through the sound card plsss heeelp&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/vb/14/10452423/linegetid-problems.aspx" target="_self">read more</a>]]></description><pubDate>Sat, 26 May 2012 08:36:11 GMT</pubDate></item><item><title><![CDATA[datagrid checkbox validation  in wpf. Converting code]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10451922/datagrid-checkbox-validation--in-wpf-converting-code.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10451922/datagrid-checkbox-validation--in-wpf-converting-code.aspx]]></link><description><![CDATA[Hello all<br />
<br />
i used to have the following code to verify my checkboxcolumn in a datagridview, which i wanted it to behave like a radio button.<br />
<br />
if (e.ColumnIndex == 0) //column&nbsp;<span style="white-space: normal;">index</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bool hasOtherCheckboxChecked = false;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; foreach (DataGridViewRow dgvr in dataGridView1.Rows)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DataGridViewCheckBoxCell cell = (DataGridViewCheckBoxCell)dgvr.Cells[e.ColumnIndex];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (cell.Value == cell.TrueValue &amp;&amp; dgvr.Index != e.RowIndex)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hasOtherCheckboxChecked = true;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DataGridViewCheckBoxCell currentCell = (DataGridViewCheckBoxCell)dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (currentCell.Value == currentCell.TrueValue &amp;&amp; hasOtherCheckboxChecked)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; currentCell.Value = currentCell.FalseValue;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
Now my problem is, that ive changed my aplication to a wpf format, and it seems a lot have changed.&nbsp;<br />
Can anyone help me. i know rows are items now, but Cells, TrueValue, ColumnIndex, rowIndex dont exist, and i cant find a solution.<br />
<br />
Thanks in advance.&nbsp;<br />
<br />&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/csharp/2/10451922/datagrid-checkbox-validation--in-wpf-converting-code.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 24 May 2012 09:42:07 GMT</pubDate></item><item><title><![CDATA[excel automation process using .net and ssis]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/sql-server/13/10451912/excel-automation-process-using-net-and-ssis.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/sql-server/13/10451912/excel-automation-process-using-net-and-ssis.aspx]]></link><description><![CDATA[Hi All,<br />
<br />
I have requirement that is, I am having four different datasources(located in four countries) I have to fetch data from these four data sources and load those fetched data into three excel sheets and as well as allow manual input into these excel sheets which are to be used to import into some client system/application.<br />
<br />
anybody help me on this requriement?<br />
<br />
Thanks,<br />
var&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/sql-server/13/10451912/excel-automation-process-using-net-and-ssis.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 24 May 2012 09:02:15 GMT</pubDate></item><item><title><![CDATA[add a msgbox in macro to change the date of a query]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/vb/14/10451660/add-a-msgbox-in-macro-to-change-the-date-of-a-query.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/vb/14/10451660/add-a-msgbox-in-macro-to-change-the-date-of-a-query.aspx]]></link><description><![CDATA[Hi,<br />
<br />
I am running this macro to return data using microsoft query into excel ( database is using Mysql). How do I add the MSGBOX to the line of the dates: 05/05/2012 and 05/12/2012 so I don't have to go into microsoft query and change it each time. I want to change&nbsp;the date though the macro. Thanks in advance for your help.<br />
<p style="margin: 0in 0in 10pt;"><font face="Calibri">Sub salsa()</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp;&nbsp; With ActiveSheet.ListObjects.Add(SourceType:=0, Source:="ODBC;DSN=dwh01;", _</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Destination:=Range("$A$4")).QueryTable</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .CommandText = Array( _</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "SELECT v_ccdata_0.bookingdate, v_ccdata_0.bookingnumber, v_ccdata_0.land_vendor, v_ccdata_0.total_revenue, v_ccdata_0.total_cost" &amp; Chr(13) &amp; "" &amp; Chr(10) &amp; "FROM cheapc.v_ccdata v_ccdata_0" &amp; Chr(13) &amp; "" &amp; Chr(10) &amp; "WHERE (v_ccdata_0.bookingdate&gt;={d '20" _</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , "12-05-05'}) AND (v_ccdata_0.bookingdate&lt;={d '2012-05-12'})")</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .RowNumbers = False</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .FillAdjacentFormulas = False</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .PreserveFormatting = True</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .RefreshOnFileOpen = False</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .BackgroundQuery = True</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;.RefreshStyle = xlInsertDeleteCells</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .SavePassword = False</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .SaveData = True</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AdjustColumnWidth = True</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .RefreshPeriod = 0</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .PreserveColumnInfo = True</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ListObject.DisplayName = "Table_Query_from_dwh01_1"</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;.Refresh BackgroundQuery:=False</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp;&nbsp; End With</font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">&nbsp;&nbsp;&nbsp; </font></p>
<p style="margin: 0in 0in 10pt;"><font face="Calibri">End Sub</font></p>
<br />&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/vb/14/10451660/add-a-msgbox-in-macro-to-change-the-date-of-a-query.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 23 May 2012 10:55:16 GMT</pubDate></item><item><title><![CDATA[How to remove stackchart column border and show data on every column.]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/xaml/56/10451657/how-to-remove-stackchart-column-border-and-show-data-on-every-column.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/xaml/56/10451657/how-to-remove-stackchart-column-border-and-show-data-on-every-column.aspx]]></link><description><![CDATA[How to show data in every pieseries not on toltip.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/xaml/56/10451657/how-to-remove-stackchart-column-border-and-show-data-on-every-column.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 23 May 2012 10:30:57 GMT</pubDate></item><item><title><![CDATA[how to retrieve HttpContext.Current.Session["test"] in wcf service?]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10451656/how-to-retrieve-httpcontextcurrentsessiontest-in-wcf-service.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10451656/how-to-retrieve-httpcontextcurrentsessiontest-in-wcf-service.aspx]]></link><description><![CDATA[<p><strong>pls see the sample code in the given below site<br />
<br />
</strong></p>
<p><a href="http://www.eggheadcafe.com/community/csharp/2/10451142/not-able-to-access-aspnet-session-variable-in-wcf-service-web-applica.aspx"><strong>http://www.eggheadcafe.com/community/csharp/2/10451142/not-able-to-access-aspnet-session-variable-in-wcf-service-web-applica.aspx</strong></a><br />
<br />
</p>
<p><strong>and change it accordingly in my code&nbsp; how to retrieve <font color="#c00000">HttpContext.Current.Session["test"]</font> in wcf service?<br />
<br />
iam not getting how to implement in my code..pls help me out.....try to change in my code itself......i dont want any sample sites and examples.....</strong></p>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/csharp/2/10451656/how-to-retrieve-httpcontextcurrentsessiontest-in-wcf-service.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 23 May 2012 10:25:36 GMT</pubDate></item><item><title><![CDATA[Issue with Sendkeys]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/excel/66/10451630/issue-with-sendkeys.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/excel/66/10451630/issue-with-sendkeys.aspx]]></link><description><![CDATA[<br />
Hi Team,<br />
<br />
<p>I am testing one functionality in&nbsp; my macros application and it is giving me strange error (It is apending part of text used in the sendkeys string.)</p>
<p >Request you to please help me in resolving this issue. Below is the small code for your reference<br />
<br />
<strong>Sub Test()<br />
SendKeys "%LRA", True<br />
End Sub</strong></p>
<p >After debugging line 2 I am getting RA in EndSub line i.e last line is coming like RA End Sub</p>
<p>I am using in win7 environment for this. Kindly help me in this regard.<br />
<br />
Thanks in advance</p>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/excel/66/10451630/issue-with-sendkeys.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 23 May 2012 09:05:51 GMT</pubDate></item><item><title><![CDATA[Disable Row Selection Based on condition in datagrid in SL5]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/xaml/56/10451619/disable-row-selection-based-on-condition-in-datagrid-in-sl5.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/xaml/56/10451619/disable-row-selection-based-on-condition-in-datagrid-in-sl5.aspx]]></link><description><![CDATA[hi..<br />
<br />
i want to&nbsp;Disable Row Selection Based on condition in datagrig in SL5?<br />
<br />
how to achieve this..<br />
<br />
need ur&nbsp;suggestions...<br />
regards<br />
gopal.s&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/xaml/56/10451619/disable-row-selection-based-on-condition-in-datagrid-in-sl5.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 23 May 2012 08:24:57 GMT</pubDate></item><item><title><![CDATA[Disable scroll bar in MVVM  shell page]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/xaml/56/10451604/disable-scroll-bar-in-mvvm--shell-page.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/xaml/56/10451604/disable-scroll-bar-in-mvvm--shell-page.aspx]]></link><description><![CDATA[hi..<br />
<br />
i am showing my page in inside shell page using mvvm pattern.<br />
<br />
now i have a&nbsp;scroll&nbsp;bar in the page and also i have browser&nbsp;scroll&nbsp;bar.<br />
<br />
here when i disabled my xaml page&nbsp;scroll&nbsp;bar &nbsp;i cant see bottom page information and i try use my browser scroll bar in order to see the bottom xaml page info. i cant able to see.<br />
<br />
so i want to shell page info with out using my xaml scroll bar. i want see this using my browser scroll bar only<br />
<br />
how to achieve this.<br />
<br />
need ur suggestions..<br />
<br />
regards<br />
gopal.s&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/xaml/56/10451604/disable-scroll-bar-in-mvvm--shell-page.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 23 May 2012 08:03:47 GMT</pubDate></item><item><title><![CDATA[Deploying-Admin-site-under-Public-site]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10450545/deployingadminsiteunderpublicsite.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10450545/deployingadminsiteunderpublicsite.aspx]]></link><description><![CDATA[Hi,<br />
<br />
I've deployed this site &nbsp;http://employees.worldwidesellers.net/&nbsp; under worldwidesellers.net ...<br />
worldwidesellers.net is working fine. but this site&nbsp;http://employees.worldwidesellers.net/&nbsp; (Administrator)site is throwing to error.aspx page. can you please tell me how to resolve this issue.. &nbsp;<br />
<br />
Please help me...&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10450545/deployingadminsiteunderpublicsite.aspx" target="_self">read more</a>]]></description><pubDate>Sat, 19 May 2012 11:20:11 GMT</pubDate></item><item><title><![CDATA[Outlook Calendar Invites Appearing with Wrong Date in Gmail]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/microsoft-outlook/97/10449899/outlook-calendar-invites-appearing-with-wrong-date-in-gmail.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/microsoft-outlook/97/10449899/outlook-calendar-invites-appearing-with-wrong-date-in-gmail.aspx]]></link><description><![CDATA[<br />
There is an employee I work with who has sent out invitation for meetings. When two other employees have checked for the invitation on the phone the start time and date is incorrect. For example, "Wednesday, December 31, 1969 7:00 PM-7:00 PM (UTC-05:00) Eastern Time (US &amp; Canada)."<br />
<br />
The invite is being sent out from an Outlook 2010 account connected to a GoDaddy hosted email account. The invite is appearing incorrectly with Gmail accounts synced to both iPhone and Android phone. Any ideas to what could be causing this?&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/microsoft-outlook/97/10449899/outlook-calendar-invites-appearing-with-wrong-date-in-gmail.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 17 May 2012 09:00:01 GMT</pubDate></item><item><title><![CDATA[infopath Qry]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/infopath/34/10449672/infopath-qry.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/infopath/34/10449672/infopath-qry.aspx]]></link><description><![CDATA[&nbsp; hi ,<br />
<br />
&nbsp; plz help me out ,i want to know what is the option in infopath-2007 where we put the unique Id and when ever we put this id in same field and the shows the all detalis against the unique ID.<br />
<br />
&nbsp; THanks <br />
<br />
&nbsp; Usha&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/infopath/34/10449672/infopath-qry.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 17 May 2012 03:19:38 GMT</pubDate></item><item><title><![CDATA[Word Macro (Richtext box)]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/vb6/8/10449520/word-macro-richtext-box.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/vb6/8/10449520/word-macro-richtext-box.aspx]]></link><description><![CDATA[Can any one please help me in the below problems.Thanks in advance.<br />
Issue in detail:<br />
I have inserted a form with a command button and rich text box control in MS WORD (Alt+F11) (No problem so far) <br />
I had some information in MS-Word document see the below example<br />
<br />
Can any one please help me in the below problems.Thanks in advance.<br />
Revenue&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;100&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 564<br />
Common stock&nbsp;&nbsp;&nbsp;&nbsp; 78&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7878&nbsp;&nbsp;&nbsp;&nbsp; <br />
My Requirements:<br />
1) All the above information should be displayed in the&nbsp;Richtext box with the same alignment in the word document<br />
2) I need to change the color of the word "common stock" as Green in the rich text box (very Importent)<br />
3) When I select any word in Rich text box and click&nbsp; command button it shold direct me to that word in MS-Word document (Very importent).<br />&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/vb6/8/10449520/word-macro-richtext-box.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 16 May 2012 10:07:24 GMT</pubDate></item><item><title><![CDATA[re:Visual webpart fileupload to custom list created columns]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10448890/revisual-webpart-fileupload-to-custom-list-created-columns.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10448890/revisual-webpart-fileupload-to-custom-list-created-columns.aspx]]></link><description><![CDATA[<div style="font-family: 'segoe ui', tahoma, verdana, arial, helvetica; font-size: 13px; color: #505050; height: 100%; text-align: left !important; background-image: url(http://www.eggheadcafe.com/images/template2/white.gif) !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: #ffffff !important; word-wrap: break-word !important; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font: normal normal normal 10pt/normal 'segoe ui'; background-position: 0% 0% !important; background-repeat: repeat repeat !important;">Actaually let me explain you clearly.. I m able to populate data in customlists for textboxes.In the same way i want to populate data when i use fileupload control and should be upload that doc into custom list.When i click on button the data(documents) should be populated into the column which i created in custom list.<br />
<br />
<strong>below is the code which i used for populating data from textboxes into customlist columns..</strong><br />
<br />
In the sameway i should be able to populate from upload control into sharepoint custom list??<br />
&nbsp;protected void Button1_Click(object sender, EventArgs e)<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (txttitle.Text.Trim() == "" || txtcode.Text.Trim() == "" || txtpjctname.Text.Trim() == ""||pjctdescrip.Text.Trim()==""||txtmanager.Text.Trim()==""||txttm.Text.Trim()==""||txtcc.Text.Trim()=="")<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lblmess.Text = "Data Entry undone";<br />
<br />
<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SPSite mysite = SPContext.Current.Site;<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SPWeb myweb = SPContext.Current.Web;<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SPList mylist = myweb.Lists["entrieslist"];<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SPListItem mylistitem = mylist.Items.Add();<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mylistitem["Title"] = txttitle.Text.ToString();<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mylistitem["ProjectCode"] = txtcode.Text.ToString();<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mylistitem["ProjectName"] = txtpjctname.Text.ToString();<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mylistitem["ProjectDescription"] = pjctdescrip.Text.ToString();<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mylistitem["ProjectManager"] = txtmanager.Text.ToString();<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mylistitem["ProjectTeam Members"] = txttm.Text.ToString();<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mylistitem["ClientContact Details"] = txtcc.Text.ToString();<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;myweb.AllowUnsafeUpdates = true;<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mylistitem.Update();<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;myweb.AllowUnsafeUpdates = false;<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lblmess.Text = "Data Entered Successfully";<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br />
<br />
</div>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/sharepoint/69/10448890/revisual-webpart-fileupload-to-custom-list-created-columns.aspx" target="_self">read more</a>]]></description><pubDate>Tue, 15 May 2012 05:44:45 GMT</pubDate></item><item><title><![CDATA[Gridview Selection Number needs to write in TextBoxes]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10448801/gridview-selection-number-needs-to-write-in-textboxes.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10448801/gridview-selection-number-needs-to-write-in-textboxes.aspx]]></link><description><![CDATA[Hi Every one,,<br />
<br />
I have a Gridview with fallowing columns<br />
<br />
Chk&nbsp;&nbsp;&nbsp;&nbsp; SrNo&nbsp;&nbsp; Name&nbsp; Marks<br />
&nbsp;checked&nbsp; &nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp; abc &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 120<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp; jkj&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 450<br />
&nbsp;&nbsp;checked&nbsp;&nbsp; 4&nbsp;&nbsp;&nbsp;&nbsp; kjk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 452<br />
<br />
<br />
FromTextBox : <strong>1 &nbsp;</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ToTextBox: <strong>4 </strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GoButtion<br />
<br />
in above example <br />
1) SrNo 1 and SrNo 4 as Selected so FromTextBox need to show 1 and ToTextBox Need to show 4<br />
<br />
2) if i check 4th Record first and 1st Record Second time its need to show in FromTextBox 1 and ToTextBox 4 Only not <br />
&nbsp;&nbsp;&nbsp; 4,1(should be Assending Order only.<br />
3)if i check Record 1st ,2nd and 3rd it needs to show FromTextbox 1 and ToTextBox 3 ofcourse.<br />
4)if i uncheck or only one row check its need to show FromTextbox,ToTextBox&nbsp; as default values (1,4) (number of Rows in Gridview )<br />
<br />
this is i need to do with javascript thanks ...<br />
<br />
thanks ..<br />
please help me <br />&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/csharp/2/10448801/gridview-selection-number-needs-to-write-in-textboxes.aspx" target="_self">read more</a>]]></description><pubDate>Tue, 15 May 2012 03:26:41 GMT</pubDate></item><item><title><![CDATA[how to insert run time generated textbox value into database..?]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/xaml/56/10448531/how-to-insert-run-time-generated-textbox-value-into-database.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/xaml/56/10448531/how-to-insert-run-time-generated-textbox-value-into-database.aspx]]></link><description><![CDATA[Hi all<br />
<br />
I generated three textbox at run time.<br />
i want to insert its value into database.<br />
but i am getting only last textbox value.<br />
<br />
reply asap<br />
<br />
&nbsp;grid1.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; grid1.ColumnDefinitions.Add(new ColumnDefinition() { Width = GridLength.Auto });<br />
<br />
&nbsp; testid = dt4.Rows[i][2].ToString();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TextBox tbox = new TextBox();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tBox = TextBox();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tBox.Name = "txt" + i;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tBox.SetValue(Grid.RowProperty, i);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tBox.SetValue(Grid.ColumnProperty, 1);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string s = tBox.Text;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; grid1.Children.Add(tBox);<br />
&nbsp;private void button1_Click(object sender, RoutedEventArgs e)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
<br />
&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string result_insert = "insert into tLAB_TestResult values('" + PatientBooked.id + "','" +tBox.Text+ "','" + testid + "')";<br />
}<br />
<br />
&nbsp;TextBox TextBox()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tBox = new TextBox();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tBox.Width = 50;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tBox.Height = 30;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tBox.Margin = new Thickness(2, 2, 2, 2);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tBox.VerticalScrollBarVisibility = ScrollBarVisibility.Hidden;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tBox.HorizontalAlignment = HorizontalAlignment.Left;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tBox.VerticalAlignment = VerticalAlignment.Top;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tBox.Foreground = new SolidColorBrush(Colors.Black);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tBox.Background = new SolidColorBrush(Colors.White);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tBox.TextWrapping = TextWrapping.NoWrap;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tBox.IsReadOnly = false;<br />
<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //tBox.Text = AllBeds[J].ToString();&nbsp; //count.ToString();// +"&lt;br&gt;" + AllPlots[i].ToString();<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return tBox;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/xaml/56/10448531/how-to-insert-run-time-generated-textbox-value-into-database.aspx" target="_self">read more</a>]]></description><pubDate>Mon, 14 May 2012 06:45:23 GMT</pubDate></item><item><title><![CDATA[jqprint and printing contents of jQuery ui modal]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10448106/jqprint-and-printing-contents-of-jquery-ui-modal.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10448106/jqprint-and-printing-contents-of-jquery-ui-modal.aspx]]></link><description><![CDATA[Hello. I have a jQuery UI modal that I need to print. Inside the modal are textboxes whose values are set via jQuery (from a click event). While I can print the UI modal no problem, and I can print the textboxes, I can print the contents of the textboxes - presumably because they are dynamically assigned. I really need those valued to print. How can I do it? Thanks.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10448106/jqprint-and-printing-contents-of-jquery-ui-modal.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 11 May 2012 22:18:41 GMT</pubDate></item><item><title><![CDATA[how to replace string into the "newtable" place]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10446770/how-to-replace-string-into-the-newtable-place.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10446770/how-to-replace-string-into-the-newtable-place.aspx]]></link><description><![CDATA[<div>
<p>hai friends ,</p>
<p>if i select select checkbox then the value enter table. i am uncheck the record delete in the table.
</p>
<p>i able to do this using dummy table called "newtable1". now i want perform the task using with string.</p>
<p>how to handle the task with string without table ?</p>
<p>Protected Sub chkTestids_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim ocontactnos1 As New StringBuilder<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim arrIDs As New ArrayList()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim CatID1 As Integer = 0<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim CatID2 As String<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim count As Integer<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim chk1 As CheckBox = DirectCast(GVContacts.HeaderRow.FindControl("chkHeader"), CheckBox)<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For Each r As GridViewRow In GVContacts.Rows<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim chkin As CheckBox = DirectCast(r.FindControl("chkTestids"), CheckBox)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If chkin.Checked = False Then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; count += 1<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CatID1 = GVContacts.DataKeys(r.RowIndex)("contact_id").ToString()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim cmd As New SqlCommand("delete from newtable1 where Contact_ID=" &amp; CatID1, conn)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; conn.Open()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cmd.ExecuteNonQuery()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; conn.Close()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; chkin.Checked = False<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim adt As New SqlDataAdapter("select * from newtable1", conn)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim dt As New DataTable<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; adt.Fill(dt)<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For Each drow As System.Data.DataRow In dt.Rows<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; arrIDs.Add(drow("contact_id").ToString().Trim())<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For Each r As GridViewRow In GVContacts.Rows<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim chkin As CheckBox = DirectCast(r.FindControl("chkTestids"), CheckBox)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If chkin.Checked = True Then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CatID1 = GVContacts.DataKeys(r.RowIndex)("contact_id").ToString()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CatID2 = GVContacts.DataKeys(r.RowIndex)("MobileNo")<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If arrIDs.Contains(CatID1.ToString()) Then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; chkin.Checked = True<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; arrIDs.Add(CatID1.ToString())<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim cmd As New SqlCommand("insert into newtable1
values (" &amp; HidTokenNo.Value &amp; "," &amp; CatID1 &amp; "," &amp;
CatID2 &amp; ",1)", conn)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; conn.Open()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cmd.ExecuteNonQuery()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; conn.Close()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; chkin.Checked = True<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If count = 0 Then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; chk1.Checked = True<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; chk1.Checked = False<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If arrIDs.Count = HiddenField1.Value Then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; chkAllGroup.Checked = True<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; chkAllGroup.Checked = False<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; count123()<br />
&nbsp;&nbsp;&nbsp; End Sub</p>
</div>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10446770/how-to-replace-string-into-the-newtable-place.aspx" target="_self">read more</a>]]></description><pubDate>Tue, 08 May 2012 02:13:31 GMT</pubDate></item><item><title><![CDATA[i want to show the header text below the image in wpf menu, which prop]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/xaml/56/10445914/i-want-to-show-the-header-text-below-the-image-in-wpf-menu-which-prop.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/xaml/56/10445914/i-want-to-show-the-header-text-below-the-image-in-wpf-menu-which-prop.aspx]]></link><description><![CDATA[<br />
<br />
hello frnds,<br />
<br />
&lt;MenuItem &nbsp;Width="150" Header="Master" &nbsp;Height="Auto" FontStretch="Normal" HorizontalAlignment="Right" VerticalAlignment="Bottom" &gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;MenuItem.Icon&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Image Source="..\Images\Icon\master.png" Width="50" Height="50" Stretch="Uniform" StretchDirection="Both" HorizontalAlignment="Left" VerticalAlignment="Stretch" /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/MenuItem.Icon&gt;<br />
<br />
<br />
i want to show the header text below the image in wpf menu, which property i have to set.<br />
<br />
plz reply asap.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/xaml/56/10445914/i-want-to-show-the-header-text-below-the-image-in-wpf-menu-which-prop.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 04 May 2012 02:39:11 GMT</pubDate></item><item><title><![CDATA[Javascript-Stuck With THis..Help Pls]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10445897/javascriptstuck-with-thishelp-pls.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10445897/javascriptstuck-with-thishelp-pls.aspx]]></link><description><![CDATA[<br />
<br />
<strong>&nbsp; JavaScript for getting the value of&nbsp;dynamic created adjacent cells of selected image Of A cell....<br />
&nbsp; Stuck With This....Help Pls....<br />
<br />
&nbsp;THis is My Click evennt Script..<br />
<br />
&nbsp;<span style="color: #4f6128;"> &lt;script type="text/javascript" language="javascript"&gt; </span>
<p><span style="color: #4f6128;">function Booked(thil,id,ctrl)</span></p>
<p><span style="color: #4f6128;">{ </span></p>
<p><span style="color: #4f6128;">var imgPath = new String();</span></p>
<p><span style="color: #4f6128;">imgPath = document.getElementById('ctl00_ContentPlaceHolder1_'+ctrl).style.backgroundImage; </span></p>
<p><span style="color: #4f6128;">&nbsp;</span></p>
<p><span style="color: #4f6128;">&nbsp;</span></p>
<p><span style="color: #4f6128;">&nbsp;</span></p>
<p><span style="color: #4f6128;">// var chkt=document.getElementById('ContentPlaceHolder1_'+ctrl); </span></p>
<p><span style="color: #4f6128;">var lbl = document.getElementById('&lt;%=lblseat.ClientID %&gt;'); </span></p>
<p><span style="color: #4f6128;">var amt = document.getElementById('&lt;%=lblamt.ClientID %&gt;'); </span></p>
<p><span style="color: #4f6128;">var amtval = 0;</span></p>
<p><span style="color: #4f6128;">amtval = document.getElementById('&lt;%= price.ClientID %&gt;'); </span></p>
<p><span style="color: #4f6128;">&nbsp;</span></p>
<p><span style="color: #4f6128;">var amount = 0; </span></p>
<p><span style="color: #4f6128;">// if(chkt.checked==false)</span></p>
<p><span style="color: #4f6128;">//{</span></p>
<p><span style="color: #4f6128;">&nbsp;</span></p>
<p><span style="color: #4f6128;">//}</span></p>
<p><span style="color: #4f6128;">if(imgPath == 'url("../images/A.jpg")' || imgPath == 'url(../images/A.jpg)')</span></p>
<p><span style="color: #4f6128;">{ </span></p>
<p><span style="color: #4f6128;">imgName = "../images/NA.jpg"; </span></p>
<p><span style="color: #4f6128;">&nbsp;</span></p>
<p><span style="color: #4f6128;">document.getElementById('ctl00_ContentPlaceHolder1_'+ctrl).style.background = "url(" + imgName + ")"; </span></p>
<p><span style="color: #4f6128;">&nbsp;</span></p>
<p><span style="color: #4f6128;">if(lbl.innerHTML == "")</span></p>
<p><span style="color: #4f6128;">{ </span></p>
<p><span style="color: #4f6128;">lbl.innerHTML = id; </span></p>
<p><span style="color: #4f6128;">}</span></p>
<p><span style="color: #4f6128;">else if(lbl.innerHTML != "")</span></p>
<p><span style="color: #4f6128;">{ </span></p>
<p><span style="color: #4f6128;">lbl.innerHTML = lbl.innerHTML + "," + id;</span></p>
<p><span style="color: #4f6128;">}</span></p>
<p><span style="color: #4f6128;">&nbsp;</span></p>
<p><span style="color: #4f6128;">if(amt.innerHTML == "")</span></p>
<p><span style="color: #4f6128;">{</span></p>
<p><span style="color: #4f6128;">amount =0;</span></p>
<p><span style="color: #4f6128;">}</span></p>
<p><span style="color: #4f6128;">else</span></p>
<p><span style="color: #4f6128;">{</span></p>
<p><span style="color: #4f6128;">amount = parseInt(amt.innerHTML);</span></p>
<p><span style="color: #4f6128;">} </span></p>
<p><span style="color: #4f6128;">&nbsp;</span></p>
<p><span style="color: #4f6128;">amtval = parseInt(amount) + parseInt(amtval.value); </span></p>
<p><span style="color: #4f6128;">} </span></p>
<p><span style="color: #4f6128;">&nbsp;</span></p>
<p><span style="color: #4f6128;">else if(imgPath == "url(../images/NA.jpg)" || imgPath == 'url("../images/NA.jpg")')</span></p>
<p><span style="color: #4f6128;">{</span></p>
<p><span style="color: #4f6128;">imgName = "../images/A.jpg";</span></p>
<p><span style="color: #4f6128;">document.getElementById('ctl00_ContentPlaceHolder1_'+ctrl).style.background = "url(" + imgName + ")"; </span></p>
<p><span style="color: #4f6128;">var rep = id+","; </span></p>
<p><span style="color: #4f6128;">var rep1 = id; </span></p>
<p><span style="color: #4f6128;">lbl.innerHTML = lbl.innerHTML.replace(rep,""); </span></p>
<p><span style="color: #4f6128;">lbl.innerHTML = lbl.innerHTML.replace(rep1,"");</span></p>
<p><span style="color: #4f6128;">&nbsp;</span></p>
<p><span style="color: #4f6128;">if(lbl.innerHTML.endsWith(","))</span></p>
<p><span style="color: #4f6128;">{ </span></p>
<p><span style="color: #4f6128;">var count = lbl.innerHTML.length;</span></p>
<p><span style="color: #4f6128;">&nbsp;</span></p>
<p><span style="color: #4f6128;">if(lbl.innerHTML.indexOf(','))</span></p>
<p><span style="color: #4f6128;">{ </span></p>
<p><span style="color: #4f6128;">lbl.innerHTML = lbl.innerHTML.substring(0,count-1); </span></p>
<p><span style="color: #4f6128;">} </span></p>
<p><span style="color: #4f6128;">} </span></p>
<p><span style="color: #4f6128;">&nbsp;</span></p>
<p><span style="color: #4f6128;">if(amt.innerHTML == "")</span></p>
<p><span style="color: #4f6128;">{</span></p>
<p><span style="color: #4f6128;">amount =0;</span></p>
<p><span style="color: #4f6128;">}</span></p>
<p><span style="color: #4f6128;">else</span></p>
<p><span style="color: #4f6128;">{</span></p>
<p><span style="color: #4f6128;">amount = parseInt(amt.innerHTML);</span></p>
<p><span style="color: #4f6128;">} </span></p>
<p><span style="color: #4f6128;">&nbsp;</span></p>
<p><span style="color: #4f6128;">amtval = parseInt(amount) - parseInt(amtval.value); </span></p>
<p><span style="color: #4f6128;">}</span></p>
<p><span style="color: #4f6128;">&nbsp;</span></p>
<p><span style="color: #4f6128;">&nbsp;</span></p>
<p><span style="color: #4f6128;">amt.innerHTML = amtval.toString(); </span></p>
<p><span style="color: #4f6128;">document.getElementById("&lt;%=seatno.ClientID %&gt;").value = lbl.innerHTML; </span></p>
<p><span style="color: #4f6128;">document.getElementById("&lt;%=totalamount.ClientID %&gt;").value = amtval; </span></p>
<p><span style="color: #4f6128;">}</span></p>
<p><span style="color: #4f6128;">}</span></p>
<p><span style="color: #4f6128;">&nbsp;</span></p>
<p><span style="color: #4f6128;">&lt;/script&gt;</span></p>
<p><span style="color: #4f6128;">&nbsp;</span></p>
<p><span style="color: #4f6128;">&nbsp;</span></p>
</strong>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10445897/javascriptstuck-with-thishelp-pls.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 04 May 2012 02:42:43 GMT</pubDate></item><item><title><![CDATA[Webgrid In mvc3(Aspx Engine)]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10445687/webgrid-in-mvc3aspx-engine.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10445687/webgrid-in-mvc3aspx-engine.aspx]]></link><description><![CDATA[hi everyone,<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I want to bind my view with Web grid Control . please provide me syntax for web grid with (aspx engine)not rozor<br />
<br />
<br />
<br />
Thanks to All<br />
ALOK&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/csharp/2/10445687/webgrid-in-mvc3aspx-engine.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 03 May 2012 06:04:49 GMT</pubDate></item><item><title><![CDATA[Internet Explorer Add ons]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10445580/internet-explorer-add-ons.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10445580/internet-explorer-add-ons.aspx]]></link><description><![CDATA[Hello All,<br />
I need to create a IE Add ons or (Plugins),functionality should be , i have 10000 words in excelsheet, &nbsp;so whatever URL i open in IE my addons should read all the words in browser and highlight those words that matches my excelseet words.<br />
And browser should be fast dont freeze while reading and highlight the words.<br />
<br />
Please help me out and provide me code if possible.<br />
<br />
Thanks<br />
Anand<br />
<br />
<br />&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/csharp/2/10445580/internet-explorer-add-ons.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 03 May 2012 02:58:20 GMT</pubDate></item><item><title><![CDATA[How to Filter Custom Taxonomy Fields for Managed Metadata Service]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10445562/how-to-filter-custom-taxonomy-fields-for-managed-metadata-service.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10445562/how-to-filter-custom-taxonomy-fields-for-managed-metadata-service.aspx]]></link><description><![CDATA[Hi friends....<br />
<br />
&nbsp;&nbsp;In my custom webpart i have 3 custom taxonomywebcontrols, i need filter&nbsp; those controls like Country,State,City&nbsp; selection. Based on Country respective states should come,respective state city names should come.<br />
<br />
How to acheive this functionality....Please help me any one.<br />
<br />
thanks in advance<br />&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/sharepoint/69/10445562/how-to-filter-custom-taxonomy-fields-for-managed-metadata-service.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 03 May 2012 02:13:41 GMT</pubDate></item><item><title><![CDATA[Get highlighted bookmak value in C# with word]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10445487/get-highlighted-bookmak-value-in-c-with-word.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10445487/get-highlighted-bookmak-value-in-c-with-word.aspx]]></link><description><![CDATA[<h2 class="fontNormal">Hi, </h2>
<h2 class="fontNormal"> </h2>
<h2 class="fontNormal">I am trying to figure out how to get bookmarked value in word using C#.
In word template, I have bookmarked few pages where it contains words and some checkbox and etc.
Based on list that I compare, I want to place same information to different page where I bookmarked it.
I know how to update bookmark but reversing it to get the value isn't working and I can't find any good example that works too.</h2>
<br />
&nbsp;object Module1 = "Module1";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Word.Range rngFirstBookmark = oWordDoc.Bookmarks.get_Item(ref Module1).Range;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; object Module2 = "Module2";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Word.Range rngSecondBookmark = oWordDoc.Bookmarks.get_Item(ref Module2).Range;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; object firstBookmarkEnd = rngFirstBookmark.End;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; object secondBookmarkStart = rngSecondBookmark.Start;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Word.Range rngTarget = doc.Range(ref firstBookmarkEnd, ref secondBookmarkStart);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; object rngFirstBookmarkStart = rngFirstBookmark.Start;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; object rngSecondBookmarkEnd = rngSecondBookmark.End;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Word.Range rngTarget = oWordDoc.Range(ref rngFirstBookmarkStart, ref rngSecondBookmarkEnd);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DesiredText = Convert.ToString(rngTarget);<br />
<br />
This is using 2 bookmark and getting whatever is in between these marks but it doesn't really work.<br />
<br />
I have 1 bookmark that covers few pages but it has checkbox and other objects that it might not be able for string to hold them. Is there's way to copy these selected ones and replace it in a place wherever I want? Maybe copy and paste function would work but controlling what to copy and where to paste over would be difficult too...<br />
<br />
Let me know and thank you very much!&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/csharp/2/10445487/get-highlighted-bookmak-value-in-c-with-word.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 02 May 2012 15:15:47 GMT</pubDate></item><item><title><![CDATA[Login control for fba custom login page creates runtime error]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10445440/login-control-for-fba-custom-login-page-creates-runtime-error.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10445440/login-control-for-fba-custom-login-page-creates-runtime-error.aspx]]></link><description><![CDATA[i used login control in application (.aspx) page<br />
<br />
<font face="Consolas" size="2">&nbsp;</font>
<p> </p>
<p>&nbsp;</p>
<p><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">&lt;</font></font></font><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2">asp</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">:</font></font></font><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2"><font color="#800000" face="Consolas" size="2">Login</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">ID</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="signInControl"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">style</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="</font></font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">width</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">: 250px"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">FailureText</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2">&lt;%</font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">$</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2">Resources:wss,login_pageFailureText%&gt;</font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">MembershipProvider</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="FBAMembershipProvider"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font></p>
<font face="Consolas" size="2">
<p> </p>
<p>&nbsp;</p>
</font>
<p><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">runat</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="server"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">DisplayRememberMe</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="false"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">TextBoxStyle-Width</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="250px"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">RememberMeSet</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="false"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">LoginButtonStyle-CssClass</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="ms-buttonheightwidth"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font></p>
<font face="Consolas" size="2">
<p> </p>
<p>&nbsp;</p>
</font>
<p><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">UserNameLabelText</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="User name"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">TextLayout</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="TextOnTop"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">PasswordLabelText</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="Password"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">LabelStyle-Font-Bold</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="false"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">LabelStyle-Font-Size</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="Small"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">LabelStyle-ForeColor</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="#0098e1"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">LabelStyle-Font-Names</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="Verdana"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">LabelStyle-CssClass</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="ms-standardheader ms-inputformheader"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">TextBoxStyle-CssClass</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="ms-input"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font></p>
<font face="Consolas" size="2">
<p> </p>
<p>&nbsp;</p>
</font>
<p><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">CheckBoxStyle-Font-Bold</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="false"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">CheckBoxStyle-Font-Names</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="Verdana"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">CheckBoxStyle-ForeColor</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="#0098e1"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">CheckBoxStyle-CssClass</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="ms-standardheader ms-inputformheader"</font></font></font></p>
<font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"> </font></font></font><font face="Consolas" size="2">
<p> </p>
<p>&nbsp;</p>
</font>
<p><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">CheckBoxStyle-Font-Size</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="Small"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">FailureTextStyle-Wrap</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="true"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">FailureTextStyle-Font-Names</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="Verdana"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">FailureTextStyle-Font-Size</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="Small"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">LoginButtonStyle-Font-Names</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="Verdana"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font></p>
<font face="Consolas" size="2">
<p> </p>
<p>&nbsp;</p>
</font>
<p><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">LoginButtonStyle-Font-Size</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="Small"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">LoginButtonImageUrl</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="~/_layouts/1033/IMAGES/imageslogsmall.jpg"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">LoginButtonType</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="Image"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">TitleText</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="LogIn"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">TitleTextStyle-ForeColor</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="#0098e1"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font></p>
<font face="Consolas" size="2">
<p> </p>
<p>&nbsp;</p>
</font>
<p><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">OnLoggingIn</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="OnLoggingIn"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">TitleTextStyle-Font-Bold</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="true"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">TitleTextStyle-Wrap</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="true"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">TitleTextStyle-Font-Names</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="Verdana"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2"><font color="#ff0000" face="Consolas" size="2">TitleTextStyle-Font-Size</font></font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">="Medium"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">/&gt;</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font></p>
<font face="Consolas" size="2">
<p> </p>
</font>and in code behind<br />
<br />
<br />
<font face="Consolas" size="2">
<p> </p>
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">protected</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">override</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">void</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> OnLoad(</font></font><font color="#2b91af" face="Consolas" size="2"><font color="#2b91af" face="Consolas" size="2"><font color="#2b91af" face="Consolas" size="2">EventArgs</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> e) </font></font></p>
<font face="Consolas" size="2">
<p> {</p>
<p> </p>
<p> </p>
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">try</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> { </font></font><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">base</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2">.OnLoad(e); }</font></font></p>
<font face="Consolas" size="2">
<p> </p>
<p> </p>
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2"><font color="#0000ff" face="Consolas" size="2">catch</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2">(</font></font><font color="#2b91af" face="Consolas" size="2"><font color="#2b91af" face="Consolas" size="2"><font color="#2b91af" face="Consolas" size="2">Exception</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> er)</font></font></p>
<font face="Consolas" size="2">
<p> {</p>
<p> lblError.Text = er.Message;</p>
<p> } </p>
<font color="#c00000"> </font>
<p><font color="#c00000"> } -- error(run time error)<br />
<br />
<font color="#000000">I have logined fba user using custom login page . it creates runtime error .How to catch login control error ?<br />
</font><font color="#000000">Please help to resolve it..</font><br />
</font></p>
</font>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/sharepoint/69/10445440/login-control-for-fba-custom-login-page-creates-runtime-error.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 02 May 2012 10:37:44 GMT</pubDate></item><item><title><![CDATA[unable to connect server]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10445423/unable-to-connect-server.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10445423/unable-to-connect-server.aspx]]></link><description><![CDATA[<font color="#2b91af">&nbsp;</font>
<p>TGTravelServiceService<font size="2"> ts = </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TGTravelServiceService</font></font><font size="2">();</font></p>
<font size="2"></font><font size="2"><font color="#0000ff" size="2"><font color="#0000ff" size="2">var</font></font><font color="#505050" size="2"> data = ts.getStationList(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"maddyrafi@gmail.com"</font></font><font color="#505050" size="2">, </font><font color="#a31515" size="2"><font color="#a31515" size="2">"samerafi"</font></font><font color="#505050">); </font>
<p>GridView1.DataSource = data.stationList;</p>
<p>GridView1.DataBind();<br />
<br />
</p>
<p><span class="pun"><font color="#666600">in this code it has no error but it will not display the output here ? what will i do ? no result... but run successfully...</font></span></p>
<br />
<div>
<p>When&nbsp; i check with breakpoint it will show this messagebox ? what will i do? how to connect this ?</p>
<p>unable to automatically step into the server. connecting to the server machine 'staging.ticketgoose.com' failed. The debugger cannot connect to the remote computer. This may be because the remote computer does not exist or a firewall may be preventing communication to the remote computer,</p>
</div>
</font>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10445423/unable-to-connect-server.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 02 May 2012 09:41:49 GMT</pubDate></item><item><title><![CDATA[SSIS discussion]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/faq/35/10443947/ssis-discussion.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/faq/35/10443947/ssis-discussion.aspx]]></link><description><![CDATA[&nbsp;Hi Friends i have small doubt in loading data &nbsp;.<br />
<br />
<br />
suppose &nbsp;i &nbsp;have a folder &nbsp;that folder contains &nbsp; &nbsp;3 excel sheets data and 5 flat files data. &nbsp;all sheets data like<br />
&nbsp; id,name,sal &nbsp;so &nbsp;how to load flatfiles and excel sheets data dynamicaly in ssis .iam trying to useing foreach enumrator but &nbsp;some error occurs. plz tell me how to use foreac enumrator while loading flat files and excel sheet dynamicaly. plz tell me the process.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/faq/35/10443947/ssis-discussion.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 27 Apr 2012 09:59:13 GMT</pubDate></item><item><title><![CDATA[charts]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/visual-studio/7/10442736/charts.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/visual-studio/7/10442736/charts.aspx]]></link><description><![CDATA[I am making the report which should show chart so one column is one value, and other column is combination of two values and this should be grouped by years, so I need these columns to be next to each other. In fact, I need combination of column and column stack charts. eg. Year 2008 column1, column2 blank field, year 2009 column1, column2, blank etc... Is there a way for that to be done? Thanks&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/visual-studio/7/10442736/charts.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 20 Apr 2012 10:38:10 GMT</pubDate></item><item><title><![CDATA[using radio buttons to remove and restore item in array]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10442215/using-radio-buttons-to-remove-and-restore-item-in-array.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10442215/using-radio-buttons-to-remove-and-restore-item-in-array.aspx]]></link><description><![CDATA[How can I do this using jQuery?&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10442215/using-radio-buttons-to-remove-and-restore-item-in-array.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 19 Apr 2012 00:54:04 GMT</pubDate></item><item><title><![CDATA[dynamic gridview with xml datatype of sql server]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10442154/dynamic-gridview-with-xml-datatype-of-sql-server.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10442154/dynamic-gridview-with-xml-datatype-of-sql-server.aspx]]></link><description><![CDATA[Hi,<br />
&nbsp;I have to populate dynamic gridview. Here, I have setting for gridview. here, in sql server, two table one setting which have Id, Headername(xml). and other for data, table name tblRecord haveing Id, SettingId, records(xml).<br />
<br />
<br />
table tblSetting&nbsp;<br />
<br />
<br />
<span style="white-space: normal;">Id <span class="Apple-tab-span" style="white-space: pre;">	</span>Setting</span><br />
<span style="white-space: normal;">-- <span class="Apple-tab-span" style="white-space: pre;">	</span>--------</span><br />
1 &nbsp; &nbsp; &nbsp; &lt;header&gt;&lt;h1&gt;FirstColumn&lt;/h1&gt;&lt;h2&gt;SecondColumn&lt;/h2&gt;&lt;/header&gt;<br />
<br />
<br />
<br />
<br />
table tblRecord<br />
<br />
<br />
<span style="white-space: normal;">Id &nbsp; SettingId<span class="Apple-tab-span" style="white-space: pre;">	</span>Records</span><br />
-- &nbsp; --------- &nbsp;--------<br />
<span style="white-space: normal;">1 &nbsp; &nbsp; &nbsp; 1 &nbsp; <span class="Apple-tab-span" style="white-space: pre;">	</span>&lt;data1&gt;&lt;d1&gt;testData11&lt;/d1&gt;&lt;d2&gt;testData12&lt;/d2&gt;&lt;/data1&gt;</span><br />
<span style="white-space: normal;">2 &nbsp; &nbsp; &nbsp; 2 &nbsp; <span class="Apple-tab-span" style="white-space: pre;">	</span>&lt;data1&gt;&lt;d1&gt;testData21&lt;/d1&gt;&lt;d2&gt;testData22&lt;/d2&gt;&lt;/data1&gt;</span><br />
<br />
<br />
<br />
<br />
Result in Gridview<br />
<br />
<br />
FirstColumn &nbsp;SecondColumn<br />
----------- &nbsp;-------------<br />
<span style="white-space: normal;">testdata11<span class="Apple-tab-span" style="white-space: pre;">	</span>testdata12</span><br />
<span style="white-space: normal;">testdata21<span class="Apple-tab-span" style="white-space: pre;">	</span>testdata22</span><br />
<br />
<br />
<br />
<br />
I want to bind header name at runtime and also data at run time but do'nt know how to do.<br />
<br />
thanks in advance<br />
<br />
<br />
<br />
<br />
<br />
&nbsp; &nbsp;<br />
<br />
<br />
&nbsp;<br />
<div><br />
</div>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10442154/dynamic-gridview-with-xml-datatype-of-sql-server.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 18 Apr 2012 10:05:18 GMT</pubDate></item><item><title><![CDATA[how to do this]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10442075/how-to-do-this.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10442075/how-to-do-this.aspx]]></link><description><![CDATA[<div>
<p>hai,</p>
<p>i have a gridview with checkboxes and paging can in chenge the page .which items is selected that items are form the string.</p>
<p>i am tring this code it can't get the answer.</p>
<p>Public Sub SelectedCheckBoxes()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim hiddenIDs() As String = {}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Not String.IsNullOrEmpty(hiddenCatIDs.Value) Then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hiddenIDs = hiddenCatIDs.Value.Split(New Char() {","})<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim arrIDs As New ArrayList()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim CatID As String = "0"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If hiddenIDs.Length &lt;&gt; 0 Then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; arrIDs.AddRange(hiddenIDs)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For Each rowItem As GridViewRow In GridView1.Rows<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim chk As CheckBox<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; chk = CType(rowItem.Cells(0).FindControl("chk1"), CheckBox)<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CatID = GridView1.DataKeys(rowItem.RowIndex)("MobileNo").ToString()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If chk.Checked Then<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Not arrIDs.Contains(CatID) Then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; arrIDs.Add(CatID)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ListBox1.Items.Add(CatID)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If (arrIDs.Contains(CatID)) Then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; arrIDs.Remove(CatID)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ListBox1.Items.Remove(CatID)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'lblselectedNos.Text = CatID<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hiddenIDs = CType(arrIDs.ToArray(Type.GetType("System.String")), String())<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hiddenCatIDs.Value = String.Join(",", hiddenIDs)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lblselectedNos.Text = hiddenCatIDs.Value<br />
&nbsp;&nbsp;&nbsp; End Sub</p>
</div>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10442075/how-to-do-this.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 18 Apr 2012 06:28:20 GMT</pubDate></item><item><title><![CDATA[how to call treeview methoh using jquery getjson]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/wcf/18/10441785/how-to-call-treeview-methoh-using-jquery-getjson.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/wcf/18/10441785/how-to-call-treeview-methoh-using-jquery-getjson.aspx]]></link><description><![CDATA[thnks for reply somesh yadav sir bt i have proble that i should take tree view from database&nbsp; and i should call it first in ado.net entity model and next should call it in wcf data service to get url i got the url after that i hve to call it in jquery getjson method i just need to knoe how to call in getjson method to (.js)file if ever help me plz help and thnks alote for reply&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/wcf/18/10441785/how-to-call-treeview-methoh-using-jquery-getjson.aspx" target="_self">read more</a>]]></description><pubDate>Tue, 17 Apr 2012 09:01:34 GMT</pubDate></item><item><title><![CDATA[select query particular phone number]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/mysql/77/10441573/select-query-particular-phone-number.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/mysql/77/10441573/select-query-particular-phone-number.aspx]]></link><description><![CDATA[hi friends,<br />
<br />
<br />
how to select particular phoneno select from table ,<br />
<br />
<br />
<span style="font-size: 10pt; font-family: courier new;"><span style="color: blue;">SET</span> @sqlQuery <span style="color: gray;">=</span> <span style="color: red;">'</span>SELECT
DATE_FORMAT(calldate,''''%Y%-%m-%d %H:%I:%s.000'''') as calldate,src
FROM mytable where DATE_FORMAT(calldate,''''%Y%-%m-%d %H:%I:%s.000'''')
&gt; ' + '''' + '''' + @LastUpdate_calldate + ''</span><br />
<br />
<br />
Eg:<br />
phone numbers:<br />
<br />
1035442029<br />
1035442030<br />
1035442031<br />
1035442032<br />
<br />
this is full procedure<br />
<br />
<p><span style="font-size: 10pt; font-family: courier new; color: blue;">create</span><span style="font-size: 10pt; font-family: courier new;"> <span style="color: blue;">procedure</span> myproc</span></p>
<p><span style="font-size: 10pt; font-family: courier new; color: blue;">as</span></p>
<p><span style="font-size: 10pt; font-family: courier new; color: blue;">Begin</span></p>
<p><span style="font-size: 10pt; font-family: courier new;">&nbsp;&nbsp;&nbsp; <span style="color: blue;">DECLARE</span> @variable <span style="color: blue;">VARCHAR</span><span style="color: gray;">(</span>50<span style="color: gray;">)</span></span></p>
<p><span style="font-size: 10pt; font-family: courier new;">&nbsp;&nbsp;&nbsp; <span style="color: blue;">DECLARE</span> @sqlQuery <span style="color: blue;">VARCHAR</span><span style="color: gray;">(</span>8000<span style="color: gray;">)</span></span></p>
<p><span style="font-size: 10pt; font-family: courier new;">&nbsp;&nbsp;&nbsp; <span style="color: blue;">DECLARE</span> @finalQuery <span style="color: blue;">VARCHAR</span><span style="color: gray;">(</span>8000<span style="color: gray;">)</span></span></p>
<p><span style="font-size: 10pt; font-family: courier new;">&nbsp;&nbsp;&nbsp; <span style="color: blue;">Declare</span> @LastUpdate_calldate <span style="color: blue;">varchar</span><span style="color: gray;">(</span>200<span style="color: gray;">)</span></span></p>
<p><span style="font-size: 10pt; font-family: courier new;">&nbsp;&nbsp; &nbsp;if isnull(@LastUpdate_calldate,'0')='0'</span></p>
<p><span style="font-size: 10pt; font-family: courier new;">
</span></p>
<p><span style="font-size: 10pt; font-family: courier new; color: blue;">&nbsp;&nbsp;&nbsp; BEGIN</span></p>
<p style="margin: 0cm 0cm 0.0001pt 36pt; text-indent: 36pt;"><span style="font-size: 10pt; font-family: courier new; color: blue;">set</span><span style="font-size: 10pt; font-family: courier new;"> @LastUpdate_calldate<span style="color: gray;">=</span><span style="color: fuchsia;">replace</span><span style="color: gray;">(</span><span style="color: fuchsia;">convert</span><span style="color: gray;">(</span><span style="color: blue;">varchar</span><span style="color: gray;">,</span><span style="color: fuchsia;">getdate</span><span style="color: gray;">()-</span>510<span style="color: gray;">,</span>102<span style="color: gray;">),</span><span style="color: red;">'.'</span><span style="color: gray;">,</span><span style="color: red;">'-'</span><span style="color: gray;">)</span> <span style="color: gray;">+</span> <span style="color: red;">' 00:00:00.000'</span></span></p>
<p><span style="font-size: 10pt; font-family: courier new; color: blue;">&nbsp;&nbsp;&nbsp; END</span></p>
<p><span style="font-size: 10pt; font-family: courier new; color: blue;">&nbsp;&nbsp;&nbsp; ELSE</span></p>
<p><span style="font-size: 10pt; font-family: courier new; color: blue;">&nbsp;&nbsp;&nbsp; BEGIN </span></p>
<p><span style="font-size: 10pt; font-family: courier new;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; <span style="color: blue;">set</span> @LastUpdate_calldate<span style="color: gray;">=</span><span style="color: fuchsia;">replace</span><span style="color: gray;">(</span><span style="color: fuchsia;">convert</span><span style="color: gray;">(</span><span style="color: blue;">varchar</span><span style="color: gray;">,</span><span style="color: fuchsia;">getdate</span><span style="color: gray;">(),</span>102<span style="color: gray;">),</span><span style="color: red;">'.'</span><span style="color: gray;">,</span><span style="color: red;">'-'</span><span style="color: gray;">)</span> <span style="color: gray;">+</span> <span style="color: red;">' 00:00:00.000'</span></span></p>
<p><span style="font-size: 10pt; font-family: courier new; color: blue;">&nbsp;&nbsp;&nbsp; END</span></p>
<p><span style="font-size: 10pt; font-family: courier new;">&nbsp; &nbsp; <span style="color: blue;">Print</span> @LastUpdate_calldate</span></p>
<p><span style="font-size: 10pt; font-family: courier new;">&nbsp;&nbsp;<br />
<span style="color: blue;"><br />
SET</span> @sqlQuery <span style="color: gray;">=</span> <span style="color: red;">'</span>SELECT
DATE_FORMAT(calldate,''''%Y%-%m-%d %H:%I:%s.000'''') as calldate,src
FROM mytable where DATE_FORMAT(calldate,''''%Y%-%m-%d %H:%I:%s.000'''')
&gt; ' + '''' + '''' + @LastUpdate_calldate + '''' + '''' <br />
<span style="color: red;"></span></span></p>
<p><span style="font-size: 10pt; font-family: courier new;">&nbsp;&nbsp;&nbsp;<br />
<br />
<br />
<br />
<br />
<span style="color: blue;">SET</span> @finalQuery <span style="color: gray;">=</span> <span style="color: red;">'SELECT * FROM OPENQUERY(LNKMY,'</span> <span style="color: gray;">+</span> <span style="color: red;">''''</span> <span style="color: gray;">+</span> @sqlQuery <span style="color: gray;">+</span> <span style="color: red;">''</span> <span style="color: gray;">+</span> <span style="color: red;">' Order By calldate desc&nbsp; '''</span> <span style="color: gray;">+</span> <span style="color: red;">')'</span></span></p>
<p><span style="font-size: 10pt; font-family: courier new;">&nbsp;&nbsp;&nbsp; <span style="color: blue;">SELECT</span> @finalQuery</span></p>
<p><span style="font-size: 10pt; font-family: courier new;">&nbsp;&nbsp;&nbsp; <span style="color: blue;">INSERT</span> <span style="color: blue;">INTO</span> MYTABLE <span style="color: gray;">(</span>calldate<span style="color: gray;">,</span>userfield<span style="color: gray;">)</span></span></p>
<p><span style="font-size: 10pt; font-family: courier new;">&nbsp;&nbsp;&nbsp; <span style="color: blue;">EXEC</span><span style="color: gray;">(</span>@finalQuery<span style="color: gray;">)</span></span></p>
<p><span style="font-size: 10pt; font-family: courier new; color: blue;">End</span><span> </span></p>
<br />
<br />
<br />
<br />
i want to select above phone numbers in this record how to write this query,<br />
<br />
please give the solution,<br />
<br />
thanks.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/mysql/77/10441573/select-query-particular-phone-number.aspx" target="_self">read more</a>]]></description><pubDate>Tue, 17 Apr 2012 01:37:12 GMT</pubDate></item><item><title><![CDATA[i have question for few js framework & Visual Studio LightSwitch]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10440763/i-have-question-for-few-js-framework--visual-studio-lightswitch.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10440763/i-have-question-for-few-js-framework--visual-studio-lightswitch.aspx]]></link><description><![CDATA[<br />
what is KnockoutJS.js and what is its use. in what type of situation people use this js file? it has any specific purpose?<br />
<br />
what is backbone.js and what is its use. in what type of situation people use this js file? it has any specific purpose?<br />
<br />
what is signalIR.js and what is its use. in what type of situation people use this js file? it has any specific purpose?<br />
<br />
Visual Studio LightSwitch is kind of project type. i saw that windows application can be developed by LightSwitch.<br />
it has any specific purpose. why people go for LightSwitch ?&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10440763/i-have-question-for-few-js-framework--visual-studio-lightswitch.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 13 Apr 2012 09:45:59 GMT</pubDate></item><item><title><![CDATA[strange issue with hierarchical data template]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/xaml/56/10440503/strange-issue-with-hierarchical-data-template.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/xaml/56/10440503/strange-issue-with-hierarchical-data-template.aspx]]></link><description><![CDATA[I have a hierarchical data template shown in a treeview.<br />
Treeview has items which as per the template have a TextBlock and also a&nbsp;CheckBox placed before each textblock.<br />
<br />
There is a checkbox item bound to a boolean property of an object. The object itself is set as the datacontext of the Treeview item.<br />
when I click on&nbsp;a treeviewitem(not checking it, just clicking), I do some operations that take time....meanwhile I show a
<p><font color="#2b91af" face="Consolas" size="2"><font color="#2b91af" face="Consolas" size="2"><font color="#2b91af" face="Consolas" size="2">BusyIndicator <font color="#3f3f3f">to the user.<br />
<br />
The problem is, the&nbsp;<font color="#2b91af" face="Consolas">BusyIndicator </font>disables the controls on the previous page even after its stopped and closed. When the&nbsp;<font color="#2b91af" face="Consolas">BusyIndicator&nbsp;</font>is gone&nbsp;,the checkboxes show up disabled and the debugger shows that datacontext object's boolean property changed.<br />
<br />
There is no code from my side doing this enable/disable thing.<br />
all attempts at tracing where and why this property is getting changed in vain so far. anyone seen this issue before?<br />
<br />
This is for silverlight 4 and C#.<br />
<br />
Is it a bug in silverlight? or am I missing something trivial?<br />
<br />
Any help appreciated.<br />
<br />
Thanks,<br />
Abhishek</font></font></font></font></p>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/xaml/56/10440503/strange-issue-with-hierarchical-data-template.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 12 Apr 2012 09:53:38 GMT</pubDate></item><item><title><![CDATA[GPL  Empty Schema of a MySQL Database For A Digital Library]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/mysql/77/10437073/gpl--empty-schema-of-a-mysql-database-for-a-digital-library.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/mysql/77/10437073/gpl--empty-schema-of-a-mysql-database-for-a-digital-library.aspx]]></link><description><![CDATA[Hello,<br />
<br />
I wonder if is available a GPL schema for a MySQL database to be used for a digital library. Generally speaking I wonder if there is a sort of schema repository for MySQL databases.<br />
<br />
Thank you.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/mysql/77/10437073/gpl--empty-schema-of-a-mysql-database-for-a-digital-library.aspx" target="_self">read more</a>]]></description><pubDate>Mon, 02 Apr 2012 04:55:13 GMT</pubDate></item><item><title><![CDATA[need some idea about  SQL-Tuner final year project]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/sql-server/13/10433675/need-some-idea-about--sqltuner-final-year-project.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/sql-server/13/10433675/need-some-idea-about--sqltuner-final-year-project.aspx]]></link><description><![CDATA[Iam doing my final year ms project , i select sql tuner . kindly help me by providing the doc or pdf of sql tuner and give some idea about my project&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/sql-server/13/10433675/need-some-idea-about--sqltuner-final-year-project.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 21 Mar 2012 01:31:29 GMT</pubDate></item><item><title><![CDATA[Documents Storage]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10431419/documents-storage.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10431419/documents-storage.aspx]]></link><description><![CDATA[Hi,<br />
&nbsp;I want to use visual web parts for an application and connect to external database. In that iam having a form with 3 textboxes and fileupload. The three textboxes data and filename to be stored in external sql server database and the attachment data should be stored in sharepoint server. Also, when I want to come out&nbsp; from sharepoint, I need to get my documents back. How could I. Please provide me a solution&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/sharepoint/69/10431419/documents-storage.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 14 Mar 2012 03:47:40 GMT</pubDate></item><item><title><![CDATA[group by multiple columns and make indented for items]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10424530/group-by-multiple-columns-and-make-indented-for-items.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10424530/group-by-multiple-columns-and-make-indented-for-items.aspx]]></link><description><![CDATA[Hi<br />
<br />
i am creating a site map. using rest web service in designer 2010 i am retrieving pages items into site pages.&nbsp; But problem with grouping, lets say level1, level2, level3 is columns name. when i am grouping by level1, level2 and level3 items is coming underneath of level3, eventhough items are level1 items. it should appear under level1. in designer there is another problem i can't move one item at a time for indented. if i move one item, all items are moving together that means they are linking eachother. Basically i would like to get&nbsp;something following:<br />
<br />
Level1:<br />
&nbsp;&nbsp;&nbsp;&nbsp; intro.aspx<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Level2:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sam.aspx<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Level3:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jal.aspx&nbsp;<br />
<br />
is it possible? bcz as i know items come at the innermost group as a default.<br />
<br />
Any help will be aprreciated.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/sharepoint/69/10424530/group-by-multiple-columns-and-make-indented-for-items.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 22 Feb 2012 22:56:14 GMT</pubDate></item><item><title><![CDATA[Err and give Solution]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/sql-server/13/10422074/err-and-give-solution.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/sql-server/13/10422074/err-and-give-solution.aspx]]></link><description><![CDATA[&nbsp;
<p>Find solution for me pls:<br />
<br />
i select all (drop1,drop2,radiobtnlst1,radiobtnlst2, are not equal means i want to display like this<br />
<font size="2"></p>
<p>&nbsp;</p>
<p></font></p>
<p>&nbsp;</p>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (DropDownList1.SelectedItem.Text != </font><font color="#a31515" size="2"><font color="#a31515" size="2">"ALL"</font></font><font size="2"> &amp;&amp; DropDownList2.SelectedItem.Text != </font><font color="#a31515" size="2"><font color="#a31515" size="2">"ALL"</font></font><font size="2"> &amp;&amp; RadioButtonList1.SelectedIndex != 0 &amp;&amp; RadioButtonList2.SelectedIndex != 0)</font></p>
<p><font size="2"></font><font size="2"></font><font size="2"></font></p>
<font size="2">
<p><font color="#008000" size="2"><font color="#008000" size="2"><br />
i want to display fromdate is creditdeduct table,servicename is serve table, userid is memreg table, categorytype(agent/member)is memreg table, type(credit/debit) is creditdeduct table, total from creditdeduct table.<br />
</font></font></p>
</font><font size="2">want to display like <font color="#0000ff" size="2"><font color="#0000ff" size="2">this</font></font> fromdate|servicename(drop1)|userid(drop2)|categorytype(agent/Member)(radio1)|type(credit/debit)(radio2)|total(creditdeduct table)|<br />
<br />
<font size="2">
<p>how to qry to </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">this</font></font><font size="2"> ? like </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">this</font></font><font size="2"> my qry </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">is</font></font><font size="2"> half correct But balance </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">is</font></font><font size="2"> dont know ? <br />
<br />
my err qry is:<br />
<br />
<font color="#008000" size="2"><font color="#008000" size="2"></font></font></font></p>
<font size="2"><font color="#008000" size="2"><font color="#008000" size="2"></font></font></font></font><font size="2">
<p>adap = new SqlDataAdapter("select a.fromdate,b.servicename,c.userid,d.type,e.debit,e.total from creditadd a,serve b,memreg c,serviceamount d,creditdeduct e where a.fromdate between '" + from.ToShortDateString() + "' and '" + to.ToShortDateString() + "' and b.id=e.services and c.userid=e.userid and d.type=e.type and e.debit=e.debit and e.total=e.total", con);</p>
<br />
<font color="#636363">my half correct qry is :<br />
<br />
</font><font size="2">
<p>adap = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlDataAdapter</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"select a.fromdate,b.servicename,c.userid,c.type,a.type,a.total from creditdeduct a,serve b,memreg c where a.fromdate between '"</font></font><font size="2"> + from.ToShortDateString() + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"' and '"</font></font><font size="2"> + to.ToShortDateString() + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"' and b.servicename='"</font></font><font size="2">+DropDownList1.SelectedItem.Value+</font><font color="#a31515" size="2"><font color="#a31515" size="2">"' and</font></font></p>
</font><font color="#a31515" size="2"><font color="#a31515" size="2"></font></font><br />
</font>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/sql-server/13/10422074/err-and-give-solution.aspx" target="_self">read more</a>]]></description><pubDate>Sat, 31 Mar 2012 16:00:28 GMT</pubDate></item><item><title><![CDATA[how to write here qry]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10421695/how-to-write-here-qry.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10421695/how-to-write-here-qry.aspx]]></link><description><![CDATA[<font size="2"><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (DropDownList1.SelectedItem.Text != </font><font color="#a31515" size="2"><font color="#a31515" size="2">"ALL"</font></font><font size="2"> &amp;&amp; DropDownList2.SelectedItem.Text != </font><font color="#a31515" size="2"><font color="#a31515" size="2">"ALL"</font></font> &amp;&amp; RadioButtonList1.SelectedIndex != 0 &amp;&amp; RadioButtonList2.SelectedIndex != 0)
<p>{</p>
</font><font size="2">adap = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlDataAdapter</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"select a.fromdate,b.servicename,c.userid,d.type,e.debit,e.total from creditadd a,serve b,memreg c,serviceamount d,creditdeduct e where a.fromdate between '"</font></font><font size="2"> + from.ToShortDateString() + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"' and '"</font></font><font size="2"> + to.ToShortDateString() + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"' and b.servicename=b.servicename and c.userid=c.userid and d.type=d.type and e.debit=e.debit and e.total=e.total"</font></font>, con);<font size="2">
<p>&nbsp;</p>
</font>
<p><font size="2">ds = </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">DataSet</font></font><font size="2">();</font></p>
<font size="2"></font></font><font size="2">
<p>adap.Fill(ds);</p>
<p>GridView1.DataSource = ds;</p>
<p>GridView1.DataBind();</p>
<p>}</p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (DropDownList1.SelectedItem.Text != </font><font color="#a31515" size="2"><font color="#a31515" size="2">"ALL"</font></font><font size="2"> &amp;&amp; DropDownList2.SelectedItem.Text == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"ALL"</font></font> &amp;&amp; RadioButtonList1.SelectedIndex == 0 &amp;&amp; RadioButtonList2.SelectedIndex == 0)
<p>{</p>
<font size="2">
<p>adap = </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlDataAdapter</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"select"</font></font><font size="2">,con);</font></p>
<font size="2"></font></font><font size="2">ds = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">DataSet</font></font>();
<p>adap.Fill(ds);</p>
<p>GridView1.DataSource = ds;</p>
<p>GridView1.DataBind();</p>
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (DropDownList1.SelectedItem.Text == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"ALL"</font></font><font size="2"> &amp;&amp; DropDownList2.SelectedItem.Text != </font><font color="#a31515" size="2"><font color="#a31515" size="2">"ALL"</font></font><font size="2"> &amp;&amp; RadioButtonList1.SelectedIndex == 0 &amp;&amp; RadioButtonList2.SelectedIndex == 0)</font></p>
<font size="2"></font></font><font size="2">
<p>{</p>
adap = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlDataAdapter</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"select"</font></font>, con);<font size="2">
<p>ds = </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">DataSet</font></font><font size="2">();</font></p>
<font size="2"></font></font><font size="2">
<p>adap.Fill(ds);</p>
<p>GridView1.DataSource = ds;</p>
<p>GridView1.DataBind();</p>
<p>}</p>
</font>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10421695/how-to-write-here-qry.aspx" target="_self">read more</a>]]></description><pubDate>Sat, 31 Mar 2012 16:00:28 GMT</pubDate></item><item><title><![CDATA[Join Codings]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10420324/join-codings.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10420324/join-codings.aspx]]></link><description><![CDATA[How to join this codings into my full codings:<br />
<br />
<br />
This is my 1st codings want to join in my full codings:<br />
<br />
<font color="#0000ff" size="2"><font color="#0000ff" size="2"><font color="#0000ff" size="2">
<p>if<font size="2"> (RadioButtonList1.SelectedIndex == 0)</font></p>
</font></font></font><font size="2">
<p>{</p>
LinkButton lkbupd = (LinkButton)e.CommandSource <font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font> LinkButton;<font size="2">
<p>GridViewRow row = lkbupd.NamingContainer </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> GridViewRow;</font></p>
<font size="2"></font></font><font size="2">Label lbid = (Label)row.FindControl(<font color="#a31515" size="2"><font color="#a31515" size="2">"lblid"</font></font>);<font size="2">
<p>TextBox txfrdate = (TextBox)row.FindControl(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"txtfrdate"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">TextBox txtodate = (TextBox)row.FindControl(<font color="#a31515" size="2"><font color="#a31515" size="2">"txttodate"</font></font>);<font size="2">
<p>TextBox txtitle = (TextBox)row.FindControl(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"txttitle"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">TextBox txdescription = (TextBox)row.FindControl(<font color="#a31515" size="2"><font color="#a31515" size="2">"txtdescription"</font></font>);<font size="2">
<p>RadioButtonList txradiocategory = (RadioButtonList)row.FindControl(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"radiotype"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">cmd = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> SqlCommand(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"update agentoffer set fromdate='"</font></font><font size="2"> + txfrdate.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',todate='"</font></font><font size="2"> + txtodate.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',title='"</font></font><font size="2"> + txtitle.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',description='"</font></font><font size="2"> + txdescription.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',category='"</font></font><font size="2"> + txradiocategory.SelectedItem.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"' where id='"</font></font><font size="2"> + lbid.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font>, con);
<p>cmd.ExecuteNonQuery();</p>
<p>GridView1.EditIndex = -1;</p>
<font size="2">
<p>Response.Write(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"Updated Successfully"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">
<p>bindgrid();</p>
<p>&nbsp;</p>
cmd = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> SqlCommand(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"insert into memoffer values (@fromdate,@todate,@title,@description,@category)"</font></font>, con);<font size="2">
<p>cmd.Parameters.AddWithValue(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"fromdate"</font></font><font size="2">, TextBox1.Text);</font></p>
<font size="2"></font></font><font size="2">cmd.Parameters.AddWithValue(<font color="#a31515" size="2"><font color="#a31515" size="2">"todate"</font></font>, TextBox2.Text);<font size="2">
<p>cmd.Parameters.AddWithValue(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"title"</font></font><font size="2">, TextBox3.Text);</font></p>
<font size="2"></font></font><font size="2">cmd.Parameters.AddWithValue(<font color="#a31515" size="2"><font color="#a31515" size="2">"description"</font></font>, TextBox4.Text);<font size="2">
<p>cmd.Parameters.AddWithValue(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"category"</font></font><font size="2">, RadioButtonList1.SelectedItem.Text);</font></p>
<font size="2"></font></font><font size="2">
<p>cmd.ExecuteNonQuery();</p>
TextBox1.Text = <font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font>;<font size="2">
<p>TextBox2.Text = </p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2">TextBox3.Text = <font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font>;<font size="2">
<p>TextBox4.Text = </p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2">
<p>RadioButtonList1.ClearSelection();</p>
Response.Write(<font color="#a31515" size="2"><font color="#a31515" size="2">"&lt;script&gt;alert('Successfull');&lt;/script&gt;"</font></font>);
<p>bindgrid1();</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (RadioButtonList1.SelectedIndex == 1)</font></p>
<font size="2"></font></font><font size="2">
<p>{</p>
LinkButton lkbupd = (LinkButton)e.CommandSource <font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font> LinkButton;<font size="2">
<p>GridViewRow row = lkbupd.NamingContainer </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> GridViewRow;</font></p>
<font size="2"></font></font><font size="2">Label lbid = (Label)row.FindControl(<font color="#a31515" size="2"><font color="#a31515" size="2">"lblid"</font></font>);<font size="2">
<p>TextBox txfrdate = (TextBox)row.FindControl(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"txtfrdate"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">TextBox txtodate = (TextBox)row.FindControl(<font color="#a31515" size="2"><font color="#a31515" size="2">"txttodate"</font></font>);<font size="2">
<p>TextBox txtitle = (TextBox)row.FindControl(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"txttitle"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">TextBox txdescription = (TextBox)row.FindControl(<font color="#a31515" size="2"><font color="#a31515" size="2">"txtdescription"</font></font>);<font size="2">
<p>RadioButtonList txradiocategory = (RadioButtonList)row.FindControl(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"radiotype"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">cmd = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> SqlCommand(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"update memoffer set fromdate='"</font></font><font size="2"> + txfrdate.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"', todate='"</font></font><font size="2"> + txtodate.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"', title='"</font></font><font size="2"> + txtitle.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"', description='"</font></font><font size="2"> + txdescription.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"', category='"</font></font><font size="2"> + txradiocategory.SelectedItem.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"' where id='"</font></font><font size="2"> + lbid.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font>, con);
<p>cmd.ExecuteNonQuery();</p>
<p>GridView2.EditIndex = -1;</p>
<font size="2">
<p>Response.Write(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"Updated Successfully"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">
<p>bindgrid1();</p>
<p>&nbsp;</p>
cmd = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> SqlCommand(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"insert into agentoffer values (@fromdate,@todate,@title,@description,@category)"</font></font>, con);<font size="2">
<p>cmd.Parameters.AddWithValue(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"fromdate"</font></font><font size="2">, TextBox1.Text);</font></p>
<font size="2"></font></font><font size="2">cmd.Parameters.AddWithValue(<font color="#a31515" size="2"><font color="#a31515" size="2">"todate"</font></font>, TextBox2.Text);<font size="2">
<p>cmd.Parameters.AddWithValue(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"title"</font></font><font size="2">, TextBox3.Text);</font></p>
<font size="2"></font></font><font size="2">cmd.Parameters.AddWithValue(<font color="#a31515" size="2"><font color="#a31515" size="2">"description"</font></font>, TextBox4.Text);<font size="2">
<p>cmd.Parameters.AddWithValue(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"category"</font></font><font size="2">, RadioButtonList1.SelectedItem.Text);</font></p>
<font size="2"></font></font><font size="2">
<p>cmd.ExecuteNonQuery();</p>
TextBox1.Text = <font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font>;<font size="2">
<p>TextBox2.Text = </p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2">TextBox3.Text = <font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font>;<font size="2">
<p>TextBox4.Text = </p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2">
<p>RadioButtonList1.ClearSelection();</p>
Response.Write(<font color="#a31515" size="2"><font color="#a31515" size="2">"&lt;script&gt;alert('Successfull');&lt;/script&gt;"</font></font>);
<p>bindgrid();</p>
<p>&nbsp;</p>
<p>}</p>
</font><br />
<br />
<br />
This is my full codings:<br />
<br />
<font size="2"><font color="#0000ff" size="2"><font color="#0000ff" size="2">protected</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">void</font></font><font size="2"> GridView1_RowCommand(</font><font color="#0000ff" size="2"><font color="#0000ff" size="2">object</font></font><font size="2"> sender, </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewCommandEventArgs</font></font> e)
<p>{</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">try</font></font></p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2"></font></font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2"></font></font><font size="2">
<p>{</p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (con.State == </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">ConnectionState</font></font>.Closed)
<p>{</p>
<p>con.Open();</p>
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"can"</font></font><font size="2">)</font></p>
<font size="2"></font></font><font size="2">
<p>{</p>
<p>GridView1.EditIndex = -1;</p>
<p>bindgrid();</p>
<p>}</p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"upd"</font></font>)
<p>{</p>
<p>&nbsp;</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2"> lkbupd = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">)e.CommandSource </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2"> row = lkbupd.NamingContainer </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font>;<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2"> lbid = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"lblid"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txfrdate = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txtfrdate"</font></font>);<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txtodate = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txttodate"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txtitle = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txttitle"</font></font>);<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txdescription = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txtdescription"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">RadioButtonList</font></font><font size="2"> txradiocategory = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">RadioButtonList</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"radiotype"</font></font>);
<p>&nbsp;</p>
<font size="2">
<p>cmd = </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"update agentoffer set fromdate='"</font></font><font size="2"> + txfrdate.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',todate='"</font></font><font size="2"> + txtodate.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',title='"</font></font><font size="2"> + txtitle.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',description='"</font></font><font size="2"> + txdescription.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',category='"</font></font><font size="2"> + txradiocategory.SelectedItem.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"' where id='"</font></font><font size="2"> + lbid.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font><font size="2">, con);</font></p>
<font size="2"></font></font><font size="2">
<p>cmd.ExecuteNonQuery();</p>
<p>GridView1.EditIndex = -1;</p>
Response.Write(<font color="#a31515" size="2"><font color="#a31515" size="2">"Updated Successfully"</font></font>);
<p>bindgrid();</p>
<p>&nbsp;</p>
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"del"</font></font><font size="2">)</font></p>
<font size="2"></font></font><font size="2">
<p>{</p>
<font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2"> lnkdel = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">)e.CommandSource </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font>;<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2"> row = lnkdel.NamingContainer </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2"> lid = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"lblid"</font></font>);<font size="2">
<p>cmd = </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"delete from agentoffer where id='"</font></font><font size="2"> + lid.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font><font size="2">, con);</font></p>
<font size="2"></font></font><font size="2">
<p>cmd.ExecuteNonQuery();</p>
Response.Write(<font color="#a31515" size="2"><font color="#a31515" size="2">"Deleted Successfully"</font></font>);
<p>bindgrid();</p>
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"Edit"</font></font><font size="2">)</font></p>
<font size="2"></font></font><font size="2">
<p>{</p>
<font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2"> lnkedit = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">)e.CommandSource </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font>;<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2"> row = lnkedit.NamingContainer </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2">lbradio = (<font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"lblcategory"</font></font>);
<p>}</p>
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">catch</font></font><font size="2"> (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">Exception</font></font><font size="2"> ex)</font></p>
<font size="2"></font></font><font size="2">
<p>{</p>
Response.Write(<font color="#a31515" size="2"><font color="#a31515" size="2">"Error:"</font></font> + ex.ToString());
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">finally</font></font></p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2"></font></font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2"></font></font><font size="2">
<p>{</p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (con.State == </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">ConnectionState</font></font>.Open)
<p>{</p>
<p>con.Close();</p>
<p>}</p>
<p>}</p>
<p>}</p>
</font><br />
<br />
<font color="#0000ff" size="2"><font color="#0000ff" size="2"><font color="#0000ff" size="2">
<p>protected<font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">void</font></font><font size="2"> GridView2_RowCommand(</font><font color="#0000ff" size="2"><font color="#0000ff" size="2">object</font></font><font size="2"> sender, </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewCommandEventArgs</font></font><font size="2"> e)</font></p>
</font></font></font><font size="2">
<p>{</p>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">try</font></font></p>
</font><font size="2">
<p>{</p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (con.State == </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">ConnectionState</font></font>.Closed)
<p>{</p>
<p>con.Open();</p>
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"can"</font></font><font size="2">)</font></p>
<font size="2"></font></font><font size="2">
<p>{</p>
<p>GridView2.EditIndex = -1;</p>
<p>bindgrid1();</p>
<p>}</p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"upd"</font></font>)
<p>{</p>
<p>&nbsp;</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2"> lkbupd = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">)e.CommandSource </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2"> row = lkbupd.NamingContainer </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font>;<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2"> lbid = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"lblid"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txfrdate = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txtfrdate"</font></font>);<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txtodate = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txttodate"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txtitle = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txttitle"</font></font>);<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txdescription = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txtdescription"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">RadioButtonList</font></font><font size="2"> txradiocategory = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">RadioButtonList</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"radiotype"</font></font>);
<p>&nbsp;</p>
<font size="2">
<p>cmd = </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"update memoffer set fromdate='"</font></font><font size="2"> + txfrdate.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"', todate='"</font></font><font size="2"> + txtodate.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"', title='"</font></font><font size="2"> + txtitle.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"', description='"</font></font><font size="2"> + txdescription.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"', category='"</font></font><font size="2"> + txradiocategory.SelectedItem.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"' where id='"</font></font><font size="2"> + lbid.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font><font size="2">, con);</font></p>
<font size="2"></font></font><font size="2">
<p>cmd.ExecuteNonQuery();</p>
<p>GridView2.EditIndex = -1;</p>
Response.Write(<font color="#a31515" size="2"><font color="#a31515" size="2">"Updated Successfully"</font></font>);
<p>bindgrid1();</p>
<p>&nbsp;</p>
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"del"</font></font><font size="2">)</font></p>
<font size="2"></font></font><font size="2">
<p>{</p>
<font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2"> lnkdel = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">)e.CommandSource </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font>;<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2"> row = lnkdel.NamingContainer </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2"> lid = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"lblid"</font></font>);<font size="2">
<p>cmd = </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"delete from memoffer where id='"</font></font><font size="2"> + lid.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font><font size="2">, con);</font></p>
<font size="2"></font></font><font size="2">
<p>cmd.ExecuteNonQuery();</p>
Response.Write(<font color="#a31515" size="2"><font color="#a31515" size="2">"Deleted Successfully"</font></font>);
<p>bindgrid1();</p>
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"Edit"</font></font><font size="2">)</font></p>
<font size="2"></font></font><font size="2">
<p>{</p>
<font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2"> lnkedit = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">)e.CommandSource </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font>;<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2"> row = lnkedit.NamingContainer </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2">lbradio = (<font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"lblcategory"</font></font>);
<p>}</p>
<p>&nbsp;</p>
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">catch</font></font><font size="2"> (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">Exception</font></font><font size="2"> ex)</font></p>
<font size="2"></font></font><font size="2">
<p>{</p>
Response.Write(<font color="#a31515" size="2"><font color="#a31515" size="2">"Error:"</font></font> + ex.ToString());
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">finally</font></font></p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2"></font></font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2"></font></font><font size="2">
<p>{</p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (con.State == </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">ConnectionState</font></font>.Open)
<p>{</p>
<p>con.Close();</p>
<p>}</p>
<p>}</p>
<p>&nbsp;</p>
<p>}</p>
<p>&nbsp;</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p >how to join my 1st codings into second codings:<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</p>
</font>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10420324/join-codings.aspx" target="_self">read more</a>]]></description><pubDate>Sat, 31 Mar 2012 16:00:28 GMT</pubDate></item><item><title><![CDATA[rms]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/other/39/10420208/rms.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/other/39/10420208/rms.aspx]]></link><description><![CDATA[Hi can anybody help me I'm trying to load dll file to store operation POS,. but everytime i load my dll file it says<br />
"atttemp to execute COM object C:\Documents and Settings\rms\Desktop\MyDll.dll failed. Could not create object."<br />
I already regiser my dll in the registry but still nothing happened.<br />
<br />
please help,. thanks in advance.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/other/39/10420208/rms.aspx" target="_self">read more</a>]]></description><pubDate>Sat, 31 Mar 2012 16:00:28 GMT</pubDate></item><item><title><![CDATA[calulation+update]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10420077/calulationupdate.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10420077/calulationupdate.aspx]]></link><description><![CDATA[i have update and my calculation&nbsp;codings like this how to update my calculation also here: <br />
eg:<br />
user&nbsp;&nbsp; point&nbsp;&nbsp; &nbsp;total<br />
&nbsp;user1&nbsp;&nbsp; 50&nbsp;&nbsp; 50<br />
user1&nbsp;&nbsp;&nbsp; 100&nbsp;&nbsp;&nbsp; 150 // if i update means point is 50means it want to show in last total 200 but it not showing it ?<br />
user1&nbsp;&nbsp;&nbsp; 100&nbsp;&nbsp;&nbsp; 250&nbsp; //want to display 200 when i am update 50points means ?<br />
my update coding:<br />
<font color="#0000ff" size="2"><font color="#0000ff" size="2"><font color="#0000ff" size="2">
<p>else<font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"upd"</font></font><font size="2">)</font></p>
</font></font></font><font size="2">
<p>{</p>
<font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2"> lkbupd = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">)e.CommandSource </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font>;<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2"> row = lkbupd.NamingContainer </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2"> lbid = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"lblid"</font></font>);<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#008000" size="2"><font color="#008000" size="2">//TextBox txusrid = (TextBox)row.FindControl("txtusrid");</font></font></p>
<font color="#008000" size="2"><font color="#008000" size="2"></font></font></font><font color="#008000" size="2"><font color="#008000" size="2"></font></font><font size="2">
<p><font color="#008000" size="2"><font color="#008000" size="2">//TextBox txusrname = (TextBox)row.FindControl("txtusrname");</font></font></p>
</font><font size="2">
<p><font color="#008000" size="2"><font color="#008000" size="2">//TextBox txservices = (TextBox)row.FindControl("txtservices");</font></font></p>
</font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txcredit = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txtcredit"</font></font>);<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txtotal = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txttotal"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">cmd = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"update creditadd set credit='"</font></font><font size="2"> + txcredit.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',total='"</font></font><font size="2">+txtotal.Text+</font><font color="#a31515" size="2"><font color="#a31515" size="2">"' where cid ='"</font></font><font size="2"> + lbid.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font>, con);
<p>cmd.ExecuteNonQuery();</p>
<p>GridView1.EditIndex = -1;</p>
<font size="2">
<p>Response.Write(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"Updated Successfully"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">
<p>bindgrid();</p>
dropbind();<br />
<br />
<br />
my calculation coding is:<br />
<br />
<font size="2">
<p>cmd = </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"select sum(credit) AS total from creditadd where cid&lt;=cid and userid='"</font></font><font size="2"> + TextBox1.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"' and username='"</font></font><font size="2"> + TextBox2.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font><font size="2">, con); </font></p>
<font size="2"></font><font size="2">
<p><font size="2">dr = cmd.ExecuteReader();</font></p>
</font>
<p>dr.Read();</p>
<font size="2">
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (dr.HasRows)</font></p>
</font><font size="2"></font>
<p>{</p>
<font size="2">
<p>total = <font color="#0000ff" size="2"><font color="#0000ff" size="2">float</font></font><font size="2">.Parse(dr[0].ToString());</font></p>
</font><font size="2"></font><font size="2">
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">float</font></font><font size="2"> f = total + </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">float</font></font><font size="2">.Parse(TextBox3.Text);</font></p>
</font>
<p>dr.Close();</p>
<p>&nbsp;</p>
<font size="2">
<p>cmd = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"insert into creditadd(userid,username,services,credit,total)values('"</font></font><font size="2"> + TextBox1.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"','"</font></font><font size="2"> + TextBox2.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"','"</font></font><font size="2"> + DropDownList1.SelectedItem.Value + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"','"</font></font><font size="2"> + TextBox3.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"','"</font></font><font size="2">+f+</font><font color="#a31515" size="2"><font color="#a31515" size="2">"')"</font></font><font size="2">, con);</font></p>
</font><font size="2"></font>
<p>cmd.ExecuteNonQuery();</p>
<font size="2">
<p>TextBox1.Text = <font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font><font size="2">;</font></p>
</font><font size="2"></font><font size="2">
<p>TextBox2.Text = <font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font><font size="2">;</font></p>
</font><font size="2">
<p>TextBox3.Text = <font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font><font size="2">;</font></p>
</font><font size="2">
<p>Response.Write(<font color="#a31515" size="2"><font color="#a31515" size="2">"&lt;script&gt;alert('Successfull');&lt;/script&gt;"</font></font><font size="2">);</font></p>
</font>
<p>bindgrid();</p>
<p>dropbind();</p>
<p>}</p>
<font size="2">
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font></p>
</font><font color="#0000ff" size="2"><font color="#0000ff" size="2"></font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">
<p>&nbsp;</p>
</font></font>
<p><font size="2"></font></p>
<font size="2"></font>
<p>{</p>
<p>dr.Close();</p>
<p>}</p>
</font>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10420077/calulationupdate.aspx" target="_self">read more</a>]]></description><pubDate>Sat, 31 Mar 2012 16:00:28 GMT</pubDate></item><item><title><![CDATA[Execute in update]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10420069/execute-in-update.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10420069/execute-in-update.aspx]]></link><description><![CDATA[<font size="2">
<p>i want to execute this method in gridview update:<br />
<br />
cmd = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"select sum(credit) AS total from creditadd where cid&lt;=cid and userid='"</font></font><font size="2"> + TextBox1.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"' and username='"</font></font><font size="2"> + TextBox2.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font><font size="2">, con); </font></p>
</font><font size="2">
<p>dr = cmd.ExecuteReader();</p>
<p>dr.Read();</p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font> (dr.HasRows)
<p>{</p>
<font size="2">
<p>total = </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">float</font></font><font size="2">.Parse(dr[0].ToString());</font></p>
<font size="2"></font></font><font size="2"><font color="#0000ff" size="2"><font color="#0000ff" size="2">float</font></font><font size="2"> f = total + </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">float</font></font>.Parse(TextBox3.Text);
<p>dr.Close();</p>
<p>&nbsp;</p>
<font size="2">
<p>cmd = </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"insert into creditadd(userid,username,services,credit,total)values('"</font></font><font size="2"> + TextBox1.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"','"</font></font><font size="2"> + TextBox2.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"','"</font></font><font size="2"> + DropDownList1.SelectedItem.Value + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"','"</font></font><font size="2"> + TextBox3.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"','"</font></font><font size="2">+f+</font><font color="#a31515" size="2"><font color="#a31515" size="2">"')"</font></font><font size="2">, con);</font></p>
<font size="2"></font></font><font size="2">
<p>cmd.ExecuteNonQuery();</p>
TextBox1.Text = <font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font>;<font size="2">
<p>TextBox2.Text = </p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2">TextBox3.Text = <font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font>;<font size="2">
<p>Response.Write(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"&lt;script&gt;alert('Successfull');&lt;/script&gt;"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">
<p>bindgrid();</p>
<p>dropbind();</p>
<p>}</p>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font></p>
</font><font size="2">
<p>{</p>
<p>dr.Close();</p>
<p>}</p>
</font><br />
<br />
fou update codings i have like this:<br />
<br />
<font size="2"><font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"upd"</font></font>)
<p>{</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2"> lkbupd = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">)e.CommandSource </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2"> row = lkbupd.NamingContainer </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font>;<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2"> lbid = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"lblid"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txcredit = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txtcredit"</font></font>);<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txtotal = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txttotal"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">cmd = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"update creditadd set credit='"</font></font><font size="2"> + txcredit.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',total='"</font></font><font size="2">+txtotal.Text+</font><font color="#a31515" size="2"><font color="#a31515" size="2">"' where cid ='"</font></font><font size="2"> + lbid.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font>, con);
<p>cmd.ExecuteNonQuery();</p>
<p>GridView1.EditIndex = -1;</p>
<font size="2">
<p>Response.Write(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"Updated Successfully"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">
<p>bindgrid();</p>
<p>dropbind();</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
//cmd = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"select cid from creditadd where userid='"</font></font><font size="2"> + TextBox1.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"' and username='"</font></font><font size="2"> + TextBox2.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font>, con);
<p>adap.Fill(ds);</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#008000" size="2"><font color="#008000" size="2">//ds.Tables[1].Rows[0].ToString()</font></font></p>
<font color="#008000" size="2"><font color="#008000" size="2"></font></font></font><font color="#008000" size="2"><font color="#008000" size="2"></font></font><font size="2">
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">//for</font></font><font size="2">(</font><font color="#0000ff" size="2"><font color="#0000ff" size="2">int</font></font><font size="2"> m=0;m&lt;ds.Tables[0].Rows[m][</font><font color="#a31515" size="2"><font color="#a31515" size="2">"cid"</font></font><font size="2">].ToString())</font></p>
</font>{<br />
//what i have write here codings&nbsp;?<br />
}<br />
<br />
<br />
how to join this 1st codings in update ?<br />
<br />
<br />
<br />
<br />&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10420069/execute-in-update.aspx" target="_self">read more</a>]]></description><pubDate>Sat, 31 Mar 2012 16:00:28 GMT</pubDate></item><item><title><![CDATA[Error exporting built-in CrystalReport in VS2003 with 2.0 FrameWork?]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/visual-studio/7/10419991/error-exporting-builtin-crystalreport-in-vs2003-with-20-framework.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/visual-studio/7/10419991/error-exporting-builtin-crystalreport-in-vs2003-with-20-framework.aspx]]></link><description><![CDATA[<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">Greetings,</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">&nbsp;</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">I have a software that can be customized and I have a custom application developed using .Net 2003 and 1.1 Framework and its reports are built using the built-in crystal report inside the Visual Studio....</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">&nbsp;</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">Then I have to develop another application using Vb.Net 2005 and ofcourse the framework is 2.0 and so I have I update the Config file of the software in order to read the 2.0 framework.</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">&nbsp;</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">The 2 applications are running smoothly and when I generate a report from the .Net2003 application it generates successfully but if I need to export it into PDF file using the built-in export functionality it generates the following error.</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">&nbsp;</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<em style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;">Crystal Report Windows Forms Viewer<br />
---------------------------<br />
Method 'ISCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.EditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overridden.&nbsp;</em><span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;"></span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">&nbsp;</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">So please can I have a little help over here...</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">&nbsp;</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">Please advise...</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">&nbsp;</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">Thanks in advance....</span>&nbsp;&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/visual-studio/7/10419991/error-exporting-builtin-crystalreport-in-vs2003-with-20-framework.aspx" target="_self">read more</a>]]></description><pubDate>Sat, 31 Mar 2012 16:00:28 GMT</pubDate></item><item><title><![CDATA[security  taskpane]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/word/67/10419684/security--taskpane.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/word/67/10419684/security--taskpane.aspx]]></link><description><![CDATA[&nbsp;I have&nbsp;this&nbsp; piece of&nbsp; VBA code <br />
<br />
&nbsp;If Err.Number &lt;&gt; 0 Then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MsgBox "this procedure doesn't continue..." _<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp; vbCrLf &amp; "please change the security settings " _<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp; vbCrLf &amp; vbCrLf &amp; " 1. Click on the&nbsp;&nbsp;&nbsp; '&nbsp;Trusted Publishers ' Tab&nbsp;" &amp; vbCrLf _<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp; " 2.&nbsp;cljck '&nbsp;Trust access to Visual basic Project.'", _<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vbCritical<br />
&nbsp;&nbsp;&nbsp;CommandBars.FindControl(ID:=3627).Execute&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp; End If<br />
<br />
&nbsp; my problem is to view the message box&nbsp; and the task pane at the same time . Is it possible ?<br />
<br />
<br />
<br />&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/word/67/10419684/security--taskpane.aspx" target="_self">read more</a>]]></description><pubDate>Sat, 31 Mar 2012 16:00:28 GMT</pubDate></item><item><title><![CDATA[Connecting to multiple clients' local SQL servers from Cloud based IIS]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/iis/51/10418860/connecting-to-multiple-clients-local-sql-servers-from-cloud-based-iis.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/iis/51/10418860/connecting-to-multiple-clients-local-sql-servers-from-cloud-based-iis.aspx]]></link><description><![CDATA[I am developing a web app that is not doing anything fancy. &nbsp;The parent company wants to use a cloud based IIS service to support the web app and then submit the information to the client's local SQL servers through the internet and the client's firewalls. &nbsp;Traffic isn't that much of an issue, we are talking about probably no more than 10 submissions daily per client. &nbsp;My question is with regard to connecting to the client's SQL servers and running the Stored Proc on each server. &nbsp;We already have admin&nbsp;privileges&nbsp;on the firewalls and servers to do what we need to do to make anything happen.<br />
<br />
What would be my best/reliable/secure method to implement this service?<br />
<br />
Page asks for 10 items of info then submits to Stored Proc, that's it... with a local IIS server there is no problem, works nice. &nbsp;I want to make sure that the information stays secured, not just for the 10 items, but the SQL server and any security between it and the IIS server.<br />
<br />
Any recommendations?<br />
<br />
Thanks&nbsp;<br />
-George&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/iis/51/10418860/connecting-to-multiple-clients-local-sql-servers-from-cloud-based-iis.aspx" target="_self">read more</a>]]></description><pubDate>Sat, 31 Mar 2012 16:00:28 GMT</pubDate></item><item><title><![CDATA[Displaying list items to anthor page]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10418353/displaying-list-items-to-anthor-page.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10418353/displaying-list-items-to-anthor-page.aspx]]></link><description><![CDATA[<!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:TrackMoves/>
  <w:TrackFormatting/>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:DoNotPromoteQF/>
  <w:LidThemeOther>EN-US</w:LidThemeOther>
  <w:LidThemeAsian>X-NONE</w:LidThemeAsian>
  <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
   <w:SplitPgBreakAndParaMark/>
   <w:DontVertAlignCellWithSp/>
   <w:DontBreakConstrainedForcedTables/>
   <w:DontVertAlignInTxbx/>
   <w:Word11KerningPairs/>
   <w:CachedColBalance/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
  <m:mathPr>
   <m:mathFont m:val="Cambria Math"/>
   <m:brkBin m:val="before"/>
   <m:brkBinSub m:val="&#45;-"/>
   <m:smallFrac m:val="off"/>
   <m:dispDef/>
   <m:lMargin m:val="0"/>
   <m:rMargin m:val="0"/>
   <m:defJc m:val="centerGroup"/>
   <m:wrapIndent m:val="1440"/>
   <m:intLim m:val="subSup"/>
   <m:naryLim m:val="undOvr"/>
  </m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
  DefSemiHidden="true" DefQFormat="false" DefPriority="99"
  LatentStyleCount="267">
  <w:LsdException Locked="false" Priority="0" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
  <w:LsdException Locked="false" Priority="9" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 1"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 2"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 3"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 4"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 5"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 6"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 7"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 8"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 9"/>
  <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
  <w:LsdException Locked="false" Priority="10" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Title"/>
  <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
  <w:LsdException Locked="false" Priority="11" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
  <w:LsdException Locked="false" Priority="22" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
  <w:LsdException Locked="false" Priority="20" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
  <w:LsdException Locked="false" Priority="59" SemiHidden="false"
   UnhideWhenUsed="false" Name="Table Grid"/>
  <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
  <w:LsdException Locked="false" Priority="1" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 1"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
  <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
  <w:LsdException Locked="false" Priority="34" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
  <w:LsdException Locked="false" Priority="29" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
  <w:LsdException Locked="false" Priority="30" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 1"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 2"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 2"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 3"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 3"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 4"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 4"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 5"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 5"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 6"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 6"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
  <w:LsdException Locked="false" Priority="19" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
  <w:LsdException Locked="false" Priority="21" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
  <w:LsdException Locked="false" Priority="31" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
  <w:LsdException Locked="false" Priority="32" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
  <w:LsdException Locked="false" Priority="33" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
  <w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
  <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
 </w:LatentStyles>
</xml><![endif]-->

    <!--
    /* Font Definitions */
    @font-face
    {font-family:"Cambria Math";
    panose-1:2 4 5 3 5 4 6 3 2 4;
    mso-font-charset:0;
    mso-generic-font-family:roman;
    mso-font-pitch:variable;
    mso-font-signature:-1610611985 1107304683 0 0 159 0;}
    @font-face
    {font-family:Calibri;
    panose-1:2 15 5 2 2 2 4 3 2 4;
    mso-font-alt:"Japanese Gothic";
    mso-font-charset:0;
    mso-generic-font-family:swiss;
    mso-font-pitch:variable;
    mso-font-signature:-1610611985 1073750139 0 0 159 0;}
    /* Style Definitions */
    p.MsoNormal, li.MsoNormal, div.MsoNormal
    {mso-style-unhide:no;
    mso-style-qformat:yes;
    mso-style-parent:"";
    margin:0in;
    margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:12.0pt;
    font-family:"Times New Roman","serif";
    mso-fareast-font-family:Calibri;
    mso-fareast-theme-font:minor-latin;}
    .MsoChpDefault
    {mso-style-type:export-only;
    mso-default-props:yes;
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:Calibri;
    mso-fareast-theme-font:minor-latin;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    @page WordSection1
    {size:8.5in 11.0in;
    margin:1.0in 1.0in 1.0in 1.0in;
    mso-header-margin:.5in;
    mso-footer-margin:.5in;
    mso-paper-source:0;}
    div.WordSection1
    {page:WordSection1;}

<span style="font-size: 12pt; font-family: &quot;times new roman&quot;,&quot;serif&quot;;">Hi,<br />
i have one list.that list having items with taxonomy tags.that list item displaying to anther page.please tel with source code<br />
</span>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/sharepoint/69/10418353/displaying-list-items-to-anthor-page.aspx" target="_self">read more</a>]]></description><pubDate>Sat, 31 Mar 2012 16:00:28 GMT</pubDate></item></channel></rss>

