5,346 Posted Topics

Member Avatar for coollife

Add [b]Panel[/b] control onto the page and add report viewer control into a [b]Panel[/b]. Set Scrollbar, width, height property of Panel control.

Member Avatar for kvprajapati
0
65
Member Avatar for ankitjain1110

ankitjain1110, Well, we will help you. Please post your problem regarding to Session and authentication. Please read these articles: [URL="http://msdn.microsoft.com/en-us/library/aa302415.aspx"]Building Secure ASP.NET Applications: Authentication, Authorization, and Secure Communication[/URL] [URL="http://aspalliance.com/907"]Authentication and Authorization in ASP.NET[/URL] [URL="http://www.c-sharpcorner.com/UploadFile/lmoningi/AuthenticationAndAuthorizatio11252005233533PM/AuthenticationAndAuthorizatio.aspx"]Authentication and Authorization in ASP.NET[/URL]

Member Avatar for kvprajapati
0
133
Member Avatar for ismailc

ismailc, Use bb code tag when post a source code. See # icon at top of post editor. Correction to @pravinkumar's post, [QUOTE]in the second page assign the value in the session variable to textbox2 in Page_Load textbox2.value=session["tb1"];[/QUOTE] Check the availability of an object, [code=c# asp.net] if(Session["tb1"]!=null) { TextBox2.Text=Session["tb1"].ToString(); } …

Member Avatar for ismailc
0
879
Member Avatar for rakibuddin ali

Change the connection string. Use [b]Server Explorer[/b] menu item to get correct connection string.

Member Avatar for kvprajapati
0
96
Member Avatar for VibhorG
Member Avatar for jim148

jim148, Welcome to daniweb. We just want to your effort. Please show your code work. It's a rule - [URL="http://www.daniweb.com/forums/announcement58-2.html"]We only give homework help to those who show effort[/URL]

Member Avatar for jim148
0
136
Member Avatar for poovannan

Welcome poovannan & Poo87, I think you are looking for this - [URL="http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx"]http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx[/URL]

Member Avatar for kvprajapati
0
82
Member Avatar for bshyama24@gmail

Walkthrough [URL="http://msdn.microsoft.com/en-us/library/aa728786(VS.71).aspx"]Creating a Web Custom Control[/URL] from MSDN.

Member Avatar for kvprajapati
0
56
Member Avatar for santhoshvarma.a

Take a look at this [URL="http://www.albahari.com/threading/"]Tutorial.[/URL]

Member Avatar for kvprajapati
0
60
Member Avatar for ditjhaba

Don't worry about state of asp.net controls - ViewState is there. Please write [b]Button1.Enabled=false[/b] statement inside the TextChangedEvent.

Member Avatar for kvprajapati
0
70
Member Avatar for jure.gregorin

Yes, it's a [URL="http://msdn.microsoft.com/en-us/library/system.drawing.aspx"]GDI+[/URL].

Member Avatar for kvprajapati
0
128
Member Avatar for ishlux

Take a look - [b]package1.package2.package3.ClassName[/b], [code] Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); [/code]

Member Avatar for ishlux
0
887
Member Avatar for 42Wired

Return reference of logEvent object. [code=cplusplus] #include <string> #include <sstream> class logEvent { public: logEvent(); template< typename T > logEvent &operator<<( T arg ); } [/code] [code=cplusplus] template< typename T > logEvent &logEvent::operator<<( T arg ) { oldLog( arg ); return *this; } [/code]

Member Avatar for 42Wired
0
131
Member Avatar for Majestics
Re: mfc

1. [URL="http://java.sun.com/docs/books/jni/"]http://java.sun.com/docs/books/jni/[/URL] 2. [URL="http://en.wikipedia.org/wiki/Java_Native_Interface"]http://en.wikipedia.org/wiki/Java_Native_Interface[/URL] [QUOTE]SUMMARY: The Java Native Interface (JNI) enables the integration of code written in the Java programming language with code written in other languages such as C and C++. It allows programmers to take full advantage of the Java platform without having to abandon their investment in …

Member Avatar for Majestics
0
129
Member Avatar for pdwivedi

[icode]Aarray variable is converted to a pointer to the first item in the array.[/icode] In both the cases, [b]b1.name[/b] and [b]&b1.name[/b] represent an address of 1st element of name member. [code=c] printf("\n%u %u",b1.name,&b1.name); [/code]

Member Avatar for Salem
0
88
Member Avatar for kiryoku

kiryoku, As the output (image) shown in OP the inner loop must be repeated in 1, 3, 5, 7 .. times. [code=cplusplus] for(m=1,i=1;i<=10;i++,m+=2) { for(j=1;j<=m;j++) { // statements } } [/code]

Member Avatar for Salem
0
165
Member Avatar for thilinam
Re: C#

First of all you must read about [URL="http://www.microsoft.com/NET/"].NET Framework[/URL] and then go for [URL="http://msdn.microsoft.com/en-us/vcsharp/aa336809.aspx"]C# Language.[/URL] [URL="http://msdn.microsoft.com/en-us/library/zw4w595w.aspx"].NET Framework Conceptual Overview[/URL] [QUOTE]SUMMARY: The .NET Framework is an integral Windows component that supports building and running the next generation of applications and XML Web services. The .NET Framework is designed to fulfill the....[/QUOTE]

Member Avatar for ddanbe
0
90
Member Avatar for speedy gonzalos
Member Avatar for kvprajapati
0
276
Member Avatar for hoke

[URL="http://142.132.30.225/programming/node87.html"]void pointers[/URL] A [b]void pointer[/b] seems to be of limited, if any, use. However, when combined with the ability to cast such a pointer to another type, they turn out to be quite useful and flexible. [code=c] #include <stdio.h> void use_int(void *); void use_float(void *); void greeting(void (*)(void *), void …

Member Avatar for Nathan Campos
0
6K
Member Avatar for nalasimbha

Delcare two pointers; class D and class A to have an address of object of class E, [code] int main(){ A *a; D *d; E e; a=&e; d=&e; a->mult_ax(); d->set_d(); return 0; } [/code] Take a look at tutorial - [URL="http://www.cplusplus.com/doc/tutorial/polymorphism/"]Polymorphism[/URL]

Member Avatar for nalasimbha
0
101
Member Avatar for manutd4life

@manutd4file : error saying (no value given for one or more required parameters) --- Compare columns names with your fields (columns) of database's table.

Member Avatar for yorro
0
110
Member Avatar for D.JOHN

[B]Bit Masking[/B] Setting, clearing and inverting bits while leaving others bits unchanged using Bitwise operators. By using a string with zeroes and ones in particular spots, you can set certain bits to 1 while leaving others unchanged. [icode]This procedure is comparable to how a painter masks areas that he does …

Member Avatar for D.JOHN
0
707
Member Avatar for csy

[URL="http://www.codeproject.com/KB/cs/SystemConfiguration.aspx"]Read/Write App.Config File.[/URL]

Member Avatar for csy
0
102
Member Avatar for sakhi kul
Member Avatar for sakhi kul
0
115
Member Avatar for treyd

Write statements to calculate an average of elements of each row and assign them to a one dimensional [b]int[/b] array inside the [B]avgRows[/B] method. At the end of avgRows method use [b]return arrayVar;[/b] statement to return an array containing averages.

Member Avatar for treyd
0
110
Member Avatar for ctrl-alt-del

Use padding property, [code=c#] this.Padding = new Padding(100); pictureBox1.Dock = DockStyle.Fill; [/code] Or [code=c#] pic.Left = this.Width/2 - a.Width/2; pic.Top = this.Height/2 - a.Height/2; [/code]

Member Avatar for sknake
0
136
Member Avatar for scias23

@scias23 : if I can't get the code from working, pause for a [b]while[/b] and ask yourself, "am i coding the right code?" -- while!

Member Avatar for scias23
0
161
Member Avatar for feoperro

Take a look at [URL="http://java.sun.com/docs/books/tutorial/essential/regex/char_classes.html"]char class[/URL], [code] boolean rProcessEndpoint = Pattern.matches("http://", processEndpointInput); System.out.println(""+processEndpointInput); [/code]

Member Avatar for feoperro
0
257
Member Avatar for wil0022

Thanks ddanbe, Informative and [B]must read[/B] article, indeed. [code=c#] int[] no = { 20, 10, 90, 23, 21, 32, 87, 45, 76, 56 }; int result = Array.BinarySearch(no, 32); [/code]

Member Avatar for kvprajapati
0
141
Member Avatar for Atove

Atove, SQL Express database allows [B]Integrated Windows authentication [/B]scheme only. So, your connection string for MS-SQL remote database might be, [code=vb.net] Dim Cn As SQLConnection Cn = New SqlConnection("Data Source=.\SQLEXPRESS;Initial Catalog=tempdb;Integrated Security=True") [/code] NOTE: [B]Integrated Security=True[/B] - This property automatically uses windows os credentials. @GeekByChoice - ok stupid question. -- …

Member Avatar for Atove
0
121
Member Avatar for jzahri

Welcome to the daniweb. Spawning the process using - [URL="http://java.sun.com/javase/6/docs/api/java/lang/Process.html"]java.lang.Process[/URL]

Member Avatar for kvprajapati
0
54
Member Avatar for kvass

From the java documentation book - [URL="http://java.sun.com/docs/books/tutorial/essential/concurrency/"]Concurrency[/URL] [QUOTE]SUMMARY: Even a single application is often expected to do more than one thing at a time. For example, that streaming audio application must simultaneously read the digital audio off the network, decompress it, manage playback, and update its display. Even the word …

Member Avatar for kvprajapati
0
94
Member Avatar for yorro

yoro, Have a look at an [URL="http://www.codeproject.com/KB/miscctrl/transparent_controls.aspx?msg=2933584"]article[/URL] at code project.

Member Avatar for yorro
0
491
Member Avatar for nicolek808

If you want to store an element sequentically include counter variable, [code=java] if(scanFile != null) { int i=0; // counter while (scanFile.hasNextLine()) { try { int element = scanFile.nextInt(); array[i++]=element; } catch (InputMismatchException exception) { scanFile.next(); } } } [/code] I don't see any problem to assign an element at …

Member Avatar for quuba
0
162
Member Avatar for sandeepjindal

Welcome sandeepjindal, May be events of GUI controls are raised property. Please show your code. Use bb code tags to post your source code.

Member Avatar for kvprajapati
0
31
Member Avatar for PcPro12

Use, [code=vb.net] Dim S As String = TextBox1.Text S = S.Trim() Dim ar() As String = S.Split(New Char() {vbCr, vbLf}, StringSplitOptions.RemoveEmptyEntries) S = "[B]" & Join(ar, "[/B][B]") & "[/B]" TextBox2.Text = S [/code]

Member Avatar for PcPro12
0
201
Member Avatar for ggl0rd

[code=vb.net] Dim cmd as new OleDBCommand() cmd.Connection=DBCon cmd.CommandText="update TableName set NumCol=?,NameCol=? where PK_Col=?" cmd.Parameters.Add(New OleDbParameter("?", OleDbType.Integer, 4)).Value = 10 cmd.Parameters.Add(New OleDbParameter("?", OleDbType.VarChar, 40)).Value = "Mr.A" cmd.Parameters.Add(New OleDbParameter("?", OleDbType.Integer, 4)).Value = 1 DBCon.Open() cmd.ExecuteNonQuery() DBCon.Close() [/code]

Member Avatar for kvprajapati
0
85
Member Avatar for llemes4011

[B]boolean contains(Point2D p)[/B] --- Tests if a specified Point2D is inside the boundary of the Shape. It is a method of [icode]java.awt.geom.RectangularShape[/icode], which is super class of [icode]Arc2D[/icode].

Member Avatar for llemes4011
0
173
Member Avatar for babbu

I don't get a word "reset". Do you want to reset the state of controls or just clear the text or setting up selectedindex with 0? [code=vb.net] For Each c As Control In Me.Controls If TypeOf c Is TextBox Then CType(c, TextBox).Text = String.Empty End If Next [/code]

Member Avatar for sknake
0
2K
Member Avatar for brando|away
Member Avatar for Dajer

Dajer, You have a local database with .\SQLEXPRESS. We have not enough expertise to guess the problems you are facing. Post some code. [code=c#] SqlDataAdapter adp=new SqlDataAdapter("select * from Table",@"Data Source=.\SQLEXPRESS;AttachDbFilename=C:\csnet\Database1.mdf;Integrated Security=True;User Instance=True"); DataTable dt=new DataTable(); dataGridView1.DataSource=dt; [/code]

Member Avatar for kvprajapati
0
179
Member Avatar for lastleave

lastleave, Welcome to the daniweb. First of all you have to read sticky threads located at the top of each forum. These threads helps you to understand the rule - How to post your problems and how to use code tags? Second, you have to post your ASP.NET question in …

Member Avatar for kvprajapati
0
158
Member Avatar for elidotnet

I think you are working with SQL Express database. Sql express local database files (.mdf, .ldf) are copied at deployment (bin) folder when you execute your program. The DataSet (typed) uses connection string path with an alias DataDirectory, which is the path of application folder so your changes are recorded …

Member Avatar for kvprajapati
0
213
Member Avatar for furqankhyraj

furqankhyraj, Why don't you go get a read, 1. [URL="http://www.daniweb.com/forums/announcement118-3.html"]announcement - How to post your problems?[/URL] 2. [URL="http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?id=1043284376&answer=1044841143"]Should I used void main() or int main()?[/URL] 3. [url="http://siddhant3s.googlepages.com/how_to_tell_rusted_cpp.html"]Non-Portable Headers Files - conio.h, graphics.h[/url] 4. [url="http://en.wikipedia.org/wiki/C_syntax#Functions"]C - Functions[/url] Use code tag to post source code. for example, [noparse] [code=c] statements.... [/code] [/noparse]

Member Avatar for yellowSnow
-2
91
Member Avatar for itslucky

[URL="http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/82bc436b-d372-4d6b-bfa5-c5cda1d7db72"]Visual Studio .Net 2008 Crystal Reports deployment[/URL]

Member Avatar for Ramesh S
0
103
Member Avatar for fazeleh

Try this code, [code=c#] List<string> a = new List<string>(); a.AddRange(new string[] { "A", "B", "C" }); System.IO.File.WriteAllText("file.txt",string.Join(",", a.ToArray())); [/code]

Member Avatar for sknake
0
126
Member Avatar for mubin_attar
Member Avatar for Gaiety

[URL="http://en.wikipedia.org/wiki/Sizeof"]sizeof[/URL] [QUOTE]SUMMARY: The 'sizeof' operator is used to determine the amount of space any data-element/datatype occupies in memory. To use sizeof, the keyword "sizeof" is followed by a type name, variable, or expression. If a [icode]type name is used[/icode], it always needs to be enclosed in parentheses, whereas variable names …

Member Avatar for kvprajapati
0
292
Member Avatar for DGULLIVER

I can't guess which method are you looking for, 1. [URL="http://thismatter.com/tutorials/software/windows-xp/managing-windows-with-taskbar.htm"]http://thismatter.com/tutorials/software/windows-xp/managing-windows-with-taskbar.htm[/URL] 2. [URL="http://blogs.msdn.com/oldnewthing/archive/2004/04/08/109775.aspx#124579"]Where does the taskbar get grouped button titles from[/URL] and [URL="http://hp.vector.co.jp/authors/VA003525/Eindex.htm"]http://hp.vector.co.jp/authors/VA003525/Eindex.htm[/URL]

Member Avatar for GeekByChoiCe
0
102
Member Avatar for kcomeby

I don't think [B]character repeate delay [/B]create a problem. However have a look at this link - [URL="http://stackoverflow.com/questions/1172621/how-can-i-get-rid-of-character-repeat-delay-in-c"]http://stackoverflow.com/questions/1172621/how-can-i-get-rid-of-character-repeat-delay-in-c[/URL]

Member Avatar for kvprajapati
0
97

The End.