9,022 Topics

Member Avatar for
Member Avatar for Merovingian

Been trying to run a schema script from within vb.net. No matter how I format it I can't I just get all kinds of syntax errors: Here is my VB script: [CODE]Dim sqlservername As String sqlservername = Tservername.Text Dim SQLStr As String Dim ConnString As String ConnString = "Data Source=" …

Member Avatar for Merovingian
0
194
Member Avatar for Merovingian

I know this is probably really easy but I'm at a complete loss and I've been unable to find anything on the web. How do I get the name of the local SQL2008 instance? Please help!!!

0
64
Member Avatar for vampke

Hi guys, I'm stuck at this query I'm writing. I'm hoping someone will be able to help me. I have 2 linked tables: subjects and visits with a relationship on subject_id: table subjects: Subject_id, name, birthdate table visits: Visit_id, Subject_id, parameter1, parameter2 Now I need to query that will get …

Member Avatar for vampke
0
109
Member Avatar for rpk2006

I have a Sub Routine as below: Private Sub SaveRecord() Call InsertIntoTable1 Call InsertIntoTable2 Call InsertIntoTable3 Call InsertIntoTable4 End Sub I want to use the transaction object in such a way that it starts just before the first Insert Call and ends after the last Insert Call. The situation is …

Member Avatar for MattWilkinson
0
92
Member Avatar for udeep.kansal

i want to retrieve 2nd row of a column from datareader object... i want to show 1st row value of datareader..... if seattype_code == "00", 2nd row value if seattype_code == "01"...and so on..... what method shud i use for dr..as it is not working that i tried..? dr = …

Member Avatar for kvprajapati
0
649
Member Avatar for nadineatwaroo

Hey All, I wanted to find if it this is possible. I have a db in sql server with some large tables and I would like to transfer the entire db from one server to another server without having to create the tables and so on. Is this possible? Thanks

Member Avatar for Fest3er
0
92
Member Avatar for DaveD3

I am just starting to work with Visual C++ Express 2008 and have run into a situtation I could use help with. To add a new data source to a project I am told to start the data source configuration wizard, this I can do. Next I am to select …

Member Avatar for DaveD3
0
156
Member Avatar for sam1

Hello, I have an access database with 3 tables. The table i am working on is tblemployee. On a form i have a combo box with the employee numbers. Now, when a user chooses an employee number from the drop down box, i want the initial and name of that …

0
92
Member Avatar for freshfitz

Can I reformat a phone number in SQL manager. I imported a foxpro dbf with the dts wizard and it imported the phone number as (609) 555-1212 I need it to be 6095551212

Member Avatar for freshfitz
0
103
Member Avatar for mostafanageeb

Please I am now making a project using C# and I want to connect to a database how to do this using visual studio 6? Thanks

Member Avatar for Poojasrivastava
0
112
Member Avatar for sachintha81

I have SQL Server Express 2008 installed in my computer. I need to create a Login to this using C# code. That is, I need to implement the same functionality that is performed when you create a Login to SQL Server using the wizard. Also I need the program to …

Member Avatar for Ramy Mahrous
0
978
Member Avatar for shers

Hi, I have developed a windows database application in vb.net 2008 express and sql express 2008. Is there a way to create reports in the application? Thanks

Member Avatar for shers
0
111
Member Avatar for stuwer12

Hi, I have a problem with an insert into ms sql(web-based). I keep getting an error Microsoft OLE DB Provider for ODBC Drivers error '80040e14' [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near ';'. /admin/dataentry2.asp, line 147 the actual code the asp page is [code]function addRecord() v_Name = replace(Request.Form("Name"), "'", "'") …

Member Avatar for stuwer12
0
189
Member Avatar for NanoNick

hi, I'm kinda puzzled here, i just finished working on my application and tried to use windows setup wizard. my program needs a database with it, so i included the database in the application folder. the question is... is their anyway to lock the database file so that no one …

0
50
Member Avatar for sivak
Member Avatar for sivak
Member Avatar for lovely_girl1989

[url]http://www.picturebang.com/images/331323386942[/url] Hi to all, this the first post in the forum and i have some of questions need to be made in SQL Statements.. i tried to answer some of them and the other i don't how to make it.. so plz help me becauze i'm a new in SQL …

Member Avatar for Ramy Mahrous
0
155
Member Avatar for ViRiPuFF

I am using the following code to retrieve the last entered value from a table and insert it into a textbox called rf. The code below works but the DB remains open until I restart my computer. [code] Sub Page_Load() If Request.QueryString("VesselName") Is Nothing Then VesselName.Text = "Blank Name" 'some …

Member Avatar for ViRiPuFF
0
93
Member Avatar for sowmyav

Hi, I already have a VB program to parse the data from the webpage and loads into the table for 3 values And I need to modify as it refers to the new page and the column is 14.And also, in this new page i need to search for a …

Member Avatar for sowmyav
0
106
Member Avatar for jmw229

Hi Guys, I'm new to SQL and just know the basics. My boss has asked me to help him with a new system they are developing using MS. Access. In the form, the user enters their information as well as checks the applicable check boxes. When they have completed the …

Member Avatar for jmw229
0
88
Member Avatar for salvarez83

I have the problem: "List all details about software records. Sort the output by package ID within tag number." I'm a little confused about what they mean "within tag number" Is the following sql right or wrong, if wrong can you help me fix it? Thanks. [code=sql]Select * from software …

Member Avatar for almostbob
0
78
Member Avatar for sid.coco

I went through many threads here, I also found a few threads related to what I need, but none worked. So please if anyone can check if there's any mistake in my code or tell me what exactly I should do... Actually I am able to view the data which …

Member Avatar for Heru-kun
0
3K
Member Avatar for yuri1992

hello to all , i have problem , my sql table called Kings and its look like this ID Game1 Game2 Game3 Game4 Game5 Game6 Game 7 Date Username 1 213 222 323 232 522 212 122 3.4.09 user1 2 214 212 325 432 262 222 292 3.4.09 user55 3 …

Member Avatar for Ramy Mahrous
0
103
Member Avatar for mdeguzis

Hi, I am having a bit of trouble. Here is what I have. Main Form - the atari pong game High Score Form - the grid view of the simple SQL database PONG database contains: ID (identity auto increment) and FinalTime (string) Basically I cannot get the stopwatch text box …

0
56
Member Avatar for dadahetal

I have created Database. table and procedure inside that. I want to generate sql script for this. How can I do that in .Net 2005? also after generating script, how can i run that to create tables in another computer?

Member Avatar for greeny_1984
0
111
Member Avatar for cheapterp

I have a table off which I need to parse out the data using certain criteria. The table contains 3 datetime columns called '[B]ReadingTakenOn[/B]', '[B]StartedOn[/B]', and '[B]StoppedOn[/B]' Here's the criteria for selecting the records: The Dates in the 'ReadingTakenOn' column should lie between the Start Date and Stop Dates (both …

Member Avatar for mail2saion
0
182
Member Avatar for rastinrastini

In The Name Of God Hello All i will connect to my table in sql server 2008 but display this message to me. [url]http://www.uploadgeek.com/share-10D4_49F1AEF5.html[/url]. can anyone tell me how can solve this prfoblem? thanks alot. goodby.

Member Avatar for John A
0
79
Member Avatar for nikolas8

Hi, I have a problem with my login control. I changed the code in order to use my own database (SQL Server 2005) and no matter what i do i get the message "Your login attempt was not successful. Please try again. "!!! in the web.config file i chose my …

Member Avatar for greeny_1984
0
674
Member Avatar for olabaz

I am trying to connect to a database but I have no clue how to do it or if it's even possible. The server address is: sql306.byethost5.com How would I connect to this server if the username is usn and password is pwd?

Member Avatar for olabaz
0
128
Member Avatar for Tess James

Hi am using sql server 2005.. I hav a query like this. [CODE]create PROCEDURE [dbo].[csp_UpdateAutoPart] ( @Code NVARCHAR(6) ,@Quantity INT ,@UnitPrice DECIMAL ) AS BEGIN -- Update the autopart details UPDATE dbo.AutoPart SET dbo.AutoPart.Quantity = @Quantity ,dbo.AutoPart.UnitPrice = @UnitPrice WHERE dbo.AutoPart.Code = @Code end[/CODE] While executing it, almost 32 rows …

Member Avatar for Ramy Mahrous
0
120
Member Avatar for premanjanadas

Hi. I am making a project on student attendance register in vb.net2005 with sql2000 server as backend. I am getting the data at runtime from database in data grid viewer. But if a user wants to edit a record, i want to give rights that he is able to edit …

Member Avatar for guest11
0
138
Member Avatar for Tonkz

For example you want two tables that have a column that has an identical id and that id you want to print out in another table. how will you code it?

Member Avatar for Stylish
0
116
Member Avatar for asilbek

public class QRYExecuter: SqlDataReader { } class is defined as above while building this, i get exception below: The type 'System.Data.SqlClient.SqlDataReader' has no constructors defined pls, can u solve it?

Member Avatar for asilbek
0
131
Member Avatar for kehar

Hi, I would like to install SQL Server 2000 Enterprise Edition in my PC having Vista OS. Pl explain me the step by step process to install SQL as both Server & Client. (K. S)

Member Avatar for jbennet
0
120
Member Avatar for mizkhyz

hi there:wave: I need some help. I am using vb6.0, a mshflexgrid. I am displaying data to mshflexgrid that is from sql data base. What i need to know is that "how will i move automatically (by row) to the mshflexgrid". I am thinking to use a timer but I …

Member Avatar for abu taher
0
40
Member Avatar for Merovingian

I'm looking for some guidance on getting a list of local SQL08 Instance names in to a selection box. I don't know where to start, thanks all.

0
61
Member Avatar for stoefln

anyone has an idea where i can setup the language (the dateformat) for my ms sql database?? Allways thought i can configure the DB user so that the DB accepts german datetime values- any ideas??

Member Avatar for akronymn
0
224
Member Avatar for RahulV

Hi, Consider there are 3 tables as following: Table1 ============================================================================================= | SerialNum | Date | B | C | D | Table2Number | Table2_Amount | Table3Number | Table3_Amount| ============================================================================================= | | | | | | | | | | | | | | | | | | | | | …

Member Avatar for aktharshaik
0
121
Member Avatar for chriscross86

hi, there, i am coming up with this form and i am having problem with my connection string .i am unable to enable the user instance. It is because of that, I am unable to connect asp with the database. My connection string in the web.config is as below: <connectionStrings> …

0
62
Member Avatar for Lido98

Hi friend I have a question of 2 parts I have to insert new entries from a file in a table once every month Is there a way to shcedule an sql query to run once per month, and the second part is how can I only insert some of …

Member Avatar for Lido98
0
120
Member Avatar for chriscross86

hi, there, im coming up with codes to connect asp.net interface(Track) with asp.net interface(Clerk). i am not sure if my codes are correct. at the same time, i am not sure how to write codes to write the select statement which can connect asp.net interface with sql server. please help. …

Member Avatar for ninjaimp
0
191
Member Avatar for chriscross86

hi there, im having problem with the whole codings here. i can't execute the programme.please help.tell me whats my mistake. i need to connect it to the microsoft sql server [code=asp.net]<%@ Page Language="VB" %> <%@ Import Namespace="System.Data %> <%@ Import Namespace="System.Data.SqlClient" %> <%@ Import Namespace="System.Configuration" %> <%@ Import Namespace="System.Data.SqlClient" %> …

Member Avatar for mahendrabilla
0
135
Member Avatar for tonief

Hi I'm new at this I have created a database Person with (ID,Name,address) in MS SQL an d I have the following code [CODE]protected void Button1_Click(object sender, EventArgs e) { System.Data.SqlClient.SqlConnection conn =new System.Data.SqlClient.SqlConnection(); conn.ConnectionString ="integrated security=SSPI;data source=SQL Server Name;" +"persist security info=False;initial catalog=northwind"; try { conn.Open(); string sql = …

Member Avatar for mail2saion
0
98
Member Avatar for bnitinn

HI All, i want to develop web application which does the Custom t-shirt designing in C#.net and sql server. Any .net control available for the same or demo control. please let me know, Any idea will be ok. Waiting for reply, Thanks in advance, Nitsh

Member Avatar for jen140
0
64
Member Avatar for idea786

Hi , I have a problem with my program. i want to insert a text box value into sql table ,the text box entering value is the price of an item. then my database table field datatype corresponding to that is 'Money' field. then i can't insert the value to …

Member Avatar for Ramy Mahrous
0
102
Member Avatar for firoz.raj

Can anybody tell me why i am getting duplicate value.when i try to make query.here is the sql statement.what i have written.Kindly find the screen shot also. [code] SELECT m.productname,m.unit,e.quantity FROM (MaterialRequisitionOrder AS p INNER JOIN MaterialRequisitionDetail AS e ON p.requisition_no = e.requisition_no) INNER JOIN Materials AS m ON e.item_code …

Member Avatar for Teme64
0
95
Member Avatar for chris5126

hi this is prob a very simple question. I have a website that that is acting as a monitoring program. On the homepage i need to display Currently monitoring $$ servers Where $$ is a select count statement from a SQL server db. My question is how do I do …

Member Avatar for mail2saion
0
91
Member Avatar for San_90

Hi, Im using Visual Basic 2008 to make my program. I want to be able to input data from textboxes to my database tables using a buton, I created the database with the SQL server compact built into VB. I am really usnsure and getting really frustrated with how to …

Member Avatar for San_90
0
74
Member Avatar for Tank50

Hi I wrote below coding ,and last Message "Test" never appear in my project ,it means while loop never works.Plase tell me what is problem in my coding [CODE] public partial class Form1 : Form { public static int Number_Records; public static DataSet ds; public static DataTable dt; public static …

Member Avatar for djloser
0
243
Member Avatar for kujoy

Hiya, Im looking to set up an events schedule, and i'm unsure where to start. Basically this will take a Startdate then insert a row in a table then a add 7 days to the inserted row date and insert another row etc until a specified date. I've looked at …

Member Avatar for vicky_rawat
0
105

The End.