5,346 Posted Topics

Member Avatar for Diogo Martinho

`en-GB` is United Kigdom's culture name. Have a look at following code-snippet which returns English cultures: var list = CultureInfo .GetCultures(CultureTypes.AllCultures) .Where(x=>x.TwoLetterISOLanguageName=="en"); foreach (var cultureInfo in list) { Console.WriteLine(cultureInfo.TextInfo.CultureName); }

Member Avatar for kvprajapati
0
117
Member Avatar for skandh

skandh, Your question should be - How to display 256 color bitmap using C++ program? Use C99 - standard c++ compiler. CodeBlocks, DevC++, and Microsoft Visual C++ are free compilers. Read more about C-99 [URL="http://www.open-std.org/jtc1/sc22/wg14/"]http://www.open-std.org/jtc1/sc22/wg14/[/URL] [URL="http://siddhant3s.googlepages.com/how_to_tell_rusted_cpp.html"]http://siddhant3s.googlepages.com/how_to_tell_rusted_cpp.html[/URL] [URL="https://developer.mozilla.org/en/C___Portability_Guide"]https://developer.mozilla.org/en/C___Portability_Guide[/URL]

Member Avatar for jay.vivarekar
0
2K
Member Avatar for salemula

:) > Hi professors, Just say "Hello Friends" or "Greetings" You should have to use Oracle Java EE documentation & Java EE [5](http://docs.oracle.com/javaee/5/tutorial/doc/)/6/7 tutorials.

Member Avatar for knsiwu
0
369
Member Avatar for murtazamzk

Take a look at [URL="http://stackoverflow.com/questions/491578/how-do-i-convert-speech-to-text"][B]How do I convert speech to text?[/B][/URL] thread.

Member Avatar for YogeshD
-1
3K
Member Avatar for geethashri
Member Avatar for Dili1234
Member Avatar for Dili1234
0
183
Member Avatar for mohankumar554
Member Avatar for eiallen

>What I need is to filter contents in 'run-time'. set new data source. [code] Me.yourTableAdapter.Fill(Me.DataSet1.yourTable) Me.DataSet1.yourTable.DefaultView.RowFilter = "column_name='data'" yourBindingSource.DataSource = Me.DataSet1.yourTable.DefaultView Me.ReportViewer1.RefreshReport() [/code]

Member Avatar for rhiyan.tale
0
1K
Member Avatar for Dili1234

> The problem every data is showing at three times Please review the query that is used to fetch result. Also verify the `Links` section of `Data Source` of CrystalReport designer.

Member Avatar for Dili1234
0
176
Member Avatar for Maideen

You've to post exception stack trace and also include <assemblies> section of web.config in your post.

Member Avatar for Maideen
0
248
Member Avatar for pardeep3dec

Happy new year to you too! >I am unable to run VB.Net exe file on another computer You need to learn application deployment (project deployment) strategy of .net framework. Take a look at theses MSDN pages/articles. 1. [URL="http://msdn.microsoft.com/en-us/library/wtzawcsz(v=VS.90).aspx"]Deploying Applications and Components[/URL] 2. Social MSDN [URL="http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/1ddbb099-ffab-4d5d-a4c8-454d70c846dc/"]thread [/URL]about deployment.

Member Avatar for prateek.singh.18
1
170
Member Avatar for rony001

You need to write JavaScript code and you will have handle some keys and focus events. I suggest to learn JavaScript via -- http://www.code.org/ or http://www.codecademy.com/

Member Avatar for geniusvishal
0
163
Member Avatar for xxmp

Use `Servlet-centric` design or select `MVC Framework` or [URLRewriterFilter](http://tuckey.org/urlrewrite/) tool (just like Apache's mod_rewrite).

Member Avatar for xxmp
0
187
Member Avatar for davy_yg

Text from [netbean's kb](https://netbeans.org/kb/docs/php/debugging.html) > To successfully debug PHP applications in the NetBeans IDE for PHP, you need to have the PHP engine, the Apache local web server, and the XDebug debugger installed and configured for PHP development. If you have difficulties getting XDebug to work, see the [NetBeans wiki](http://wiki.netbeans.org/HowToConfigureXDebug) …

Member Avatar for kvprajapati
0
82
Member Avatar for singularity~

Take a look at MSDN reference [ActionLink](http://msdn.microsoft.com/en-us/library/system.web.mvc.html.linkextensions.actionlink(v=vs.108).aspx) from which you may choose appropriate syntax to send data: @Html.ActionLink("link text", "action", "controller", new { id = "123", name = "foo" }, null)

Member Avatar for kvprajapati
0
189
Member Avatar for venus pacia

Once you learn C# or VB.NET Language, .net framework TYPES system, HTML, CSS and JavaScript, I'm sure you can develop webapp easily.

Member Avatar for Yoselin
0
231
Member Avatar for Swapnil Palande

Welcome. I'm glad you got it helpful. If you want to ask question, start your own thread. Thread Closed.

Member Avatar for Quezo
0
9K
Member Avatar for mferarri

The `System.Array` is base/super class of array. Here you need to request a method : `a.GetValue(0)`

Member Avatar for kvprajapati
0
143
Member Avatar for TechSupportGeek

Hope this will help you. [code] void CheckIt(object button) { toolStripButton1.Checked = false; toolStripButton2.Checked = false; toolStripButton3.Checked = false; ((ToolStripButton)button).Checked = !((ToolStripButton)button).Checked; } private void toolStripButton1_Click(object sender, EventArgs e) { richTextBox1.SelectionAlignment = HorizontalAlignment.Left; CheckIt(sender); } private void toolStripButton2_Click(object sender, EventArgs e) { richTextBox1.SelectionAlignment = HorizontalAlignment.Center; CheckIt(sender); } private void toolStripButton3_Click(object …

Member Avatar for Luc001
0
2K
Member Avatar for nileshahir

Welcome nileshahir. What have you done so far? Post your code here and someone will help you. Do wrap your programming code blocks within [noparse][code]..[/code][/noparse] tags. Read forum [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL] and homework [URL="http://www.daniweb.com/forums/announcement61-2.html"]policy[/URL] here at Daniweb.

Member Avatar for talerKK
0
125
Member Avatar for elamigosam

>PS ask me about any other details, cus there is always details. Will you please?

Member Avatar for pp0007
-1
322
Member Avatar for eos.paks

You need to use ASP.NET [authentication & authorization](http://www.asp.net/web-forms/overview/security) APIs.

Member Avatar for BMXDad
0
136
Member Avatar for |-|x

Whenever you post/submit the form, huge amount of data from client to server are sent and it exceed the 4 KB range(Default size of MaxRequestLength is 4 KB). One possible cause would be improper use of "ViewState". May be you can turn off ViewState for `GridView` if you dont want …

Member Avatar for BMXDad
0
1K
Member Avatar for team_ferrari22

[b]>Is there any way to read/extract data from sql server backup file without restoring it[/b] No. Backup file format is not publicly documented.

Member Avatar for senadfok
0
192
Member Avatar for Varunkrishna

Read this SO thread - [Whats the main difference between int.Parse() and Convert.ToInt32](http://stackoverflow.com/questions/199470/whats-the-main-difference-between-int-parse-and-convert-toint32). `Convert.ToInt32()` is a helper method that uses Int32.Parse().

Member Avatar for kvprajapati
0
186
Member Avatar for zurehman

To *escape* a single quote and other escape sequence chars, you need to use parameterized sql statement (SqlParameter, OleDbParameter etc). Using cn As New SqlConnection(cnStr) Dim sql = "INSERT INTO tableOne (col1) VALUES (@col1)" Using cmd as new SqlCommand(sql,cn) cmd.Parameters.AddWithValue("@col1","25's") cn.Open() cmd.ExecuteNonQuery() cn.Close() End Using End Using

Member Avatar for M.Waqas Aslam
0
128
Member Avatar for boonfoo

Have a look at tutorials - [url]http://www.beansoftware.com/ASP.NET-Tutorials/Using-Crystal-Reports.aspx[/url]

Member Avatar for patelkisankumar
0
490
Member Avatar for diana john

You can populate the `DataSet` by selecting any one of .net XML API (XmlDocument (DOM), LINQ to XML or XPathNavigator).

Member Avatar for eonejames
0
222
Member Avatar for johnt68

I guess you want to create a list of people and display this list whose birth date is equal to DateTimePicker date (day and month). I suggest you to use LINQ to XML to populate `List<Person>`. Here is a working sample : Create a TYPE Person ------------------------------------ public class Person …

Member Avatar for johnt68
0
197
Member Avatar for Robs789

Here are my suggestions, please review your code. 1. LIKE operator cannot be used with numeric fields. In this case verify the exception log. 2. May be you need to dispose/close the connection after updation and open before you read rows. 3. Add break-points to examine the value of objects/variables …

Member Avatar for kvprajapati
0
529
Member Avatar for yorro
Member Avatar for Luc001
0
2K
Member Avatar for pwolf

Instantiate the OleDbCommandBuilder inside the method: public static void loadTblCars() { // prepare, open and load the cars table into dataset ds1 con.Open(); sql = "SELECT * FROM tblCars"; ds1 = new DataSet(); da = new OleDbDataAdapter(sql, con); cb = new System.Data.OleDb.OleDbCommandBuilder(da); numOfRowsCars = da.Fill(ds1, "tblCars"); con.Close(); }

Member Avatar for pwolf
0
189
Member Avatar for riteshsingh_22

[b]>How to store multiple values selected from gridview into session.[/b] Have a look. [code] ... DataTable dt=new DataTable(); if(Session["key"]==null) { dt.Columns.Add("Name"); Session["key"]=dt; } dt=(DataTable)Session["key"]; dt.Rows.Add("Sample"); ... [/code]

Member Avatar for annaharris
0
338
Member Avatar for Enrique Nivasch

> Unable to find assembly 'CreateData, Version=1.0.0.0, I think you forget to use same namespace for type - DataStructure. [code] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; namespace CreateData { class Program { static void Main() { // Construct and fill the data …

Member Avatar for saratkumar123
0
10K
Member Avatar for farheen
Member Avatar for de Source

Wrap your databinding code in page_Load handler, protected void page_load() { if(!IsPostBack) { //databinding code } }

Member Avatar for de Source
0
268
Member Avatar for maHvic

Members, Look at thread's start date. It was started on [B]Dec 10th, 2007[/B]. Please do not resurrect old threads. By doing so you run the risk of confusing current posters. Please read the rules before posting again - [url]http://www.daniweb.com/forums/thread78223.html[/url] and [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL]. Thread Closed.

Member Avatar for AndrisP
0
1K
Member Avatar for khizer03
Member Avatar for annaharris
0
183
Member Avatar for spowel4

Change the file format to [Excel.XlFileFormat.xlCSVWindows](http://msdn.microsoft.com/en-us/library/microsoft.office.interop.excel.xlfileformat(v=office.11).aspx).

Member Avatar for spowel4
0
314
Member Avatar for ero100@live.com

Hi ero10, It is you?. It is it's code [CODE] <head> <script type="text/javascript"> function heisit() { if(form1["name"]["value"].length==0) return false; if(form1["address"]["value"].length==0) return false; return true; } </script> </head> ..... <form id="form1" name="form1" method="post" action="form.php" onsubmit="return heisit()" > <label> NAME: <input type="text" name="name" id="name" /> </label> <p> Address: <label> <input type="text" name="address" …

Member Avatar for diafol
0
244
Member Avatar for Sammys.Man

> ive got a datagridview populated What dataSources are used to populate the DataGridView? There are number of ways to do so, 1. Compare input value against the dataSource (array,List<T>, DataTable etc) that is used to populate the DtaGridView. 2. Traverse the `DataGridView.Rows` collection (you've tried).

Member Avatar for Sammys.Man
0
162
Member Avatar for samir_ibrahim

1. Create New Win Project 2. Add a class file into project - Create a sub class of DataSet [code=vb.net] Imports System.Data.DataSet Public Class DBO Inherits DataSet Private dt As DataTable Public Sub New() dt = New DataTable("Sample") dt.Columns.Add("No", GetType(Integer)) dt.Columns.Add("Name") dt.Rows.Add(1, "A1") dt.Rows.Add(2, "A2") dt.Rows.Add(3, "A3") dt.Rows.Add(4, "A4") dt.AcceptChanges() …

Member Avatar for savedlema
0
1K
Member Avatar for Krstevski

[QUOTE=Krstevski;889728]Hey people... I want to delete the file from the server when he is been successfully doownloaded from the server (one-time download)... how can i this ? For send file I`m using the method transmitFile(...)... Thanks.[/QUOTE] To delete a file - use System.Io.File.Delete("absolute_filepath") method.

Member Avatar for NarmadhaMano
0
193
Member Avatar for Dark_Omen

@lal.ramesh We appreciate your help. Have you ever noticed that the current thread is five years old? Please do not resurrect threads that are years old. By doing so you run the risk of confusing current posters. If you have any questions please ask. You are welcome to start your …

Member Avatar for Momerath
0
3K
Member Avatar for ayesha789

ayesha, Read this - [URL="http://javascript.internet.com/page-details/screen-resolution-detect-redirect.html"]http://javascript.internet.com/page-details/screen-resolution-detect-redirect.html[/URL]

Member Avatar for dados
0
8K
Member Avatar for verbalurbs

Use DataBind. [code] Public Sub RtnCmbVal() Dim conn As SqlConnection Dim str As String = "select ConsultantId, FullName from Derma_Consultants" Dim ds As New SqlDataAdapter(str, conn) Dim dt as new DataTable ds.Fill(dt) consultantcmb.DataSource=dt consultantcmb.DisplayMember=dt.Columns(1).ColumnName consultantcmb.ValueMember=dt.Columns(0).ColumnName End Sub [/code]

Member Avatar for martinhosking
0
409
Member Avatar for geetajlo

Welcome anandkumarrs6. We appreciate your help. Have you ever noticed that the current thread is three years old? Please do not resurrect old threads and have a look at forum [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL]. Please read before posting - [url]http://www.daniweb.com/forums/thread78223.html[/url] Thread Closed.

Member Avatar for Reverend Jim
1
10K
Member Avatar for zuve_fox
Member Avatar for Grandiago

You should have to include "Error/Exception" trace to your post. The error says that you've some reference variables that contains `null`. Please verify `ds` and `da` variables. Use `Using` to ensure the ADO resources are disposed properly: Using Cn As New OleDb.OleDbConnection Using Cmd As New OleDb.OleDbCommand Cn.ConnectionString = "your_connection_string" …

Member Avatar for adam_k
0
233
Member Avatar for Grandiago

Don't use *DataSource*. Use ADO.NET Provider API or Entity Data Model. Visit MSDN Pages on ADO.NET/EDM.

Member Avatar for Grandiago
0
155

The End.