ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2017 www.aspforums.com. All rights reserved.Zip folder containing Excel files and then download in ASP.Net<p>Hi all</p> <p>Can any one give me an idea about how to zip the folder and ask for the open save prompt in c#.net</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/202919/Zip-folder-containing-Excel-files-and-then-download-in-ASPNet/http://www.aspforums.net/Threads/202919/Zip-folder-containing-Excel-files-and-then-download-in-ASPNet/Thu, 17 Jan 2013 22:33:21 GMTWord Document Using Asp.net<p>im getting the error,</p> <p>Error3Could not resolve COM reference "0002e558-0000-0000-c000-000000000046" version 1.1. Object reference not set to an instance of an object</p>http://www.aspforums.net/Threads/526478/Word-Document-Using-Aspnet/http://www.aspforums.net/Threads/526478/Word-Document-Using-Aspnet/Tue, 22 Sep 2015 02:23:09 GMTWhat Software or API is needed to integrate Barcode Scanner in ASP.Net Website<p>hi</p> <p>&nbsp;please guide me the right way to using barcode scanner integrated into existing or new vb.net application.&nbsp;</p>http://www.aspforums.net/Threads/868473/What-Software-or-API-is-needed-to-integrate-Barcode-Scanner-in-ASPNet-Website/http://www.aspforums.net/Threads/868473/What-Software-or-API-is-needed-to-integrate-Barcode-Scanner-in-ASPNet-Website/Thu, 23 May 2013 04:46:28 GMTWhat is Spring.Net and how to use it in ASP.Net<p><span>Hello,</span><br /><span>&nbsp;</span><br /><span>I heard the concept&nbsp;</span><strong>Spring in JAVA</strong><span>, but I found that, we have&nbsp;</span><strong>Spring in .Net also</strong><span>.</span><br /><span>If it is there,</span><strong>&nbsp;then what is it and how to use?</strong><br /><strong>Why should I use Spring.Net?<br />What will be the advantages?</strong><br /><span>&nbsp;</span><br /><span>Thank you in advance...........</span></p>http://www.aspforums.net/Threads/307750/What-is-SpringNet-and-how-to-use-it-in-ASPNet/http://www.aspforums.net/Threads/307750/What-is-SpringNet-and-how-to-use-it-in-ASPNet/Wed, 26 Jun 2013 01:53:52 GMTWhat is OCR template and how to use it in .net application<p>i need to implement application using ocr template&nbsp; ,i am new to this concept</p> <p>so will u give any tutorial related to ocr template using rad controls ? my task is using rad controls</p> <p>in grid grid view i need to display records from database then i have to do task on&nbsp; ocr template ?please give me related tutorials related ocr templates using rad controls?</p>http://www.aspforums.net/Threads/396143/What-is-OCR-template-and-how-to-use-it-in-net-application/http://www.aspforums.net/Threads/396143/What-is-OCR-template-and-how-to-use-it-in-net-application/Wed, 26 Jun 2013 01:49:27 GMTWatermark PDF using iTextSharp in ASP.Net<p>can you please tell me that how to add watermark to uploaded doc (pdf or image files).<br /><br />The workflow will be-<br /><br />User register at portal -&gt; user upload some required document (like financial proof or some kind) -&gt; When saving them to database -&gt; a watermark (predefined by admin at backend in admin panel as - Logo or Text) will be added to those uploaded document on top and bottom or wherever possible on the uploaded document.<br /><br />So in future when admin views the document uploaded by him in his account, it will be displayed with stamp or the whatermark. it will proof that the document is uploaded to server by user or whatever.&nbsp; :P<br /><br />Now, this we have found way to do in jpg, but in case of pdf its quite tough.. please guide.<br /><br />Thanks..:)</p>http://www.aspforums.net/Threads/825345/Watermark-PDF-using-iTextSharp-in-ASPNet/http://www.aspforums.net/Threads/825345/Watermark-PDF-using-iTextSharp-in-ASPNet/Wed, 10 Sep 2014 04:59:01 GMTUnzip (Extract) a Zip file from Folder using C# .Net<p>Hello, I am using this article</p> <p><a href="http://www.aspsnippets.com/Articles/Upload-Unzip-and-Extract-contents-Zip-Archive-file-in-ASPNet-using-C-and-VBNet.aspx">http://www.aspsnippets.com/Articles/Upload-Unzip-and-Extract-contents-Zip-Archive-file-in-ASPNet-using-C-and-VBNet.aspx</a></p> <p>My question is on how to unzip file without the file upload, since there's no fieupload, the file will&nbsp;manually code behind.</p> <p>For example:</p> <p>file.zip, then it will be unzip in the folder files.</p> <p>The file.zip is fixed in code behind.</p> <p>Thanks</p>http://www.aspforums.net/Threads/209668/Unzip-Extract-a-Zip-file-from-Folder-using-C-Net/http://www.aspforums.net/Threads/209668/Unzip-Extract-a-Zip-file-from-Folder-using-C-Net/Tue, 17 Mar 2015 02:15:21 GMTUnable to open large PDF files in browser in ASP.Net<p>&nbsp;<a href="http://aspsnippets.com/Articles/Retrieve-and-display-PDF-Files-from-database-in-browser-in-ASPNet.aspx">http://aspsnippets.com/Articles/Retrieve-and-display-PDF-Files-from-database-in-browser-in-ASPNet.aspx</a></p> <p>I tried your article which is very helpful but I can't open large .pdf file with it where is the problem</p>http://www.aspforums.net/Threads/205114/Unable-to-open-large-PDF-files-in-browser-in-ASPNet/http://www.aspforums.net/Threads/205114/Unable-to-open-large-PDF-files-in-browser-in-ASPNet/Mon, 04 Aug 2014 05:16:43 GMTVideo is not playing with flow player in ASP.Net<p>Hi&nbsp;</p> <p>I am storing the .mp4 video in the videos folder which i have created in the solution explorer and storing the name,path in the database. Fetching the video and appending in the DataList. But the video is not playing, I am using flowplayer plugin</p> <p>Here is my code: </p> <pre class="brush: html">&lt;asp:DataList ID=&#34;DataList1&#34; Visible=&#34;true&#34; runat=&#34;server&#34; AutoGenerateColumns=&#34;false&#34; &nbsp;&nbsp;&nbsp;&nbsp;RepeatColumns=&#34;2&#34; CellSpacing=&#34;5&#34;&gt; &nbsp;&nbsp;&nbsp;&nbsp;&lt;ItemTemplate&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;u&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;%# Eval(&#34;Name&#34;) %&gt;&lt;/u&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;hr /&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;a class=&#34;player&#34; style=&#34;height: 300px; width: 300px; display: block&#34; href=&#39;&lt;%# Eval(&#34;Path&#34;) %&gt;&#39;&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/a&gt; &nbsp;&nbsp;&nbsp;&nbsp;&lt;/ItemTemplate&gt; &lt;/asp:DataList&gt; &lt;script src=&#34;FlowPlayer/flowplayer-3.2.12.min.js&#34; type=&#34;text/javascript&#34;&gt;&lt;/script&gt; &lt;script type=&#34;text/javascript&#34;&gt; flowplayer(&#34;a.player&#34;, &#34;http://releases.flowplayer.org/swf/flowplayer-3.2.16.swf&#34;, { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;plugins: { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pseudo: { url: &#34;FlowPlayer/flowplayer.pseudostreaming-3.2.12.swf&#34; } &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clip: { provider: &#39;pseudo&#39;, autoPlay: false}, &nbsp;&nbsp;&nbsp;&nbsp;}); &lt;/script&gt;</pre> <p>And on the page load i am binding the video </p> <pre class="brush: csharp">protected void Page_Load(object sender, EventArgs e) { &nbsp;&nbsp;&nbsp; if (!IsPostBack) &nbsp;&nbsp;&nbsp; { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BindGrid(); &nbsp;&nbsp;&nbsp; } } private void BindGrid() { &nbsp;&nbsp;&nbsp; string strConnString = ConfigurationManager.ConnectionStrings["constr"].ConnectionString; &nbsp;&nbsp;&nbsp; using (SqlConnection con = new SqlConnection(strConnString)) &nbsp;&nbsp;&nbsp; { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using (SqlCommand cmd = new SqlCommand()) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cmd.CommandText = "select Id, Name, Path from videopath"; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cmd.Connection = con; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; con.Open(); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DataList1.DataSource = cmd.ExecuteReader(); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DataList1.DataBind(); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; con.Close(); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } &nbsp;&nbsp;&nbsp; } }</pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/157689/Video-is-not-playing-with-flow-player-in-ASPNet/http://www.aspforums.net/Threads/157689/Video-is-not-playing-with-flow-player-in-ASPNet/Tue, 15 Nov 2016 00:31:45 GMTVerification of user using mobile number by sending 6 digit code as SMS in ASP.Net<p>Hi</p> <p>i want to add verification of user by sending 6 digit code to his mobile number during regisration .Tell me the way how can i do this.</p> <p>Thanks&nbsp;</p> <p>Puneet</p>http://www.aspforums.net/Threads/147777/Verification-of-user-using-mobile-number-by-sending-6-digit-code-as-SMS-in-ASPNet/http://www.aspforums.net/Threads/147777/Verification-of-user-using-mobile-number-by-sending-6-digit-code-as-SMS-in-ASPNet/Sat, 27 Apr 2013 23:34:35 GMTValidate DropDownCheckBoxes control using RequiredField validator in ASP.Net<p>This my code plz help me thank you</p> <pre class="brush: html">&lt;cc2:DropDownCheckBoxes ID=&#34;cblCustomerList&#34; runat=&#34;server&#34; Width=&#34;180px&#34;&gt; &lt;Style SelectBoxWidth=&#34;195&#34; DropDownBoxBoxWidth=&#34;160&#34; DropDownBoxBoxHeight=&#34;195&#34;/&gt; &lt;Items&gt; &lt;asp:ListItem Text = &#34;Kidneys Donor&#34; Value = &#34;Kidneys Donor&#34;&gt;&lt;/asp:ListItem&gt; &lt;asp:ListItem Text = &#34;Lungs Donor&#34; Value = &#34;Lungs Donor&#34; &gt;Eye Donor&lt;/asp:ListItem&gt; &lt;asp:ListItem Text = &#34;Pancreas Donor&#34; Value = &#34;Pancreas Donor&#34; &gt;Blood Donor&lt;/asp:ListItem&gt; &lt;asp:ListItem Text = &#34;One&#34; Value = &#34;1&#34;&gt;Heart Donor&lt;/asp:ListItem&gt; &lt;asp:ListItem Text = &#34;One&#34; Value = &#34;1&#34; &gt;Liver Donor&lt;/asp:ListItem&gt; &lt;asp:ListItem &gt;Kidneys Donor&lt;/asp:ListItem&gt; &lt;asp:ListItem&gt;Lungs Donor&lt;/asp:ListItem&gt; &lt;asp:ListItem&gt;Pancreas Donor&lt;/asp:ListItem&gt; &lt;asp:ListItem&gt;Intestines Donor&lt;/asp:ListItem&gt; &lt;asp:ListItem&gt;Cornea Donor&lt;/asp:ListItem&gt; &lt;asp:ListItem&gt;Skin Donor&lt;/asp:ListItem&gt; &lt;asp:ListItem&gt;Heart Valves Donor&lt;/asp:ListItem&gt; &lt;asp:ListItem&gt;Tendons Donor&lt;/asp:ListItem&gt; &lt;/Items&gt; &lt;/cc2:DropDownCheckBoxes&gt; </pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/569986/Validate-DropDownCheckBoxes-control-using-RequiredField-validator-in-ASPNet/http://www.aspforums.net/Threads/569986/Validate-DropDownCheckBoxes-control-using-RequiredField-validator-in-ASPNet/Mon, 02 Feb 2015 22:17:52 GMTValidate ASP.Net DropDownList CheckBoxList Server control using JavaScript<p>Hi,</p> <p>How to validate&nbsp;DropDownCheckBoxes control at client side(javascript or Jquery)? I would like to restrict the user to submit the page if no item is selected in the dropdowncheckboxes control. i.e no check box is checked.</p> <p>Please provide the Javascript/Jquery code to validate the control at client side.</p> <p>&nbsp;</p> <p>Thanks and regards,</p> <p>Narender Charla</p>http://www.aspforums.net/Threads/771521/Validate-ASPNet-DropDownList-CheckBoxList-Server-control-using-JavaScript/http://www.aspforums.net/Threads/771521/Validate-ASPNet-DropDownList-CheckBoxList-Server-control-using-JavaScript/Wed, 29 Apr 2015 08:05:39 GMTUsing Fusion Flash charts in ASP.Net<p><span id="result_box" lang="en"><span class="hps">Hello</span> <span class="hps">friends, I am</span> <span class="hps">looking for an example</span> <span class="hps">of</span> <span class="hps">how</span> <span class="hps">Asp.Net</span> <span class="hps">and</span> <span class="hps">FusionChart</span> <span class="hps">work</span>, someone <span class="hps">has an example</span> <span class="hps">to get started.</span> <br /><br /><strong><span class="hps">Thank you for your help</span></strong></span></p>http://www.aspforums.net/Threads/205044/Using-Fusion-Flash-charts-in-ASPNet/http://www.aspforums.net/Threads/205044/Using-Fusion-Flash-charts-in-ASPNet/Sun, 02 Nov 2014 21:46:29 GMTUploadify sql server upload<p>hi</p> <p>i'm just wondering whether i can use uploaify for uploading huge lot of file in sql server db. I think uploadify is the right tool for my project but i new to programming. All i want is save file name, file type, file size and actual file into sql server when start uploading the files..</p> <p>&nbsp;</p> <p>any help appreciated</p> <p>thanks</p> <p>mohamed</p>http://www.aspforums.net/Threads/711015/Uploadify-sql-server-upload/http://www.aspforums.net/Threads/711015/Uploadify-sql-server-upload/Wed, 23 May 2012 04:45:48 GMTUpdate database when Email is opened (read) in ASP.Net<p>when send mail and receiver open the mail and click the linkat that time call another page and update a data base with data</p>http://www.aspforums.net/Threads/133650/Update-database-when-Email-is-opened-read-in-ASPNet/http://www.aspforums.net/Threads/133650/Update-database-when-Email-is-opened-read-in-ASPNet/Wed, 21 Jan 2015 04:29:57 GMTUnable to display PDF file in browser in ASP.Net<p>&nbsp;</p> <pre class="brush: html">&lt;asp:HyperLink ID=&#34;HyperLink7&#34; runat=&#34;server&#34; Target = &#34;_blank&#34; Text = &#34;Show PDF&#34; NavigateUrl = &#39;~/mypdf.pdf&#39;&gt;&lt;/asp:HyperLink&gt;</pre> <p>If I use this html code how to make the pdf file open in new tab in browser</p>http://www.aspforums.net/Threads/152303/Unable-to-display-PDF-file-in-browser-in-ASPNet/http://www.aspforums.net/Threads/152303/Unable-to-display-PDF-file-in-browser-in-ASPNet/Thu, 17 Jul 2014 01:20:26 GMTUltraWebGrid vs Gridview<p>I have using Ultrawebgrid in asp.net 2005&nbsp; i want replace gridview with same functionalty. its possible ? help please ...</p>http://www.aspforums.net/Threads/186298/UltraWebGrid-vs-Gridview/http://www.aspforums.net/Threads/186298/UltraWebGrid-vs-Gridview/Thu, 14 Jun 2012 01:55:16 GMTTinyMCE code syntax highlighting plugin<p>hi<br />which are the existing plugins for add code blocks in TinyMCE?<br />thanks!</p>http://www.aspforums.net/Threads/195445/TinyMCE-code-syntax-highlighting-plugin/http://www.aspforums.net/Threads/195445/TinyMCE-code-syntax-highlighting-plugin/Sun, 14 Jul 2013 06:55:26 GMTthe string was not recognized as a valid datetime. there is an unknown word starting at index 0. asp<p>hello expert, i have three dropdownlist option consist of two string and one datetime that convert into string. If i want to choose first and second dropdown without the third one which is datetime, it occur error "the string was not recognized as a valid datetime. there is an unknown word starting at index 0." but if i choose the third one itself or it combine with other dropdown list, it success. I want the user can choose the option with or without the date itself. &nbsp;Can you help me how to solve it ? this is my code in c#</p> <pre class="brush: csharp">using System; using System.Data; using System.Data.SqlClient; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Collections.Generic; public partial class loginpage_searchdata : System.Web.UI.Page { SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings[&#34;MESTrans&#34;].ConnectionString); SqlConnection con2 = new SqlConnection(ConfigurationManager.ConnectionStrings[&#34;MESCommEntities&#34;].ConnectionString); SqlCommand cmd; SqlDataAdapter da; string query = &#34;&#34;; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { con.Open(); query = &#34;select jo_no,prod_line, need_by_date from CutPanelcard&#34;; cmd = new SqlCommand(query, con); SqlDataReader dr = cmd.ExecuteReader(); while (dr.Read()) { if (!string.IsNullOrEmpty(DropDownListSearchJO.SelectedValue)) { DropDownListSearchJO.Items.Add(dr[0].ToString()); } if (!string.IsNullOrEmpty(DropDownListSearchLine.SelectedValue)) { DropDownListSearchLine.Items.Add(dr[1].ToString()); } if (!string.IsNullOrEmpty(DropDownListSearchRec.SelectedValue)) { DropDownListSearchRec.Items.Add(dr[2].ToString()); } } con.Close(); gv1(); } } private void gv1() { try { con.Open(); query = &#34;select * from CutPanelCard&#34;; cmd = new SqlCommand(query, con); da = new SqlDataAdapter(cmd); DataSet ds = new DataSet(); da.Fill(ds); GridView1.DataSource = ds; GridView1.DataBind(); con.Close(); } catch (Exception ex) { Response.Write(ex.Message); } } /** protected void DropDownListSearchJO_SelectedIndexChanged(object sender, EventArgs e) { try { con.Open(); query = &#34;select * from CutPanelCard where jo_no =&#39;&#34; + DropDownListSearchJO.SelectedItem.ToString() + &#34;&#39;&#34;; cmd = new SqlCommand(query, con); da = new SqlDataAdapter(cmd); DataSet ds = new DataSet(); da.Fill(ds); GridView1.DataSource = ds; GridView1.DataBind(); con.Close(); } catch (Exception ex) { Response.Write(ex.Message); } GridView1.Visible = true; }**/ /**protected void DropDownListSearchLine_SelectedIndexChanged(object sender, EventArgs e) { try { con.Open(); query2 = &#34;select * from CutPanelCard where prod_line =&#39;&#34; + DropDownListSearchLine.SelectedItem.ToString() + &#34;&#39;&#34;; cmd2 = new SqlCommand(query2, con); da2 = new SqlDataAdapter(cmd2); DataSet ds2 = new DataSet(); da2.Fill(ds2); GridView1.DataSource = ds2; GridView1.DataBind(); con.Close(); } catch (Exception ex) { Response.Write(ex.Message); } GridView1.Visible = true; }**/ protected void Button_Search_Click(object sender, EventArgs e) { try { con.Open(); DataTable dt = new DataTable(&#34;UserLogin&#34;); if ((!string.IsNullOrEmpty(DropDownListSearchJO.SelectedValue)) || (!string.IsNullOrEmpty(DropDownListSearchLine.SelectedValue)) || (!string.IsNullOrEmpty(DropDownListSearchRec.SelectedValue))) { query = &#34;select [req_id],[prod_line] ,[jo_no],[buyer],[request_date],[need_by_date],[qty],[username] from CutPanelCard where jo_no=@jo_no OR prod_line=@prod_line OR need_by_date=@need_by_date&#34;; cmd = new SqlCommand(query, con); cmd.Parameters.AddWithValue(&#34;@jo_no&#34;, DropDownListSearchJO.SelectedValue); cmd.Parameters.AddWithValue(&#34;@prod_line&#34;, DropDownListSearchLine.SelectedValue); cmd.Parameters.AddWithValue(&#34;@need_by_date&#34;, Convert.ToDateTime(DropDownListSearchRec.SelectedValue)); } SqlDataAdapter da = new SqlDataAdapter(cmd); da.Fill(dt); GridView1.DataSource = dt; GridView1.DataBind(); con.Close(); } catch (Exception ex) { Response.Write(ex.Message); } GridView1.Visible = true; Button_Confirm.Visible = true; } protected void Button_Confirm_Click(object sender, EventArgs e) { DataTable dt = new DataTable(&#34;CutPanelCard&#34;); dt.Columns.Add(new DataColumn() { ColumnName = &#34;req_id&#34;, DataType = typeof(String) }); dt.Columns.Add(new DataColumn() { ColumnName = &#34;prod_line&#34;, DataType = typeof(String) }); dt.Columns.Add(new DataColumn() { ColumnName = &#34;jo_no&#34;, DataType = typeof(String) }); dt.Columns.Add(new DataColumn() { ColumnName = &#34;buyer&#34;, DataType = typeof(String) }); dt.Columns.Add(new DataColumn() { ColumnName = &#34;request_date&#34;, DataType = typeof(String) }); dt.Columns.Add(new DataColumn() { ColumnName = &#34;need_by_date&#34;, DataType = typeof(String) }); dt.Columns.Add(new DataColumn() { ColumnName = &#34;qty&#34;, DataType = typeof(String) }); for (int i = 0; i &lt; GridView1.Rows.Count; i++) { if (GridView1.Rows[i].RowType == DataControlRowType.DataRow) { CheckBox cbSelect = GridView1.Rows[i].FindControl(&#34;cbSelect&#34;) as CheckBox; if (cbSelect.Checked) { DataRow dr = dt.NewRow(); Label lblReq = GridView1.Rows[i].FindControl(&#34;lblReq&#34;) as Label; Label lblLine = GridView1.Rows[i].FindControl(&#34;lblLine&#34;) as Label; Label lblJo_no = GridView1.Rows[i].FindControl(&#34;lblJo_no&#34;) as Label; Label lblBuyer = GridView1.Rows[i].FindControl(&#34;lblBuyer&#34;) as Label; Label lblReqDate = GridView1.Rows[i].FindControl(&#34;lblReqDate&#34;) as Label; Label lblNeed_by_date = GridView1.Rows[i].FindControl(&#34;lblNeed_by_date&#34;) as Label; Label lblQty = GridView1.Rows[i].FindControl(&#34;lblQty&#34;) as Label; dr[&#34;req_id&#34;] = lblReq.Text; dr[&#34;prod_line&#34;] = lblLine.Text; dr[&#34;jo_no&#34;] = lblJo_no.Text; dr[&#34;buyer&#34;] = lblBuyer.Text; dr[&#34;request_date&#34;] = lblReqDate.Text; dr[&#34;need_by_date&#34;] = lblNeed_by_date.Text; dr[&#34;qty&#34;] = lblQty.Text; dt.Rows.Add(dr); } } } Session[&#34;EmployeeData&#34;] = dt; Response.Redirect(&#34;Confirmation.aspx&#34;, true); } protected void GridView1_SelectedIndexChanged(object sender, EventArgs e) { } }</pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/307069/the-string-was-not-recognized-as-a-valid-datetime-there-is-an-unknown-word-starting-at-index-0-asp/http://www.aspforums.net/Threads/307069/the-string-was-not-recognized-as-a-valid-datetime-there-is-an-unknown-word-starting-at-index-0-asp/Sun, 26 Mar 2017 22:41:28 GMTSystem.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\maideen\Captures\CLPR-00138\0411'.<p>Mr.Mudassar</p> <p>I used your code</p> <h1 class="header"><a title="Capture Image (Photo) from Web Camera (Webcam) in ASP.Net using C# and VB.Net'a" href="http://www.aspsnippets.com/Articles/Capture-Image-Photo-from-Web-Camera-Webcam-in-ASPNet-using-C-and-VBNet.aspx">Capture Image (Photo) from Web Camera (Webcam) in ASP.Net using C# and VB.Net</a></h1> <p>It works fine. Thank you.&nbsp;</p> <p>I am working in student management system creating student id</p> <p>I need to change image name currently in date time</p> <p>Dim&nbsp;imageName&nbsp;As&nbsp;String&nbsp;=&nbsp;DateTime.Now.ToString("dd-MM-yy hh-mm-ss")</p> <p>I need the image name like "AL-00345/0615" based on student ID</p> <p>and also appear the image path in text box or seesion in order to save into database.</p> <p>Pls Help me.</p> <p>Thank you.</p>http://www.aspforums.net/Threads/188854/SystemIODirectoryNotFoundException-Could-not-find-a-part-of-the-path-CUsersmaideenCapturesCLPR-001380411/http://www.aspforums.net/Threads/188854/SystemIODirectoryNotFoundException-Could-not-find-a-part-of-the-path-CUsersmaideenCapturesCLPR-001380411/Mon, 04 Jan 2016 04:45:23 GMTsubgurim.net: The remote server returned an error: (403) Forbidden.<p>The following error is coming</p> <h2><em>The remote server returned an error: (403) Forbidden.</em></h2> <p><em>while working with google maps the code I have written for this is</em></p> <pre class="brush: csharp"> string fulladdress = string.Format(&#34;{0}.{1}.{2}&#34;, txtStreet.Text, txtCity.Text, txtCountry.Text); string skey = ConfigurationManager.AppSettings[&#34;googlemaps.subgurim.net&#34;]; //HttpWebRequest request = (HttpWebRequest)WebRequest.Create(fulladdress); //request.UseDefaultCredentials = true; GeoCode geocode; geocode = GMap1.getGeoCodeRequest(fulladdress); var glatlng = new Subgurim.Controles.GLatLng(geocode.Placemark.coordinates.lat, geocode.Placemark.coordinates.lng); GMap1.setCenter(glatlng, 16, Subgurim.Controles.GMapType.GTypes.Normal); var oMarker = new Subgurim.Controles.GMarker(glatlng); GMap1.addGMarker(oMarker);</pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/127211/subgurimnet-The-remote-server-returned-an-error-403-Forbidden/http://www.aspforums.net/Threads/127211/subgurimnet-The-remote-server-returned-an-error-403-Forbidden/Tue, 22 Jul 2014 01:51:12 GMTSet Max Character Length for CKEditor<p>HI according below thread I used jquery code for set Max lenght for Textbox Multi line</p> <p><a href="http://www.aspforums.net/Threads/141861/Set-MAxLenght-for-TextBox/">http://www.aspforums.net/Threads/141861/Set-MAxLenght-for-TextBox/</a></p> <p>Now I want do same thing for CkEditor I mean I want define MaxLenght for CkEditore HOw I can do it?</p> <p>Best Regards</p> <p>Neda</p>http://www.aspforums.net/Threads/423988/Set-Max-Character-Length-for-CKEditor/http://www.aspforums.net/Threads/423988/Set-Max-Character-Length-for-CKEditor/Mon, 12 Aug 2013 11:57:44 GMTUnable to cast object of type 'iTextSharp.text.html.simpleparser.IncTable' to type 'iTextSharp.text.IElement<p>Hi,</p> <p>&nbsp; &nbsp; I want to generate PDF at run time from my .net application. I have followed Author- Mudassar Khan's 1 of post for generating PDF from Asp.net.</p> <p>But, I receiving 1 error while running the code.</p> <p>Below is the error -&nbsp;</p> <p>Unable to cast object of type 'iTextSharp.text.html.simpleparser.IncTable' to type 'iTextSharp.text.IElement</p> <p>&nbsp;</p> <p>&nbsp;</p> <pre class="brush: csharp">StringBuilder sb = new StringBuilder(); // Header sb.Append(&#34;&lt;table width=&#39;100%&#39; cellspacing=&#39;0&#39; cellpadding=&#39;2&#39;&gt;&#34;); sb.Append(&#34;&lt;tr&gt;&lt;td align=&#39;center&#39; style=&#39;background-color: #18B5F0&#39; colspan = &#39;2&#39;&gt;&lt;b&gt;Data&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&#34;); sb.Append(&#34;&lt;tr&gt;&lt;td colspan = &#39;2&#39;&gt;&lt;/td&gt;&lt;/tr&gt;&#34;); sb.Append(&#34;&lt;tr&gt;&lt;td colspan = &#39;2&#39; &gt;&lt;b&gt;City: &lt;/b&gt;&#34;); sb.Append(drpCity.Text); sb.Append(&#34;&lt;/td&gt;&lt;/tr&gt;&#34;); sb.Append(&#34;&lt;tr&gt;&lt;td colspan = &#39;2&#39;&gt;&lt;b&gt;State : &lt;/b&gt;&#34;); sb.Append(drpState.Text); sb.Append(&#34;&lt;/td&gt;&lt;/tr&gt;&#34;); sb.Append(&#34;&lt;tr&gt;&lt;td colspan = &#39;2&#39;&gt;&lt;b&gt;Equipment : &lt;/b&gt;&#34;); sb.Append(drpEquip.Text); sb.Append(&#34;&lt;/td&gt;&lt;/tr&gt;&#34;); sb.Append(&#34;&lt;/table&gt;&#34;); sb.Append(&#34;&lt;br /&gt;&#34;); sb.Append(&#34;&lt;table border = &#39;1&#39;&gt;&#34;); sb.Append(&#34;&lt;tr&gt;&#34;); foreach (DataColumn column in dt.Columns) { sb.Append(&#34;&lt;th style = &#39;background-color: #D20B0C;color:#ffffff&#39;&gt;&#34;); sb.Append(column.ColumnName); sb.Append(&#34;&lt;/th&gt;&#34;); } sb.Append(&#34;&lt;/tr&gt;&#34;); foreach (DataRow row in dt.Rows) { sb.Append(&#34;&lt;tr&gt;&#34;); foreach (DataColumn column in dt.Columns) { sb.Append(&#34;&lt;td&gt;&#34;); sb.Append(row[column]); sb.Append(&#34;&lt;/td&gt;&#34;); } sb.Append(&#34;&lt;/tr&gt;&#34;); } //Export HTML String as PDF. StringReader sr = new StringReader(sb.ToString()); Document pdfDoc = new Document(PageSize.A4, 10f, 10f, 10f, 0f); HTMLWorker htmlparser = new HTMLWorker(pdfDoc); PdfWriter writer = PdfWriter.GetInstance(pdfDoc, Response.OutputStream); pdfDoc.Open(); htmlparser.Parse(sr); pdfDoc.Close(); Response.ContentType = &#34;application/pdf&#34;; Response.AddHeader(&#34;content-disposition&#34;, &#34;attachment;filename=Data.pdf&#34;); Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.Write(pdfDoc); Response.End();</pre> <p>Where Im doing wrong. Please, tell me.</p>http://www.aspforums.net/Threads/146973/Unable-to-cast-object-of-type-iTextSharptexthtmlsimpleparserIncTable-to-type-iTextSharptextIElement/http://www.aspforums.net/Threads/146973/Unable-to-cast-object-of-type-iTextSharptexthtmlsimpleparserIncTable-to-type-iTextSharptextIElement/Thu, 17 Dec 2015 04:10:27 GMTSms Web services<p style="margin: 0px 0px 18px; padding: 0px; border: 0px; outline: 0px; font-size: 13px; vertical-align: baseline; background-color: #f0f3f4; color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; line-height: 18px;">Hi!</p> <p style="margin: 0px 0px 18px; padding: 0px; border: 0px; outline: 0px; font-size: 13px; vertical-align: baseline; background-color: #f0f3f4; color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; line-height: 18px;">Do you guys know any website the provide sms web service?</p> <p style="margin: 0px 0px 18px; padding: 0px; border: 0px; outline: 0px; font-size: 13px; vertical-align: baseline; background-color: #f0f3f4; color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; line-height: 18px;">like this webside:&nbsp;<a style="margin: 0px; padding: 0px; border: 0px; outline: 0px; vertical-align: baseline; background-color: transparent; color: #267cb2; text-decoration: none;" href="http://www.webservicex.com/sendsmsworld.asmx?WSDL">http://www.webservicex.com/sendsmsworld.asmx?WSDL</a></p> <p style="margin: 0px 0px 18px; padding: 0px; border: 0px; outline: 0px; font-size: 13px; vertical-align: baseline; background-color: #f0f3f4; color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; line-height: 18px;">however, i want in&nbsp;<strong style="margin: 0px; padding: 0px; border: 0px; outline: 0px; vertical-align: baseline; background-color: transparent;">SINGAPORE.. that website did not provide in singapore:(</strong></p> <p style="margin: 0px 0px 18px; padding: 0px; border: 0px; outline: 0px; font-size: 13px; vertical-align: baseline; background-color: #f0f3f4; color: #222222; font-family: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif; line-height: 18px;">Thanks!</p>http://www.aspforums.net/Threads/205239/Sms-Web-services/http://www.aspforums.net/Threads/205239/Sms-Web-services/Sat, 07 Jul 2012 09:44:19 GMTSite2SMS Send SMS: The web remote server returned error (403) forbidden<p>&nbsp;</p> <pre class="brush: csharp">using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using ASPSnippets.SmsAPI; using System.Net; namespace Sms_Demo { public partial class SmsDemo : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void btnSend_Click(object sender, EventArgs e) { SMS.APIType = SMSGateway.Site2SMS; SMS.MashapeKey = &#34;&lt;Mashape API Key&gt;&#34;; SMS.Username = txtNumber.Text.Trim(); SMS.Password = txtPassword.Text.Trim(); if (txtRecepientNumber.Text.Trim().IndexOf(&#34;,&#34;) == -1) { //Single SMS SMS.SendSms(txtRecepientNumber.Text.Trim(), txtMessage.Text.Trim()); } else { //Multiple SMS List&lt;string&gt; numbers = txtRecepientNumber.Text.Trim().Split(&#39;,&#39;).ToList(); SMS.SendSms(numbers, txtMessage.Text.Trim()); } } } }<br /><br />also include AspSnippets.SmsAPI in solutionexplorer&#39;s Reference folder<br /><br /><br />got error <br /> at following line<br /><br /></pre> <pre class="brush: csharp">//Single SMS SMS.SendSms(txtRecepientNumber.Text.Trim(), txtMessage.Text.Trim());<br /><br />the error is <br /><br /><strong>the web remote server returned error (403) forbidden</strong><br /><br /></pre> <pre class="brush: csharp"><br /><br /></pre>http://www.aspforums.net/Threads/174269/Site2SMS-Send-SMS-The-web-remote-server-returned-error-403-forbidden/http://www.aspforums.net/Threads/174269/Site2SMS-Send-SMS-The-web-remote-server-returned-error-403-forbidden/Tue, 15 Jul 2014 06:32:23 GMTSet hours to 00 becomes blank in MKB Timepicker<p>Hi,</p> <p>this is for the third party tool TimePickerMKB found in the official nugget package source</p> <p>I am trying to set the time to 00 hours (24 hour clock), however the textbox becomes blank whenever I try to do so, see attached screen cap</p> <p>&nbsp;</p> <p><img src="https://s27.postimg.org/40wg9s32b/MKBtextbox.png" alt="" width="234" height="62" /></p> <p>&nbsp;</p> <p>I've tried various methods but end up with the same behaviour, such as set hour to 12 AM or set hour to 00. Check code below</p> <p>&nbsp;Attempt #1</p> <pre class="brush: csharp">TimeSelector1.SelectedTimeFormat = TimeSelector.TimeFormat.TwentyFour; TimeSelector1.SetTime(12,20,20,TimeSelector.AmPmSpec.AM);</pre> <p>&nbsp;</p> <p>Attempt #2</p> <pre class="brush: csharp">TimeSelector1.SelectedTimeFormat = TimeSelector.TimeFormat.TwentyFour; TimeSelector1.SetTime(00,20,20,TimeSelector.AmPmSpec.AM);</pre> <p>&nbsp;</p> <p>Is this the expected behaviour? thanks</p>http://www.aspforums.net/Threads/153074/Set-hours-to-00-becomes-blank-in-MKB-Timepicker/http://www.aspforums.net/Threads/153074/Set-hours-to-00-becomes-blank-in-MKB-Timepicker/Thu, 08 Dec 2016 01:57:45 GMTSet Height and Width of TinyMCE Rich Text Box (Editor)<p>i have add the&nbsp;Tiny MCE Rich TextBox on my webpage using article&nbsp;</p> <p>&nbsp;</p> <p>http://www.aspsnippets.com/Articles/Using-Tiny-MCE-Rich-TextBox-in-ASP.Net.aspx</p> <p>but i am unable to set height and width.&nbsp;plz help me out</p>http://www.aspforums.net/Threads/136777/Set-Height-and-Width-of-TinyMCE-Rich-Text-Box-Editor/http://www.aspforums.net/Threads/136777/Set-Height-and-Width-of-TinyMCE-Rich-Text-Box-Editor/Tue, 08 Sep 2015 04:42:10 GMTSend scheduled SMS automatically from ASP.Net Website<p>hello sir</p> <p>i am a .net developer. i am developing an application in which i need to send scheduled sms to users mobile number which is stored in database(SQl Server 2008) automatically.</p> <p>i have already buy sms gateway.</p> <p>how can i do this.</p> <p>Is there any way to call a asp.net page automatically periodically.?</p> <p>Please help me</p> <p>Thanks</p>http://www.aspforums.net/Threads/182690/Send-scheduled-SMS-automatically-from-ASPNet-Website/http://www.aspforums.net/Threads/182690/Send-scheduled-SMS-automatically-from-ASPNet-Website/Thu, 18 Jul 2013 00:11:23 GMTSend DetailsView as PDF Attachment in Email message in ASP.Net<p>I want to put email button in my detail view form when user press email button it automatically move towards login when he enter the id pass automatically form attached of that detail view all this records n form is store in my database how can i make this possibel?&nbsp;</p>http://www.aspforums.net/Threads/554381/Send-DetailsView-as-PDF-Attachment-in-Email-message-in-ASPNet/http://www.aspforums.net/Threads/554381/Send-DetailsView-as-PDF-Attachment-in-Email-message-in-ASPNet/Wed, 08 Jan 2014 01:56:56 GMTSchedule and post comments to FaceBook wall using ASP.Net<p>I can able to post now FB comment post from asp.net system but if i want to sidhule some messege from my sytem what can i do ?</p> <p>&nbsp;</p> <p>how can i store FB account ?</p>http://www.aspforums.net/Threads/214419/Schedule-and-post-comments-to-FaceBook-wall-using-ASPNet/http://www.aspforums.net/Threads/214419/Schedule-and-post-comments-to-FaceBook-wall-using-ASPNet/Tue, 11 Sep 2012 09:01:30 GMT