Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,037

HOME > .NET Framework > Forum > อ่านไฟล์ txt ทีละบรรทัด และไฟล์จากโฟลเดอร์ และ สุ่มบรรทัดจากไฟล์ แต่มันได้ค่าเดิม เป็นเพราะอะไรครับ



 

อ่านไฟล์ txt ทีละบรรทัด และไฟล์จากโฟลเดอร์ และ สุ่มบรรทัดจากไฟล์ แต่มันได้ค่าเดิม เป็นเพราะอะไรครับ

 



Topic : 100499

Guest




อ่านไฟล์ txt ทีละบรรทัด และไฟล์จากโฟลเดอร์ และ สุ่มบรรทัดจากไฟล์ แต่มันได้ค่าเดิม เป็นเพราะอะไรครับ
คือ จะสุ่มไฟล์ template ที่เป็น .html มาจากโฟลเดอร์หนึ่ง มาและ สุ่มบรรทัดจากไฟล์มาแต่มันได้ค่าเดิมอะครับ พอเขียน messagebox.show มันไม่ได้ค่าเดิม แต่พอไม่ได้มันได้ค่าเดิมอะครับ

Code (C#)
 if (comboBox1.SelectedItem.ToString() == "Amazon")
            {
                affpathname = affcase1;



            }
            else if (comboBox1.SelectedItem.ToString() == "Clickbank")
            {

                affpathname = affcase2;



            }

                int postpermm = Convert.ToInt32(postperm.Text);


                this.timer1.Start();
                string pfile = textBox1.Text;
                DateTime startdatef = dateTimePicker1.Value;
                string startdateshorta = string.Format(System.Globalization.CultureInfo.CreateSpecificCulture("en-US"), "{0:yyyy-MM-dd-HH-mm-ss}", DateTime.Now);
                FileStream FileOut = new FileStream(Application.StartupPath + @"\" + "wordpress" + @"\" + startdateshorta + ".xml", FileMode.Create);
                StreamWriter sw = new StreamWriter(FileOut);
                                

                StreamReader a = new StreamReader(pfile);

                string dd = null;
                while ((dd = a.ReadLine()) != null)
                {

                    {
                        var rand = new Random();
                        IEnumerable<string> lines = File.ReadLines(@Application.StartupPath + @"\config\" + affpathname + @"\title_template.txt");
                        var lineToRead = rand.Next(1, lines.Count());
                        var line = lines.Skip(lineToRead - 1).First();
                        sw.Write(line);
                        sw.Write("\r\n");
                    }
                    {
                        var rr = new Random();
                        var files = Directory.GetFiles(@Application.StartupPath + @"\config\" + affpathname + @"\layout\", "*.*").Where(s => Regex.Match(s, @"\.(html|htm)$").Success);
                        string randFile = files.ToList()[rr.Next(0, files.Count())];
                        sw.Write(randFile);
                        sw.Write("\r\n");
                        sw.Write("\r\n");

                    }

             





                    if (comboBox1.SelectedItem.ToString() == "Amazon")
                    {
                        affpathname = affcase1;



                    }                   
                    else if (comboBox1.SelectedItem.ToString() == "Other Aff")
                    {

                        affpathname = affcase9;


                    }



                    string startdatelong = string.Format(System.Globalization.CultureInfo.CreateSpecificCulture("en-US"), "{0:ddd, dd MMM yyyy HH:mm:ss}", startdatef);
                    string todaydatelong = string.Format(System.Globalization.CultureInfo.CreateSpecificCulture("en-US"), "{0:ddd, dd MMM yyyy HH:mm:ss}", DateTime.Now);




                    string[] arr1 = dd.Split('@');
                    {
                        string productname = arr1[0];
                        string productimg = arr1[1];
                        string productlink = null;
                        if (mutiaff.Checked)
                        {

                            productlink = arr1[2];
                        }
                        else
                        {
                            productlink = singleafflink.Text;
                        }

                        }

                }


                sw.Write("</channel>\r\n");
                sw.Write("</rss>\r\n");
                sw.Close();
                FileOut.Close();

               



            

        






        }




Tag : .NET, VS 2012 (.NET 4.x)







Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 2013-09-15 20:08:16 By : nui View : 976 Reply : 2
 

 

No. 1

Guest


ตัวอย่างผลลัทธ์ครับ

Code
Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (4).html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (4).html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (4).html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (4).html Title Template 2 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\10.html Title Template 2 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\10.html Title Template 2 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\10.html Title Template 2 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\10.html Title Template 2 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\10.html Title Template 2 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\10.html Title Template 2 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\10.html Title Template 6 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\5 - Copy - Copy (3).html Title Template 6 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\5 - Copy - Copy (3).html Title Template 6 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\5 - Copy - Copy (3).html Title Template 6 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\5 - Copy - Copy (3).html Title Template 6 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\5 - Copy - Copy (3).html Title Template 6 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\5 - Copy - Copy (3).html Title Template 6 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\5 - Copy - Copy (3).html Title Template 6 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\5 - Copy - Copy (3).html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3.html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3.html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3.html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3.html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3.html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3.html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3.html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3.html Title Template 8 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\7 - Copy - Copy (3).html Title Template 8 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\7 - Copy - Copy (3).html Title Template 8 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\7 - Copy - Copy (3).html Title Template 8 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\7 - Copy - Copy (3).html Title Template 8 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\7 - Copy - Copy (3).html Title Template 8 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\7 - Copy - Copy (3).html Title Template 8 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\7 - Copy - Copy (3).html Title Template 8 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\7 - Copy - Copy (3).html Title Template 6 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\5 - Copy.html Title Template 6 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\5 - Copy.html Title Template 6 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\5 - Copy.html Title Template 6 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\5 - Copy.html Title Template 6 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\5 - Copy.html Title Template 6 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\5 - Copy.html Title Template 6 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\5 - Copy.html Title Template 6 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\5 - Copy.html Title Template 6 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\5 - Copy.html Title Template 10 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\9 - Copy - Copy (2).html Title Template 10 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\9 - Copy - Copy (2).html Title Template 10 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\9 - Copy - Copy (2).html Title Template 10 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\9 - Copy - Copy (2).html Title Template 10 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\9 - Copy - Copy (2).html Title Template 10 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\9 - Copy - Copy (2).html Title Template 10 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\9 - Copy - Copy (2).html Title Template 10 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\9 - Copy - Copy (2).html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3 - Copy (2) - Copy.html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3 - Copy (2) - Copy.html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3 - Copy (2) - Copy.html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3 - Copy (2) - Copy.html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3 - Copy (2) - Copy.html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3 - Copy (2) - Copy.html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3 - Copy (2) - Copy.html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3 - Copy (2) - Copy.html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\10 - Copy (4).html Title Template 2 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\10 - Copy (4).html Title Template 2 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\10 - Copy (4).html Title Template 2 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\10 - Copy (4).html Title Template 2 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\10 - Copy (4).html Title Template 2 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\10 - Copy (4).html Title Template 2 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\10 - Copy (4).html Title Template 2 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\10 - Copy (4).html Title Template 5 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\4.html Title Template 5 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\4.html Title Template 5 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\4.html Title Template 5 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\4.html Title Template 5 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\4.html Title Template 5 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\4.html Title Template 5 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\4.html Title Template 5 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\4.html Title Template 5 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\4.html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3 - Copy (4).html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3 - Copy (4).html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3 - Copy (4).html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3 - Copy (4).html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3 - Copy (4).html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3 - Copy (4).html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3 - Copy (4).html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3 - Copy (4).html Title Template 4 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\3 - Copy (4).html Title Template 7 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\6.html Title Template 7 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\6.html Title Template 7 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\6.html Title Template 7 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\6.html Title Template 7 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\6.html Title Template 7 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\6.html Title Template 7 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\6.html Title Template 7 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\6.html Title Template 1 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\1 - Copy - Copy (3).html Title Template 1 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\1 - Copy - Copy (3).html Title Template 1 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\1 - Copy - Copy (3).html Title Template 1 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\1 - Copy - Copy (3).html Title Template 1 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\1 - Copy - Copy (3).html Title Template 1 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\1 - Copy - Copy (3).html Title Template 1 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\1 - Copy - Copy (3).html Title Template 1 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\1 - Copy - Copy (3).html Title Template 1 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\1 - Copy - Copy (3).html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy.html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy.html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy.html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy.html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy.html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy.html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy.html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy.html Title Template 3 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\2 - Copy - Copy (2).html Title Template 3 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\2 - Copy - Copy (2).html Title Template 3 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\2 - Copy - Copy (2).html Title Template 3 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\2 - Copy - Copy (2).html Title Template 3 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\2 - Copy - Copy (2).html Title Template 3 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\2 - Copy - Copy (2).html Title Template 3 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\2 - Copy - Copy (2).html Title Template 3 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\2 - Copy - Copy (2).html Title Template 1 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\1 - Copy.html Title Template 1 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\1 - Copy.html Title Template 1 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\1 - Copy.html Title Template 1 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\1 - Copy.html Title Template 1 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\1 - Copy.html Title Template 1 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\1 - Copy.html Title Template 1 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\1 - Copy.html Title Template 1 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\1 - Copy.html Title Template 1 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\1 - Copy.html Title Template 5 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\4 - Copy - Copy (2).html Title Template 5 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\4 - Copy - Copy (2).html Title Template 5 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\4 - Copy - Copy (2).html Title Template 5 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\4 - Copy - Copy (2).html Title Template 5 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\4 - Copy - Copy (2).html Title Template 5 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\4 - Copy - Copy (2).html Title Template 5 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\4 - Copy - Copy (2).html Title Template 5 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\4 - Copy - Copy (2).html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (2) - Copy.html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (2) - Copy.html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (2) - Copy.html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (2) - Copy.html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (2) - Copy.html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (2) - Copy.html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (2) - Copy.html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (2) - Copy.html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\6 - Copy (4).html Title Template 7 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\6 - Copy (4).html Title Template 7 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\6 - Copy (4).html Title Template 7 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\6 - Copy (4).html Title Template 7 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\6 - Copy (4).html Title Template 7 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\6 - Copy (4).html Title Template 7 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\6 - Copy (4).html Title Template 7 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\6 - Copy (4).html Title Template 7 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\6 - Copy (4).html Title Template 10 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\9.html Title Template 10 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\9.html Title Template 10 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\9.html Title Template 10 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\9.html Title Template 10 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\9.html Title Template 10 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\9.html Title Template 10 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\9.html Title Template 10 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\9.html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (4).html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (4).html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (4).html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (4).html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (4).html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (4).html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (4).html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (4).html Title Template 9 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\8 - Copy (4).html Title Template 2 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\10.html Title Template 2 C:\Users\User\documents\visual studio 2012\Projects\WindowsFormsApplication5\WindowsFormsApplication5\bin\Debug\config\1_amazon\layout\10.html







แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2013-09-15 20:09:23 By : nui
 


 

No. 2

Guest


ลองใช้ ค่าที่สุ่มมา = null มันก็ไม่ได้อะครับ รบกวนทีนะครับ ทำมาเกือบวันแล้วยังทำไม่ได้เลย
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2013-09-15 20:10:22 By : nui
 

   

ค้นหาข้อมูล


   
 

แสดงความคิดเห็น
Re : อ่านไฟล์ txt ทีละบรรทัด และไฟล์จากโฟลเดอร์ และ สุ่มบรรทัดจากไฟล์ แต่มันได้ค่าเดิม เป็นเพราะอะไรครับ
 
 
รายละเอียด
 
ตัวหนา ตัวเอียง ตัวขีดเส้นใต้ ตัวมีขีดกลาง| ตัวเรืองแสง ตัวมีเงา ตัวอักษรวิ่ง| จัดย่อหน้าอิสระ จัดย่อหน้าชิดซ้าย จัดย่อหน้ากึ่งกลาง จัดย่อหน้าชิดขวา| เส้นขวาง| ขนาดตัวอักษร แบบตัวอักษร
ใส่แฟลช ใส่รูป ใส่ไฮเปอร์ลิ้งค์ ใส่อีเมล์ ใส่ลิ้งค์ FTP| ใส่แถวของตาราง ใส่คอลัมน์ตาราง| ตัวยก ตัวห้อย ตัวพิมพ์ดีด| ใส่โค้ด ใส่การอ้างถึงคำพูด| ใส่ลีสต์
smiley for :lol: smiley for :ken: smiley for :D smiley for :) smiley for ;) smiley for :eek: smiley for :geek: smiley for :roll: smiley for :erm: smiley for :cool: smiley for :blank: smiley for :idea: smiley for :ehh: smiley for :aargh: smiley for :evil:
Insert PHP Code
Insert ASP Code
Insert VB.NET Code Insert C#.NET Code Insert JavaScript Code Insert C#.NET Code
Insert Java Code
Insert Android Code
Insert Objective-C Code
Insert XML Code
Insert SQL Code
Insert Code
เพื่อความเรียบร้อยของข้อความ ควรจัดรูปแบบให้พอดีกับขนาดของหน้าจอ เพื่อง่ายต่อการอ่านและสบายตา และตรวจสอบภาษาไทยให้ถูกต้อง

อัพโหลดแทรกรูปภาพ

Notice

เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ
อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง

   
  เพื่อความปลอดภัยและการตรวจสอบ กระทู้ที่แทรกไฟล์อัพโหลดไฟล์จากที่อื่น อาจจะถูกลบทิ้ง
 
โดย
อีเมล์
บวกค่าให้ถูก
<= ตัวเลขฮินดูอารบิก เช่น 123 (หรือล็อกอินเข้าระบบสมาชิกเพื่อไม่ต้องกรอก)







Exchange: นำเข้าสินค้าจากจีน, Taobao, เฟอร์นิเจอร์, ของพรีเมี่ยม, ร่ม, ปากกา, power bank, แฟลชไดร์ฟ, กระบอกน้ำ

Load balance : Server 02
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่