Creating a connection Between SQL Server and Vb .Net
hi friends, Here i will show a very simple way to create a connection between SQL Server and Vb.Net. This is one of very simplest way to create a connection between sql server and visual studio...
View ArticleBind Data to Combo Box
hi, Here i will show a simplest way to bind data to a combo box retrieved from database. To put it simple, First we need to get Tables from Database, then we can bind particular columns value to combo...
View ArticleChange “devenv” Command Shortcut from VS 2008 to VS 2010
Hi guys!! Well first problem that i had after upgrading is that i lost my shortcut of “devenv” which should open vs 2010 but it opened vs 2008…. as the executables of both versions are same, we either...
View ArticleDataRelation Between DataTable in Dataset
hi frnds, In this post i will show you a simple way to establish datarelation between datatables in a dataset and then binding it in datagrid… Well lets start with two tables, Tab Name Col1 Col2 Col3...
View ArticleSQL TOP Clause
hi friends, SQL’s TOP Keyword is specified in query to return only selected number of rows. When the Result set has more records, like if it has more than 1000 records, the query execution time will...
View ArticleSQL Query: Primary Key Constraint
The Primary key of a relational table should uniquely identify each record in the table. These Keys contains only Unique Values and cannot be Null. It Ensures only Unique Values by which we can easily...
View ArticleSQL Endpoints
This is one of exciting feature in Microsoft SQL Server. This feature has been introduced only after SQL Server 2005. It is used to Expose our Database over HTTP so that each and every time we dont...
View ArticleMass Rename Files in Folder
Hi, This Small Code Helps us to Rename file in the Folder… Be Carefull with it.. If Directory.Exists(TextBox1.Text) Then If Not TextBox2.Text = "" Then Dim str As String Dim ct As Integer ct = 0 Try...
View ArticleRichTextBox Control Read Line by Line
Its very Simple! To read contents of rich text box we simply use an method called “Lines” of Rich Text Box Control For Each str as String in RichTextBox1.Lines MsgBox(str) Next Thats all folks!
View ArticleDisable Editing in Combo Box
Hi Guys.. If you want to disable editing in Combo Box Control and if you just want user to select one of options then You just need to set, Combobox_1.DropDownStyle = DropDownList You can do this in...
View Article
More Pages to Explore .....