5,346 Posted Topics
Re: Correct me if I'm wrong. Have you tried [B]WebClient.[URL="http://msdn.microsoft.com/en-us/library/system.net.webclient.uploadfile(v=vs.71).aspx"]FileUpload[/URL][/B] method? | |
Re: Use [b]vbCrLf[/b] - new line (line feed character). | |
Re: May be you are looking for, [code] Dim s = "aa,bb,cc,dd" Dim t = System.Text.RegularExpressions.Regex.Replace(s, "(\w+),(\w+)", "$2,$1") [/code] | |
Re: [b]>What 2 do?[/b] Please elaborate on your question. Error says: indexing not allowed in datacolumn...so don't use indexing. | |
Re: It's a [B]ViewModal[/B]. Text from blog - [url]http://www.nikhilk.net/Silverlight-ViewModel-Pattern.aspx[/url] [QUOTE]ViewModel This can also be read as "The View's Model" which is a bit more representative of its function. This sits in between the View and the Model and surfaces data in a form that is more suited for viewing or editing. … | |
Re: Please read [URL="http://stackoverflow.com/questions/819647/auto-update-net-applications"]this[/URL] question. | |
| |
Re: Take a look, [code] .... public class Item { public string Text { get; set; } public string Value { get; set; } public override string ToString() { return Text; } } private void Form1_Load(object sender, EventArgs e) { listBox1.Items.Add(new Item() { Text = "A", Value = "1" }); listBox1.Items.Add(new … | |
Re: [QUOTE=love_dude1984;1344744]hi.. i tried the same method.but the problem is, im using an object as its datasource.so may be thats why it needs some programming. Does any1 know how to sort it when the data source is an object?[/QUOTE] Text from MSDN page: [QUOTE]The DataGridView class supports the standard Windows Forms … | |
| |
Re: [b]>how to compare with data in database?[/b] Use [B]Parameters[/B] and SELECT with WHERE clause. | |
Re: [B]Don't use concatenate sql strings[/B] Read SQL-Injection - [url]http://msdn.microsoft.com/en-us/library/ms161953.aspx[/url] [code] Dim ConStr As String = "provider=microsoft.jet.oledb.4.0;" & _ "data source= " & Application.StartupPath & "\" & "Mydata.mdb;" Dim connection As New OleDb.OleDbConnection(ConStr) Dim savinto As New OleDb.OleDbCommand savinto.Connection = connection savinto.CommandText = "UPDATE Table1 SET nom=@nom,prenom =@premon WHERE poid=@poid" 'Add … | |
Re: [code] Me.Cursor = New Cursor("x:\path\path1\file.cur") [/code] | |
Re: Use [B]k.GetText()[/B] method. | |
Re: [b]>Exporting from VB.Net to Microsoft Excel 2007. Can someone post a code to do the above task. thank you[/b] Two ways: 1. Use ADO.NET OleDb data provider. 2. Office InterOp API | |
Re: [QUOTE=Naveed_786;1342476]How to make clients on sql server i mean when i will install my application on clients how i will connect it with sql server?[/QUOTE] Set ConnectionString of remote database. Take a look - [url]http://www.connectionstrings.com/[/url] | |
Re: Do try "Crystal Report" or "Microsoft Report". | |
Re: Please take a look at this thread - [url]http://www.daniweb.com/forums/post1136185.html#post1136185[/url] | |
Re: [b]>The timer will automatic generate a report for every monday(8am),how 2 do it?[/b] Suggestion: Don't shutdown your PC. Show us your code please. PS: Read "Member Rules" - [url]http://www.daniweb.com/forums/faq.php?faq=daniweb_policies[/url] | |
Re: [code] Dim cmd As New SqlCommand("SELECT DISTINCT natureport FROM rates ORDER BY natureport", conn) Dim da As SqlDataReader conn.Open() da = cmd.ExecuteReader(CommandBehavior.CloseConnection) while da.Read() ListBox1.Items.Add(da.Item("natureport")) end while da.Close() conn.Close() [/code] | |
Re: Use [B]IsReference()[/B] or [B]Isnothing()[/B] to check whether an object variable has reference or not. | |
Re: Welcome dude_123. Sort the "dataTable" (month, year) and do loop to concatenate strings. | |
Re: You would like to read - How to: [URL="http://msdn.microsoft.com/en-us/library/ms252125(v=vs.80).aspx"]Filter[/URL] Data in a ReportViewer Report. | |
Re: [QUOTE=kiyu2keith;1344524]How do you store data in the access database and also to retrieve it? and also a search engine for the database?[/QUOTE] Learn and use [URL="http://msdn.microsoft.com/en-us/library/h43ks021(VS.71).aspx"]ADO.NET[/URL] (Core Database Integration class library). | |
Re: I'm think the problem you are having is that you are setting the DataSource during the instantiation of the form. Please post source of program (fragment) here. | |
Re: [URL="https://www.remotedatabackups.com/kb/kb.cfm?id=63"]xcopy[/URL]- Read knowledge base item. | |
Re: [b]>How insert , Edit and update data in datagrid?[/b] For database operations use ADO.NET data provider classes. | |
Re: Firstly you can't insert array of bytes (fileUpload.FileBytes) into a table via sql string. Use @Parameterized query. (See MSDN pages - Parameterized query). | |
Re: Don't invoke [b]Clear[/b] method. [code] Response.Clear() Response.ClearContent() Response.ContentType = "audio/x-mp3" Response.AppendHeader("Content-Disposition", "attachment; filename= Rabba Ishq Na Hoe.mp3") Response.TransmitFile("~/Audio/Andaaz/Rabba Ishq Na Hove.mp3") Response.Flush() Response.End() [/code] | |
Re: [b]>>Asp.net C# Code for Playing Audio Files from Sqlserver Databse[/b] Create a "handler" for the video and the audio. (Read MSDN pages about Handlers). | |
Re: [b]>now i want to add serial number.[/b] Have a look at this article - [URL="http://www.devarticles.com/c/a/C-Sharp/Creating-a-.NET-Windows-Installer--Part-1/11/"]Custom Installer.[/URL] | |
Re: > can connect to it no problem and select and display data so its not a connectivity issue... How did you manage that one? >Why you wrote this? - Incorrect code. I can't find more words about this code. [CODE=Java] for (int i = 0; i < numbers.length; i++) { … | |
Re: cwarn23, I doubt you'll find a free SMS service. The usual approach is to find a gateway provider or broker that has the kind of service your after. | |
Re: Hi jbisono. I hope you solved your problem. I think it is a problem due to [URL="http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=875"]parameters[/URL]. | |
Re: I think you want to extract reference of video document. Isn't it? Take a look at "Html Agility Pack". | |
Re: Thanks @poifull and @danny. @poifull has created a new thread. [B]Thread locked.[/B] | |
Re: [b]>accumulate total in sql[/b] You need to write Stored-Procedure. Read this article - [url]http://www.sqlteam.com/article/calculating-running-totals[/url] | |
Re: Welcome pashaa, Show us your code work please. | |
Re: Please post your code here so we can help you. | |
Re: Use following code [CODE=Java] String a="C:\\csnet"; Runtime.getRuntime().exec("cmd /c start "+a); [/CODE] | |
Re: Show us your code please. | |
Re: Hi, I'd like to suggest you to read this thread and article - [url]http://stackoverflow.com/questions/2698570/what-issues-might-i-have-in-opening-net-2-0-projects-in-visual-studio-2010[/url] and [url]http://blogs.msdn.com/b/vcblog/archive/2010/03/16/vs-2010-and-source-control-providers.aspx[/url] | |
Re: [b]>I would like to know the replacement for the background color in a table: bgcolor.[/b] Yes, you can. Write JavaScript/jQuery code. | |
Re: Can you please elaborate little bit more on it? I suggest you to read these two articles. 1. [URL="http://www.catb.org/esr/faqs/smart-questions.html"]How To Ask Questions The Smart Way[/URL]. 2. [URL="http://msmvps.com/blogs/jon_skeet/archive/2010/08/29/writing-the-perfect-question.aspx"]Writing the perfect question.[/URL] | |
Re: [b]>validation for multiple checkboxes[/b] Here is great article by Scott Mitchelll - [url]http://www.4guysfromrolla.com/articles/092006-1.aspx[/url] | |
Re: Read following threads: 1. [url]http://forums.asp.net/t/1088928.aspx[/url] 2. [url]http://dotnet.itags.org/dotnet-security/50805/[/url] | |
Re: sandipan.rcciit, Remove the content of StringBuilder object after printing it on console window. [CODE=C#] sb.Length=0; [/CODE] | |
Re: [b]>What i want is to first show Form1 with alle the empty Datagridviews (6)controls and then After that i want that the program make the data connections and fill DataGridView with data.[/b] [code] form1.Show() form1.YourMethodThatPerformDataBinding() [/code] | |
Re: Double Thread - [url]http://www.daniweb.com/forums/thread311067.html[/url] [B]Thread Locked.[/B] |
The End.