<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
<title>W3Exchange : Script Forums : ASP.NET</title>
<link>http://www.w3exchange.com</link>
<description> W3Exchange</description>
<language>en</language>
<docs>http://backend.userland.com/rss</docs>
<item>
<title>image file on ASP in Script Forums : ASP.NET</title>
<link>http://www.w3exchange.com/view_topic.php?pid=6842#6842</link>
<guid isPermaLink="false">6842@http://www.w3exchange.com</guid>
<description>Topic: image file on ASP

Message: Hi, I am new to ASP.net.  I am creating an ASP.Net Web application. I have a image control that displays a graph. I want to display this graph dynamically. Based on the user selection for the options, the graph gets changed, I get a new graph image as a file. I need to save the image on client side. And then set the property of img as ImgUrl = &#34;filename&#34;.Which directory I need to access to save image? How will I get the path at client side?I tried using System.IO.Path.GetTempPath() function, but it gave me some ASPNet user path, I don't think it worked properly.Any help will be appreciated.Thanks.
</description>
<pubDate>Tue, 12 Feb 2008 02:09:08 -0800</pubDate>
</item>
<item>
<title>example of Inserting and Retrieving data from xml file in Script Forums : ASP.NET</title>
<link>http://www.w3exchange.com/view_topic.php?pid=5891#5891</link>
<guid isPermaLink="false">5891@http://www.w3exchange.com</guid>
<description>Topic: example of Inserting and Retrieving data from xml file

Message: what is all that? and why are there a bunch of &#34;{&#34; and &#34;}&#34; thrown all over the place? and if i do get all that and find out how to make that mumbo jumbo how do i insert it into like movie maker? what exactly are xml files? and what does xml stand for? its nice you have all that information there, and meybe to a computer genius its obvious but can ya simplify it for an average joe?
</description>
<pubDate>Wed, 21 Nov 2007 12:50:47 -0800</pubDate>
</item>
<item>
<title>example of editing in DataGrid and Default Paging in Script Forums : ASP.NET</title>
<link>http://www.w3exchange.com/view_topic.php?pid=5483#5483</link>
<guid isPermaLink="false">5483@http://www.w3exchange.com</guid>
<description>Topic: example of editing in DataGrid and Default Paging

Message: This is an example of editing in DataGrid and Default PagingOffshore Software Product DevelopmentHtml Design Code : -&#60;asp:DataGrid id=&#34;DataGrid1&#34; DataKeyField=&#34;id&#34;&#160; &#160; runat=&#34;server&#34; Height=&#34;224px&#34; AutoGenerateColumns=&#34;False&#34; PageSize=&#34;5&#34; AllowPaging=&#34;True&#34;&#62;&#60;Columns&#62;&#60;asp:BoundColumn Visible=&#34;False&#34; DataField=&#34;id&#34; HeaderText=&#34;Category Id&#34;&#62;&#60;/asp:BoundColumn&#62;&#60;asp:TemplateColumn HeaderText=&#34;Category&#34;&#62;&#60;ItemTemplate&#62;&#60;asp:Label id=lblName text='&#60;%# DataBinder.Eval(Container.DataItem,&#34;name&#34;)%&#62;' Runat=&#34;server&#34;&#62;&#60;/asp:Label&#62;&#60;/ItemTemplate&#62;&#60;EditItemTemplate&#62;&#60;asp:TextBox id=txtEdit Runat=&#34;server&#34; Text='&#60;%# DataBinder.Eval(Container.DataItem,&#34;name&#34;)%&#62;'&#62;&#60;/asp:TextBox&#62;&#60;/EditItemTemplate&#62;&#60;/asp:TemplateColumn&#62;&#60;asp:EditCommandColumn ButtonType=&#34;LinkButton&#34; UpdateText=&#34;Update&#34; HeaderText=&#34;Edit&#34; CancelText=&#34;Cancel&#34;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; EditText=&#34;Edit&#34;&#62;&#60;/asp:EditCommandColumn&#62;&#160; &#160; &#60;/Columns&#62;&#160; &#160; &#60;/asp:DataGrid&#62;Code (EditInDataGrid.aspx.cs) :private void Page_Load(object sender, System.EventArgs e)&#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; // Put user code to initialize the page here&#160; &#160; &#160; &#160; &#160; &#160; if(!IsPostBack)&#160; &#160; &#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; BindGrid();&#160; &#160; &#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; }private void DataGrid1_EditCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)&#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; DataGrid1.EditItemIndex = e.Item.ItemIndex;&#160; &#160; &#160; &#160; &#160; &#160; BindGrid();&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }private void BindGrid()&#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; SqlDataAdapter da = new SqlDataAdapter(&#34;select id,name from category&#34;,con);&#160; &#160; &#160; &#160; &#160; &#160; DataSet objDS = new DataSet();&#160; &#160; &#160; &#160; &#160; &#160; try&#160; &#160; &#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; da.Fill(objDS,&#34;Cat&#34;);&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if(objDS.Tables[0].Rows.Count != 0)&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; DataGrid1.DataSource = objDS;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; DataGrid1.DataBind();&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; else&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; DataGrid1.DataSource = null;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; DataGrid1.DataBind();&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; Response.Write(&#34;No record found.&#34;);&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; &#160; &#160; catch(Exception ex)&#160; &#160; &#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; throw ex;&#160; &#160; &#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; }private void DataGrid1_UpdateCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)&#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; try&#160; &#160; &#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; string strCatName = ((TextBox)e.Item.FindControl(&#34;txtEdit&#34;)).Text;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; string strId = DataGrid1.DataKeys[e.Item.ItemIndex].ToString();&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; SqlCommand com = new SqlCommand(&#34;update category set name ='&#34;+strCatName+&#34;' where id = &#34;+strId,con);&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; con.Open();&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; com.ExecuteNonQuery();&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; DataGrid1.EditItemIndex = -1;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; BindGrid();&#160; &#160; &#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; &#160; &#160; catch(Exception ex)&#160; &#160; &#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; throw ex;&#160; &#160; &#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; private void DataGrid1_CancelCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)&#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; DataGrid1.EditItemIndex = -1;&#160; &#160; &#160; &#160; &#160; &#160; BindGrid();&#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; private void DataGrid1_PageIndexChanged(object source, System.Web.UI.WebControls.DataGridPageChangedEventArgs e)&#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; DataGrid1.CurrentPageIndex = e.NewPageIndex;&#160; &#160; &#160; &#160; &#160; &#160; BindGrid();
</description>
<pubDate>Fri, 05 Oct 2007 23:28:12 -0700</pubDate>
</item>
<item>
<title>example of Inserting and Retrieving data from xml file in Script Forums : ASP.NET</title>
<link>http://www.w3exchange.com/view_topic.php?pid=5395#5395</link>
<guid isPermaLink="false">5395@http://www.w3exchange.com</guid>
<description>Topic: example of Inserting and Retrieving data from xml file

Message: This is an example of Inserting and Retrieving data from xml file. http://www.hanusoftware.comprivate void Page_Load(object sender, System.EventArgs e)&#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; // Put user code to initialize the page here&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if(!IsPostBack)&#160; &#160; &#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; BindGrid();&#160; &#160; &#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; private void BindGrid()&#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; ds = new DataSet();&#160; &#160; &#160; &#160; &#160; &#160; try&#160; &#160; &#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ds.ReadXml(@&#34;c:\inetpub\wwwroot\WebApplication10\XMLFile1.xml&#34;);&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; DataGrid1.DataSource = ds;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; DataGrid1.DataBind();&#160; &#160; &#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; &#160; &#160; catch(Exception ex)&#160; &#160; &#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; throw ex;&#160; &#160; &#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; &#160; &#160; private void Button1_Click(object sender, System.EventArgs e)&#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; ds = new DataSet();&#160; &#160; &#160; &#160; &#160; &#160; try&#160; &#160; &#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ds.ReadXml(@&#34;c:\inetpub\wwwroot\WebApplication10\XMLFile1.xml&#34;);&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; DataRow row = ds.Tables[0].NewRow();&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; row[&#34;name&#34;]=txtName.Text;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; row[&#34;fathersname&#34;]=txtFName.Text;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; row[&#34;address&#34;]=txtAddress.Text;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ds.Tables[0].Rows.Add(row);&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ds.WriteXml(@&#34;c:\inetpub\wwwroot\WebApplication10\XMLFile1.xml&#34;);&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; txtAddress.Text=&#34;&#34;;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; txtFName.Text=&#34;&#34;;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; txtName.Text =&#34;&#34;;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; BindGrid();&#160; &#160; &#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; &#160; &#160; catch(Exception ex)&#160; &#160; &#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; throw ex;&#160; &#160; &#160; &#160; &#160; &#160; }
</description>
<pubDate>Tue, 25 Sep 2007 23:33:05 -0700</pubDate>
</item>
<item>
<title>Example of Image Upload in Script Forums : ASP.NET</title>
<link>http://www.w3exchange.com/view_topic.php?pid=5324#5324</link>
<guid isPermaLink="false">5324@http://www.w3exchange.com</guid>
<description>Topic: Example of Image Upload

Message: Here we are uploading images in File System and storing path in the database. http://www.hanusoftware.comCode (ImageUpload.aspx.cs) :-private void Button1_Click(object sender, System.EventArgs e)&#160; &#160; &#160; &#160; {&#160; &#160; //&#160; &#160; Here I am uploading images in Images folder of C drive.int intResult=0;string strPath = @&#34;c:\Images\&#34;+Path.GetFileName(File1.PostedFile.FileName);SqlConnection con = new SqlConnection(&#34;server=.;uid=sa;database=pubs;pwd=&#34;);SqlCommand com = new SqlCommand(&#34;Insert into Category(name,imagepath) values(@name,@imagepath)&#34;,con);&#160; &#160; &#160; &#160; &#160; &#160; com.Parameters.Add(&#34;@name&#34;,TextBox1.Text);&#160; &#160; &#160; &#160; &#160; &#160; com.Parameters.Add(&#34;@imagepath&#34;,strPath);&#160; &#160; &#160; &#160; &#160; &#160; con.Open();&#160; &#160; &#160; &#160; &#160; &#160; intResult =&#160; Convert.ToInt32(com.ExecuteNonQuery());&#160; &#160; &#160; &#160; &#160; &#160; if(intResult != 0)&#160; &#160; &#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; File1.PostedFile.SaveAs(strPath);&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; Response.Write(&#34;Record Inserted.&#34;);&#160; &#160; &#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; }Software Development Company
</description>
<pubDate>Thu, 20 Sep 2007 04:22:46 -0700</pubDate>
</item>
<item>
<title>example of Server.Transfer and Context Handler in Script Forums : ASP.NET</title>
<link>http://www.w3exchange.com/view_topic.php?pid=5172#5172</link>
<guid isPermaLink="false">5172@http://www.w3exchange.com</guid>
<description>Topic: example of Server.Transfer and Context Handler

Message: This is an example of Server.Transfer and Context Handler.Through this we can get the multiple values of previous form.http://www.hanusoftware.comIn this page we are displaying data from previous form. We can use this technique for multiple form registration form.Code (ContextParent.aspx.cs): -private void Button1_Click(object sender,System.EventArgs e)&#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; Server.Transfer(&#34;ContextChild.aspx&#34;);&#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; internal Hashtable Value&#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; get&#160; &#160; &#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; Hashtable objHT = new Hashtable();&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; objHT[&#34;Name&#34;]=TextBox1.Text;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; objHT[&#34;FathersName&#34;]= TextBox2.Text;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; objHT[&#34;Address&#34;] = TextBox3.Text;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; return objHT;&#160; &#160; &#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; }Code (ContextChild.aspx.cs) :-private void Page_Load(object sender, System.EventArgs e)&#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; // Put user code to initialize the page here&#160; &#160; &#160; &#160; &#160; &#160; Hashtable objHT = new Hashtable(); &#160; &#160; &#160; &#160; &#160; &#160; if(!IsPostBack)&#160; &#160; &#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ContextParent ParentPage;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ParentPage = (ContextParent)Context.Handler;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; objHT = ParentPage.Value;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; Response.Write(&#34;&#60;br&#62;&#60;br&#62;&#34;);&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; foreach(DictionaryEntry di in objHT)&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; Response.Write(di.Key +&#34; : &#34;+di.Value);&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; Response.Write(&#34;&#60;br&#62;&#34;);&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; } Software Development India
</description>
<pubDate>Thu, 06 Sep 2007 01:33:39 -0700</pubDate>
</item>
<item>
<title>TO SEND Text message or URL through Clickatell in Script Forums : ASP.NET</title>
<link>http://www.w3exchange.com/view_topic.php?pid=4698#4698</link>
<guid isPermaLink="false">4698@http://www.w3exchange.com</guid>
<description>Topic: TO SEND Text message or URL through Clickatell

Message: WebClient wbcRingtone = new WebClient();// Add a user agent header in case the requested URI contains a query.// http://www.hanusoftware.comwbcRingtone.Headers.Add(&#34;user-agent&#34;,&#34;Mozilla/4.0(compatible;MSIE 6.0;Windows NT 5.2; .NET CLR 1.0.3705;)&#34;);wbcRingtone.QueryString.Add(&#34;user&#34;,&#34;xxxxxxxx&#34;);wbcRingtone.QueryString.Add(&#34;password&#34;,&#34;xxxxxxxx&#34;);wbcRingtone.QueryString.Add(&#34;api_id&#34;, &#34;xxxxxxxxxx&#34;);//wbcRingtone.QueryString.Add(&#34;msg_type&#34;, &#34;SMS_NOKIA_RTTL&#34;);wbcRingtone.QueryString.Add(&#34;to&#34;, cellNo);////wbcRingtone.QueryString.Add(&#34;text&#34;, &#34;Flintstone:d=4,o=5,b=200:g#,c#,8p,c#6,8a#,g#,c#,8p,g#,8f#,8f,8f,8f#,8g#,c#,d#,2f,2p,g#,c#,8p,c#6,8a#,g#,c#,8p,g#,8f#,8f,8f,8f#,8g#,c#,d#,2c#&#34;);wbcRingtone.QueryString.Add(&#34;from&#34;, &#34;xxxxxxxxx&#34;);wbcRingtone.QueryString.Add(&#34;mms_subject&#34;, &#34;xxxxxxxxx&#34;);wbcRingtone.QueryString.Add(&#34;mms_class&#34;, &#34;xxxxxx&#34;);wbcRingtone.QueryString.Add(&#34;mms_expire&#34;, &#34;xxxxxxx&#34;);wbcRingtone.QueryString.Add(&#34;mms_from&#34;, &#34;xxxxxxxxx&#34;);wbcRingtone.QueryString.Add(&#34;mms_url&#34;, &#34;http://www.some.com/folder/mms.mms&#34;);//string baseURL = &#34;http://api.clickatell.com/http/sendmsg&#34;;string baseURL = &#34;http://api.clickatell.com/mms/ind_push.php&#34;;Stream data = wbcRingtone.OpenRead(baseURL);StreamReader reader = new StreamReader(data);string s = reader.ReadToEnd();data.Close();reader.Close();string queryURL = GetQueryForMMS(s);return queryURL;Software Development India
</description>
<pubDate>Wed, 18 Jul 2007 02:03:04 -0700</pubDate>
</item>
<item>
<title>Code to encrypt the Password or any string in Script Forums : ASP.NET</title>
<link>http://www.w3exchange.com/view_topic.php?pid=4606#4606</link>
<guid isPermaLink="false">4606@http://www.w3exchange.com</guid>
<description>Topic: Code to encrypt the Password or any string

Message: /// &#60;summary&#62;/// Thsi method retrieve the string to encrypt from the Presentation Layer/// And return the Encrypted String/// &#60;/summary&#62;/// &#60;param name=&#34;str&#34;&#62;&#60;/param&#62;/// &#60;returns&#62;&#60;/returns&#62;public string encryptPassword(string strText){return Encrypt(strText, &#34;&#38;%#@?,:*&#34;);}/// &#60;summary&#62;/// This method retrieve the encrypted string to decrypt from the Presentation Layer/// And return the decrypted string/// &#60;/summary&#62;/// &#60;param name=&#34;str&#34;&#62;&#60;/param&#62;/// &#60;returns&#62;&#60;/returns&#62;public string decryptPassword(string str){return Decrypt(str, &#34;&#38;%#@?,:*&#34;);}/// &#60;summary&#62;/// This method has been used to get the Encrypetd string for the/// passed string/// &#60;/summary&#62;/// &#60;param name=&#34;strText&#34;&#62;&#60;/param&#62;/// &#60;param name=&#34;strEncrypt&#34;&#62;&#60;/param&#62;/// &#60;returns&#62;&#60;/returns&#62;private string Encrypt(string strText, string strEncrypt){byte[] byKey = new byte[20];byte[] dv ={ 0x12, 0x34, 0x56, 0x78, 0x90, 0xAB, 0xCD, 0xEF };try{byKey = System.Text.Encoding.UTF8.GetBytes(strEncrypt.Substring(0, 8));DESCryptoServiceProvider des = new DESCryptoServiceProvider();byte[] inputArray = System.Text.Encoding.UTF8.GetBytes(strText);MemoryStream ms = new MemoryStream();CryptoStream cs = new CryptoStream(ms, des.CreateEncryptor(byKey, dv), CryptoStreamMode.Write);cs.Write(inputArray, 0, inputArray.Length);cs.FlushFinalBlock();return Convert.ToBase64String(ms.ToArray());}catch (Exception ex){throw ex;}}/// &#60;summary&#62;/// This method has been used to Decrypt the Encrypted String/// &#60;/summary&#62;/// &#60;param name=&#34;strText&#34;&#62;&#60;/param&#62;/// http://www.hanusoftware.com/// &#60;param name=&#34;strEncrypt&#34;&#62;&#60;/param&#62;/// &#60;returns&#62;&#60;/returns&#62;private string Decrypt(string strText, string strEncrypt){byte[] bKey = new byte[20];byte[] IV = { 0x12, 0x34, 0x56, 0x78, 0x90, 0xAB, 0xCD, 0xEF };try{bKey = System.Text.Encoding.UTF8.GetBytes(strEncrypt.Substring(0, 8));DESCryptoServiceProvider des = new DESCryptoServiceProvider();Byte[] inputByteArray = inputByteArray = Convert.FromBase64String(strText);MemoryStream ms = new MemoryStream();CryptoStream cs = new CryptoStream(ms, des.CreateDecryptor(bKey, IV), CryptoStreamMode.Write);cs.Write(inputByteArray, 0, inputByteArray.Length);cs.FlushFinalBlock();System.Text.Encoding encoding = System.Text.Encoding.UTF8;return encoding.GetString(ms.ToArray());}catch (Exception ex){throw ex;}}Software Development India
</description>
<pubDate>Wed, 11 Jul 2007 00:45:54 -0700</pubDate>
</item>
<item>
<title>Play videos using asp.net in Script Forums : ASP.NET</title>
<link>http://www.w3exchange.com/view_topic.php?pid=3353#3353</link>
<guid isPermaLink="false">3353@http://www.w3exchange.com</guid>
<description>Topic: Play videos using asp.net

Message: Hello friends,Could anyone suggest me how to&#160; play&#160; video file using asp.net code. For example, I have a video &#34;abc.mpg&#34;, i want to play it in the browser using asp.net code.
</description>
<pubDate>Tue, 24 Apr 2007 00:01:35 -0700</pubDate>
</item>
<item>
<title>Could not showing images &#38; sqlpartmenu properly - any Idea in Script Forums : ASP.NET</title>
<link>http://www.w3exchange.com/view_topic.php?pid=2375#2375</link>
<guid isPermaLink="false">2375@http://www.w3exchange.com</guid>
<description>Topic: Could not showing images &#38; sqlpartmenu properly - any Idea

Message: I think this can be solved by allow un-authenticated user access images folder. Add a &#60;location&#62; section point to the folder in web.config, configure &#60;authentication&#62; separatly.
</description>
<pubDate>Wed, 14 Feb 2007 00:55:37 -0800</pubDate>
</item>
<item>
<title>Could not showing images &#38; sqlpartmenu properly - any Idea in Script Forums : ASP.NET</title>
<link>http://www.w3exchange.com/view_topic.php?pid=2346#2346</link>
<guid isPermaLink="false">2346@http://www.w3exchange.com</guid>
<description>Topic: Could not showing images &#38; sqlpartmenu properly - any Idea

Message: Getting problem to show the images and sqlpartmenu properly after adding&#60;authentication mode=&#34;Forms&#34;&#62;&#60;forms name=&#34;.ASPXFORMSDEMO&#34; loginUrl=&#34;login/login.aspx&#34; protection=&#34;All&#34; path=&#34;/&#34; timeout=&#34;30&#34;/&#62;&#60;/authentication&#62;in the web.config.I don't know how these lines of code cause the error, i am wondering if it's because i am using master page and crash with the form there....Please help .Thank you
</description>
<pubDate>Sun, 11 Feb 2007 22:08:48 -0800</pubDate>
</item>
<item>
<title>Currency formating a text field in Script Forums : ASP.NET</title>
<link>http://www.w3exchange.com/view_topic.php?pid=673#673</link>
<guid isPermaLink="false">673@http://www.w3exchange.com</guid>
<description>Topic: Currency formating a text field

Message: You can check that with javascript. Can you let me know the actual format you want? Is it including commas or not?
</description>
<pubDate>Sun, 08 Oct 2006 08:38:52 -0700</pubDate>
</item>
<item>
<title>Currency formating a text field in Script Forums : ASP.NET</title>
<link>http://www.w3exchange.com/view_topic.php?pid=654#654</link>
<guid isPermaLink="false">654@http://www.w3exchange.com</guid>
<description>Topic: Currency formating a text field

Message: Guys,I need a little help here. How can I currency format a text field?It can be either while typing on that field or on the text field's lostfocus event(eventhough lostfocus event doesn't exist in asp.net, something similar to that)Using asp.net/vb. Thanks!
</description>
<pubDate>Wed, 04 Oct 2006 23:28:57 -0700</pubDate>
</item>
<item>
<title>Is this a bug? help! in Script Forums : ASP.NET</title>
<link>http://www.w3exchange.com/view_topic.php?pid=585#585</link>
<guid isPermaLink="false">585@http://www.w3exchange.com</guid>
<description>Topic: Is this a bug? help!

Message: Hi,Your problem is new to me but yes visual web developer 2005 express edition do have the registration problem as it keeps reminding users although they are registered already.Comming back to you problem, I think you should either try in another system first to findout if the downloaded file is ok or not. Or you should contact vsrghlp@remove-this.microsoft.com with your problems.ThanksSachin
</description>
<pubDate>Mon, 25 Sep 2006 23:57:52 -0700</pubDate>
</item>
<item>
<title>Is this a bug? help! in Script Forums : ASP.NET</title>
<link>http://www.w3exchange.com/view_topic.php?pid=575#575</link>
<guid isPermaLink="false">575@http://www.w3exchange.com</guid>
<description>Topic: Is this a bug? help!

Message: ok ive downloaded the visual web developer 2005 express edition 3 times now and i still have this problem.i can make a project and then click start with debugging or without debugging and it runs fine and all.the problem im getting is that when i click the &#34;view in browser&#34;, a new window opens up, then for a quick second in the title bar it says cannot find server, and the window closes straight away. i have the same problem when i click the &#34;administer website&#34; link. also from the tool bar at the top, i can goto &#34;website&#34; then click &#34;ASP.NET Configuration&#34; i get the same problem there to. can someone please help with this, thank you.running:Windows XP Professional SP2 with IIS installed.Visual Web Developer 2005 Express Edition.NET Framwork(2.0).NET Framework SDKSQL Server 2005 Express Edition
</description>
<pubDate>Mon, 25 Sep 2006 02:50:57 -0700</pubDate>
</item>
</channel>
</rss>
