5,346 Posted Topics

Member Avatar for Diamonddrake

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?

Member Avatar for Diamonddrake
0
162
Member Avatar for markdean.expres
Member Avatar for leoeroy

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]

Member Avatar for RipperJT
0
187
Member Avatar for man3388

[b]>What 2 do?[/b] Please elaborate on your question. Error says: indexing not allowed in datacolumn...so don't use indexing.

Member Avatar for kvprajapati
0
236
Member Avatar for complete

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. …

Member Avatar for kvprajapati
0
106
Member Avatar for dre-logics

Please read [URL="http://stackoverflow.com/questions/819647/auto-update-net-applications"]this[/URL] question.

Member Avatar for dre-logics
0
144
Member Avatar for jain.vrish
Member Avatar for jackabascal

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 …

Member Avatar for nick.crane
0
178
Member Avatar for love_dude1984

[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 …

Member Avatar for kvprajapati
0
315
Member Avatar for mogaka
Member Avatar for nutsxiera

[b]>how to compare with data in database?[/b] Use [B]Parameters[/B] and SELECT with WHERE clause.

Member Avatar for kvprajapati
0
84
Member Avatar for chbichib

[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 …

Member Avatar for kvprajapati
0
156
Member Avatar for The3211
Member Avatar for karanamanil
Member Avatar for kimbula...

[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

Member Avatar for kvprajapati
0
61
Member Avatar for Naveed_786

[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]

Member Avatar for kvprajapati
0
153
Member Avatar for swathys
Member Avatar for ehrendreich
Member Avatar for kvprajapati
0
385
Member Avatar for jcfans

[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]

Member Avatar for kvprajapati
0
72
Member Avatar for srice

[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]

Member Avatar for kvprajapati
0
113
Member Avatar for Clocker

Use [B]IsReference()[/B] or [B]Isnothing()[/B] to check whether an object variable has reference or not.

Member Avatar for kvprajapati
0
149
Member Avatar for dude_123

Welcome dude_123. Sort the "dataTable" (month, year) and do loop to concatenate strings.

Member Avatar for kvprajapati
0
90
Member Avatar for markdean.expres

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.

Member Avatar for markdean.expres
0
84
Member Avatar for kiyu2keith

[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).

Member Avatar for kvprajapati
0
89
Member Avatar for poojashah623

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.

Member Avatar for kvprajapati
0
96
Member Avatar for kiel19

[URL="https://www.remotedatabackups.com/kb/kb.cfm?id=63"]xcopy[/URL]- Read knowledge base item.

Member Avatar for kvprajapati
0
74
Member Avatar for mikel07

[b]>How insert , Edit and update data in datagrid?[/b] For database operations use ADO.NET data provider classes.

Member Avatar for sreeatkl
-1
92
Member Avatar for shaqtus

Firstly you can't insert array of bytes (fileUpload.FileBytes) into a table via sql string. Use @Parameterized query. (See MSDN pages - Parameterized query).

Member Avatar for kvprajapati
0
87
Member Avatar for abdul_rouf26

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]

Member Avatar for kvprajapati
0
622
Member Avatar for queryme

[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).

Member Avatar for kvprajapati
0
187
Member Avatar for adobe71

[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]

Member Avatar for Serialz
0
189
Member Avatar for osirion666

> 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++) { …

Member Avatar for javaAddict
0
455
Member Avatar for cwarn23

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.

Member Avatar for chrishea
1
325
Member Avatar for jbisono

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].

Member Avatar for jbisono
0
339
Member Avatar for liamzebedee
Member Avatar for kvprajapati
0
34
Member Avatar for ejazmusavi

Thanks @poifull and @danny. @poifull has created a new thread. [B]Thread locked.[/B]

Member Avatar for kvprajapati
0
450
Member Avatar for swathys

[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]

Member Avatar for swathys
0
157
Member Avatar for mayurisuneth
Member Avatar for mayurisuneth
0
73
Member Avatar for pashaa
Member Avatar for eyeripper
Member Avatar for JohnPhilipps

Use following code [CODE=Java] String a="C:\\csnet"; Runtime.getRuntime().exec("cmd /c start "+a); [/CODE]

Member Avatar for ankurgecr
0
2K
Member Avatar for TommyTran
Member Avatar for nick.crane

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]

Member Avatar for nick.crane
1
278
Member Avatar for Philosophaie

[b]>I would like to know the replacement for the background color in a table: bgcolor.[/b] Yes, you can. Write JavaScript/jQuery code.

Member Avatar for ollystretton
0
263
Member Avatar for zulhimi89
Re: SQL

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]

Member Avatar for zulhimi89
0
91
Member Avatar for srujanac#

[b]>validation for multiple checkboxes[/b] Here is great article by Scott Mitchelll - [url]http://www.4guysfromrolla.com/articles/092006-1.aspx[/url]

Member Avatar for srujanac#
0
933
Member Avatar for SolonDemos

Read following threads: 1. [url]http://forums.asp.net/t/1088928.aspx[/url] 2. [url]http://dotnet.itags.org/dotnet-security/50805/[/url]

Member Avatar for SolonDemos
0
106
Member Avatar for sandipan.rcciit

sandipan.rcciit, Remove the content of StringBuilder object after printing it on console window. [CODE=C#] sb.Length=0; [/CODE]

Member Avatar for rameez jawaid
0
469
Member Avatar for dre-logics

[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]

Member Avatar for dre-logics
0
99
Member Avatar for srujanac#

Double Thread - [url]http://www.daniweb.com/forums/thread311067.html[/url] [B]Thread Locked.[/B]

Member Avatar for kvprajapati
0
279

The End.