5,346 Posted Topics
Re: DataGridView is a winform control. Please post your code here so we can provide better help. | |
Re: [code] var q = from nar in db.Narackis where nar.datum == DateTime.Parse(TextBox1.Text) select new { nar.ID, nar.sifra, nar.kolicina, nar.naziv }; [/code] | |
Re: DOM and [URL="http://stackoverflow.com/questions/30036/javascript-and-threads"]Asynchronous[/URL] calls. | |
Re: [b]>I understand how to connect to the local Domain Controller and make this Bindless[/b] I'm not sure what the problem you are facing. I hope following article will help you. 1. [url]http://msdn.microsoft.com/en-us/library/ms180890(VS.80).aspx[/url] 2. [url]http://articles.techrepublic.com.com/5100-10878_11-6054670.html[/url] | |
Re: Set [B]crystalReportViewer1.DisplayGroupTree=False[/B] | |
Re: Use [B]Request[/B] collection. C# [code] String value1=Request["a"]; String value2=Request["b"] [/code] VB.NET [code] Dim value1=Request("a") Dim value2=Request("b") [/code] | |
Re: [code] dataGridView1.DataSource = typeof(List); dataGridView1.DataSource = ds; //datasource object var. [/code] | |
Re: [code] ... naracka.kolicina = Convert.ToInt32(txtKolicina.Text); db.Narackis.InsertOnSubmit(naracka); db.SubmitChanges(); [/code] | |
Re: [b]>if anyone know that is it possible to more than one crystalreports call on same form in asp.net?[/b] Yes. [b]>then how?[/b] By instantiating CrystalReportViewer and Reportsource classes. | |
Re: Please tell us which method you have used to design a CrystalReport - [URL="http://www.codeguru.com/csharp/.net/net_general/toolsand3rdparty/article.php/c13253"]push[/URL] or pull. | |
Re: Take a look at [URL="http://jquery.malsup.com/media/"]jQuery Media plugin[/URL]. | |
Re: You can design your forms and control using [URL="http://www.codeproject.com/KB/vb/splforms.aspx"]GDI+[/URL] (System.Drawing). Of course there are number of commercial products - take a look at - [url]http://www.devexpress.com/Products/NET/Controls/WinForms/Skins/[/url] | |
Re: [URL="https://www.devexpress.com/Products/Free/NetOffer/"]DevExpress[/URL] - Over 60 [URL="http://stackoverflow.com/questions/178661/recommended-c-winform-controls-packs"]Free Controls[/URL] from DevExpress. | |
Re: [b]>how can i store contact no in database? [/b] [B][URL="http://msdn.microsoft.com/en-us/library/2y3fs9xs.aspx"]Profile[/URL][/B]. | |
Re: [b]>>how to check database column value with textbox?[/b] Answer is "SELECT with WHERE clause". [code] string connectionString; connectionString =("Data Source=INTRANETSERVER1;User ID=sa;Initial Catalog=HrData"); SqlConnection myConnection = new SqlConnection(connectionString); SqlCommand cmd=new SqlCommand(); cmd.CommandText="SELECT * FROM BMauthority1 where columnName=@p1"; cmd.Connection=myConnection; cmd.Parameters.AddWithValue("@p1",TextBox1.Text); myConnection.Open(); object result=cmd.ExecuteScalar(); myConnection.Close(); if(result==null) { // not found } else { … | |
Re: [b]Application.ExecutablePath[/b] - Get the path of executable file that started the application. | |
Re: You need to use [B]StructLayout[/B] attribute. Take a look at this thread - [url]http://social.msdn.microsoft.com/forums/en-US/clr/thread/f1074669-e5a7-4318-a42b-d1747e16cec7[/url] | |
Re: Alex_ , It just print it. Do know request dispatcher? | |
Re: If your request carries text-data along with a file (text/binary) then a [B]form[/B] html tag must have enctype attribute with multipart/form-data. [CODE=PHP] <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>" enctype="multipart/form-data" > <input type="hidden" name="category" value="music" /> <input type="file" name="image_upload" class="multi" accept="jpg|jpeg" maxlength="1" /> <input type="submit" name="cat_music_img" value="Update" /> </form> [/CODE] | |
Re: You have to set AllowPaging=true property of GridView. [code] public void bingdrid() { cmd.Connection = con; cmd.CommandText = "SELECT Customer.* , convert(varchar(50),StarteTime,103),convert(varchar(50),EndTime,103), CompanyMaster.Name, Country.CountryName, City.CityName, State.StateName " + "FROM Customer INNER JOIN "+ " CompanyMaster ON Customer.CompanyID = CompanyMaster.CompanyID INNER JOIN "+ " City ON Customer.CityID = City.CityID INNER JOIN … | |
Re: You have to add [b]Custom Action[/b], [b]User Interface[/b], and [b]Setup Registry[/b]. Take a look at [URL="http://msdn.microsoft.com/en-us/library/9cdb5eda.aspx"]http://msdn.microsoft.com/en-us/library/9cdb5eda.aspx[/URL] | |
Re: Use OleDB data provider or Office InterOp API. | |
Re: Your question is a little bit unclear to me. Do you want to read that xml file and store these loaded data into ms-sql database? Please mention the technology and programming language. | |
Re: [code] dataview = dataset.Tables[Table_Name].DefaultView; dataview.RowFilter = ""; [/code] | |
Re: Use boolean operators. - and , or [code] dv.RowFilter = "locatID = 1 and PageId =" + pID; [/code] | |
Re: Welcome Nidhi_zeni, Please take a look at this [URL="http://forums.asp.net/p/1485671/3496290.aspx"]thread[/URL]. | |
Re: What is the data type of [B]zip[/B] field in a table? | |
Re: Please post the .aspx markup here. Try to run web-app in debug mode and point out at which method and line of source code, where you got an exception. | |
Re: >I'm Trying to Make some Improvements on an Existing Site, so I Copied all the Files to a New Directory in the same Path And Started Working On the Files Over there. I think you have copied all files in a new directory but forget to configured this newly created … | |
Re: You need to rebind the [B]gridview[/B] after deletion of record. | |
Re: Have a look at - [url]http://www.cppreference.com/wiki/about/faq[/url] and [url]http://www.daniweb.com/forums/thread67837.html[/url] | |
Re: Linq to [URL="http://code.google.com/p/linqtoexcel/"]excel[/URL] is a cool way to read spreadsheet. You can also choose - LINQ and an XML [URL="http://social.msdn.microsoft.com/forums/en-US/xmlandnetfx/thread/90373c2d-5d19-43c8-98ca-ddb7891b1ac6/"]spreadsheet[/URL]. | |
Re: Change the format of date "yyyy-MM-dd" [code] str="insert into claims (claim_id, claim_amount, claim_date,claim_desc, emp_id) values (" & CInt(clm_id) & "," CInt(clm_amt) & ",'" & DateTime.Now.ToString("yyyy-MM-dd") & "', '" & CStr(clm_desc) & "'," & CInt(emp_id) & ")" [/code] | |
Re: Two ways to go (1) jQuery media [URL="http://jquery.malsup.com/media/"]plug-in[/URL] (2) [URL="http://stackoverflow.com/questions/187098/cross-platform-cross-browser-way-to-play-sound-from-javascript"]JavaScript[/URL] | |
Re: Use [B]cryRpt.ExportToDisk[/B] method. | |
Re: Please read member-rule at Daniweb. [B]Keep It Legal[/B] 1. Do ensure you own the intellectual property rights to everything that you post 2. Do not post copyright-infringing material 3. Do not post pornographic material, nor link to it 4. Do not ask about obtaining pirated software, nor link to it … | |
Re: At which line no# you got the problem. | |
Re: Take a look at this thread - [url]http://stackoverflow.com/questions/442022/how-to-build-a-threaded-comment-system-in-c-help[/url] | |
Re: Please read these threads: 1. [url]http://social.msdn.microsoft.com/forums/en-US/csharpgeneral/thread/3435b288-a48f-46cc-b247-0f4c3deb5f89/[/url] 2. [url]http://stackoverflow.com/questions/1781869/get-mac-address-from-ip-using-dhcp[/url] | |
Re: Please show us your code here. | |
![]() | Re: Please show us your code work and also tell us about your application type - windows/web? |
Re: Handle [B]KeyDown[/B] event. [code] private void richTextBox1_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { MessageBox.Show("Do some action here..."); e.Handled = true; } } [/code] | |
Re: Use [B]FtpWebRequest[/B] - [url]http://www.devx.com/tips/Tip/45160[/url] | |
Re: I guess this link will help you - [url]http://www.codeproject.com/KB/files/Unique_Folder_Protection.aspx[/url] | |
Re: Use [B]SELECT DISTINCT[/B] clause. [code=text] SELECT DISTINCT ProductName FROM TABLE [/code] Or - use GROUP BY. | |
Re: Have a look, [code] public Boolean Login(String username, String password) { SqlCommand cmd = new SqlCommand ("SELECT * FROM [users] WHERE [username]='" + username + "' AND [password]='" + password + "'", connection); connection.Open(); SqlDataReader reader = cmd.ExecuteReader(); bool found=false; if(reader.Read()) { found=true; } reader.Close(); connection.Close(); return found; } [/code] | |
| |
Re: What I am saying that you need to more concentrate on your code. Use different programming techniques/tricks. | |
Re: [code] Dim no = 456 Dim bin=Convert.ToString(no, 2) '<-----Convert.ToString(value,radix) Dim oct=Convert.ToString(no, 8) '<-----Convert.ToString(value,radix) [/code] | |
The End.