5,346 Posted Topics
Re: 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. | |
Re: 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] | |
Re: 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(); } … | |
Re: Change the connection string. Use [b]Server Explorer[/b] menu item to get correct connection string. | |
| |
Re: 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] | |
Re: 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] | |
Re: Walkthrough [URL="http://msdn.microsoft.com/en-us/library/aa728786(VS.71).aspx"]Creating a Web Custom Control[/URL] from MSDN. | |
Re: Take a look at this [URL="http://www.albahari.com/threading/"]Tutorial.[/URL] | |
Re: Don't worry about state of asp.net controls - ViewState is there. Please write [b]Button1.Enabled=false[/b] statement inside the TextChangedEvent. | |
Re: Yes, it's a [URL="http://msdn.microsoft.com/en-us/library/system.drawing.aspx"]GDI+[/URL]. | |
Re: Take a look - [b]package1.package2.package3.ClassName[/b], [code] Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); [/code] | |
Re: 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] | |
Re: 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 … | |
Re: [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] | |
Re: 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] | |
Re: 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] | |
Re: [code] For Each r As DataGridViewRow In DataGridView1.SelectedRows MsgBox(r.Cells(0).Value) Next [/code] | |
Re: [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 … | |
![]() | Re: 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] ![]() |
Re: @manutd4file : error saying (no value given for one or more required parameters) --- Compare columns names with your fields (columns) of database's table. | |
Re: [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 … | |
Re: [URL="http://www.codeproject.com/KB/cs/SystemConfiguration.aspx"]Read/Write App.Config File.[/URL] | |
Re: Use FileUpload control. (if are working with .netframeworkd 2.0) | |
Re: 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. | |
Re: 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] | |
Re: @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! | |
![]() | Re: 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] ![]() |
Re: 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] | |
Re: 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. -- … | |
Re: 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] | |
Re: 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 … | |
Re: yoro, Have a look at an [URL="http://www.codeproject.com/KB/miscctrl/transparent_controls.aspx?msg=2933584"]article[/URL] at code project. | |
Re: 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 … | |
Re: Welcome sandeepjindal, May be events of GUI controls are raised property. Please show your code. Use bb code tags to post your source code. | |
Re: 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] | |
Re: [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] | |
Re: [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]. | |
Re: 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] | |
Re: Use [B]Convert.ToBase64String [/B]method. | |
Re: 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] | |
Re: 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 … | |
Re: 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 … | |
Re: 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] | |
Re: [URL="http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/82bc436b-d372-4d6b-bfa5-c5cda1d7db72"]Visual Studio .Net 2008 Crystal Reports deployment[/URL] | |
Re: 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] | |
| |
Re: [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 … | |
Re: 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] | |
Re: 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] |
The End.