5,346 Posted Topics

Member Avatar for piranha3d
Member Avatar for Lazarevski

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

Member Avatar for kvprajapati
0
67
Member Avatar for kiran@kumar

DOM and [URL="http://stackoverflow.com/questions/30036/javascript-and-threads"]Asynchronous[/URL] calls.

Member Avatar for kvprajapati
0
68
Member Avatar for DongleDaniel

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

Member Avatar for kvprajapati
0
129
Member Avatar for mogaka
Member Avatar for canterorist

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]

Member Avatar for canterorist
0
176
Member Avatar for jlivvers

[code] dataGridView1.DataSource = typeof(List); dataGridView1.DataSource = ds; //datasource object var. [/code]

Member Avatar for kvprajapati
0
99
Member Avatar for Lazarevski

[code] ... naracka.kolicina = Convert.ToInt32(txtKolicina.Text); db.Narackis.InsertOnSubmit(naracka); db.SubmitChanges(); [/code]

Member Avatar for kvprajapati
0
77
Member Avatar for devloper

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

Member Avatar for kvprajapati
0
56
Member Avatar for swathys

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.

Member Avatar for swathys
0
178
Member Avatar for itslucky
Member Avatar for kvprajapati
0
195
Member Avatar for Jazerix

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]

Member Avatar for Momerath
0
92
Member Avatar for eantz

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

Member Avatar for kvprajapati
0
160
Member Avatar for ranu jain

[b]>how can i store contact no in database? [/b] [B][URL="http://msdn.microsoft.com/en-us/library/2y3fs9xs.aspx"]Profile[/URL][/B].

Member Avatar for ranu jain
0
70
Member Avatar for snehalj

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

Member Avatar for snehalj
0
514
Member Avatar for getkiran1

[b]Application.ExecutablePath[/b] - Get the path of executable file that started the application.

Member Avatar for Ionesta
0
2K
Member Avatar for clarencehwang

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]

Member Avatar for kvprajapati
0
185
Member Avatar for Alex_
Member Avatar for anarki2k3

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]

Member Avatar for patodeborracha
0
106
Member Avatar for jackparsana

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 …

Member Avatar for jackparsana
0
159
Member Avatar for VibhorG

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]

Member Avatar for dnlangela
0
2K
Member Avatar for shwetas1
Member Avatar for milenio

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.

Member Avatar for iceandrews
0
245
Member Avatar for foluis

[code] dataview = dataset.Tables[Table_Name].DefaultView; dataview.RowFilter = ""; [/code]

Member Avatar for foluis
0
47
Member Avatar for loveforfire33

Use boolean operators. - and , or [code] dv.RowFilter = "locatID = 1 and PageId =" + pID; [/code]

Member Avatar for foluis
0
114
Member Avatar for Nidhi_zeni

Welcome Nidhi_zeni, Please take a look at this [URL="http://forums.asp.net/p/1485671/3496290.aspx"]thread[/URL].

Member Avatar for Nidhi_zeni
0
65
Member Avatar for new SE
Member Avatar for Man44ever

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.

Member Avatar for dnanetwork
0
131
Member Avatar for Hernan_Icon

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

Member Avatar for kvprajapati
0
100
Member Avatar for mldardy
Member Avatar for Stefano Mtangoo

Have a look at - [url]http://www.cppreference.com/wiki/about/faq[/url] and [url]http://www.daniweb.com/forums/thread67837.html[/url]

Member Avatar for onoffon
0
150
Member Avatar for mrbungle

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

Member Avatar for kvprajapati
0
175
Member Avatar for NetHustle

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]

Member Avatar for kvprajapati
0
70
Member Avatar for queryme

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]

Member Avatar for kvprajapati
0
99
Member Avatar for vinayak.v
Member Avatar for MrBlack

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 …

Member Avatar for kvprajapati
0
65
Member Avatar for Lazarevski
Member Avatar for dhvl2712

Take a look at this thread - [url]http://stackoverflow.com/questions/442022/how-to-build-a-threaded-comment-system-in-c-help[/url]

Member Avatar for kvprajapati
0
88
Member Avatar for jamal.yaqub

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]

Member Avatar for kvprajapati
0
111
Member Avatar for wenlong88
Member Avatar for alex-i

Please show us your code work and also tell us about your application type - windows/web?

Member Avatar for kvprajapati
0
82
Member Avatar for Nivass

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]

Member Avatar for kvprajapati
0
100
Member Avatar for pilipino93

Use [B]FtpWebRequest[/B] - [url]http://www.devx.com/tips/Tip/45160[/url]

Member Avatar for kvprajapati
0
86
Member Avatar for babaidebnath

I guess this link will help you - [url]http://www.codeproject.com/KB/files/Unique_Folder_Protection.aspx[/url]

Member Avatar for kvprajapati
0
179
Member Avatar for virusisfound

Use [B]SELECT DISTINCT[/B] clause. [code=text] SELECT DISTINCT ProductName FROM TABLE [/code] Or - use GROUP BY.

Member Avatar for kvprajapati
0
82
Member Avatar for dawsonz

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]

Member Avatar for dimastea
0
367
Member Avatar for K1kk0z90
Member Avatar for waleed.makarem

What I am saying that you need to more concentrate on your code. Use different programming techniques/tricks.

Member Avatar for waleed.makarem
0
282
Member Avatar for jatt09

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

Member Avatar for jatt09
0
105
Member Avatar for lutaz.dyha
Member Avatar for lutaz.dyha
0
83

The End.