Forum: VB.NET Feb 25th, 2009 |
| Replies: 6 Views: 1,400 I dont have the code .The combox contains the dept_names and i want the cprrosponding value that is the dept_no in the yextbox.iam able to save the values. |
Forum: VB.NET Feb 25th, 2009 |
| Replies: 6 Views: 1,400 I have a sql table consisting of dept_name and dept_code.and on the form i have textbox for dept_code and combobox for dept_name.When i select a particular dept_name from the combobox i should get... |
Forum: VB.NET Feb 5th, 2009 |
| Replies: 1 Views: 387 I have made a project in VB.net in which i have used sql server trial version 2000.I have made the exe but when i run the exe a error message is thrown :-An error has occured while establishing a... |
Forum: VB.NET Jan 5th, 2009 |
| Replies: 2 Views: 301 I have two fields in a table(dept_code and DEPT_name) in SQL.In my form iam having two comboboxs. one for dept_name and the other for Dept_code.What i want is that when i select a particular ... |
Forum: VB.NET Dec 26th, 2008 |
| Replies: 1 Views: 588 I have a button and on the click of that button i want to change a the name of few fielnames of Ms access table In Vb.net coding. |
Forum: VB.NET Dec 22nd, 2008 |
| Replies: 4 Views: 793 |
Forum: VB.NET Dec 22nd, 2008 |
| Replies: 20 Views: 3,357 sir....not able to do aliasing..if any help it would be highly appreciated. |
Forum: VB.NET Dec 16th, 2008 |
| Replies: 20 Views: 3,357 sir i have a confusion probably...we have used MappedSelect...for alising.that means i have to replace the vareiable strSQL with MappedSelect???
and remove the statement
strSQL1 = "SELECT... |
Forum: VB.NET Dec 16th, 2008 |
| Replies: 20 Views: 3,357 did not undrestand these lines
Put the breakpoint in the lines oCmdOleDb.CommandText = strSQL and oCmd.CommandText = strSQL , dump the strSQL variables and compare the field lists. |
Forum: VB.NET Dec 15th, 2008 |
| Replies: 20 Views: 3,357 Plz see my code(EXPORT)
Public Sub ExportTableData(ByVal ConnectionStr As String, ByVal TableName As String, _
ByRef oView As DataView, _
ByVal SelectSQL As String, ByVal WhereSQL... |
Forum: VB.NET Dec 15th, 2008 |
| Replies: 20 Views: 3,357 sir not able to implement.....things ant working |
Forum: VB.NET Dec 15th, 2008 |
| Replies: 20 Views: 3,357 may i write this code on load....without changing the existing code.or i make changes accordingly.
MappedSelect = "SrcFieldName1 AS NewName1, SrcFieldName2 AS NewName2, FieldName3, FieldName4"
... |
Forum: VB.NET Dec 12th, 2008 |
| Replies: 20 Views: 3,357 do i need to write select fieldname as newfieldname ........in SQL part of the code only???coz i have tried and not able to import data |
Forum: VB.NET Dec 12th, 2008 |
| Replies: 4 Views: 793 The thing is that i want the values in the combobx whatever i have saved at the backend in the table for a particular coloumn.every time i run my form ..i should be able to see the values in the... |
Forum: VB.NET Dec 10th, 2008 |
| Replies: 4 Views: 793 I have a combobx on the form and i enter the value in the combobox and then click save button and the values get stored in the sql table.but i want to display all the values in the drop down of the... |
Forum: VB.NET Dec 8th, 2008 |
| Replies: 20 Views: 3,357 no doubts i have accomplished the task.I have given the names of coloumns in MS access same as that in the SQl table and then the data is imported successfully but i want to change the names of... |
Forum: VB.NET Dec 8th, 2008 |
| Replies: 7 Views: 1,666 Thanks a ton...I solved the problem |
Forum: VB.NET Dec 8th, 2008 |
| Replies: 7 Views: 1,666 Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
Try
oCmdOleDb = New OleDbCommand("Delete from table1")
... |
Forum: VB.NET Dec 6th, 2008 |
| Replies: 7 Views: 1,666 I tried this code and it is throwing an exception that connection property has not been initialized!!!
giving error in this statement
cmd.ExecuteNonQuery() |
Forum: VB.NET Dec 1st, 2008 |
| Replies: 7 Views: 1,666 I have to delete the records in a ms access table using vb.net when i click on a button. |
Forum: VB.NET Nov 29th, 2008 |
| Replies: 20 Views: 3,357 just want to thank you..for helping me out!!!!I don know if we can put messages like this but from my heart iam really thankful for your help.
I have got the records in MS access....For further... |
Forum: VB.NET Nov 29th, 2008 |
| Replies: 20 Views: 3,357 I want to ask when we are importing the data into sql why we are using select command in SQL.....it should only be used in MS access and in sql we should write a insert statement..... |
Forum: VB.NET Nov 27th, 2008 |
| Replies: 20 Views: 3,357 Where this code has to be written????
Dim oView As DataView
ExportTableData(SourceConnectionString, SourceTableName, oView, "", "")
ImportTableData(TargetConnectionString, TargetTableName,... |
Forum: VB.NET Nov 26th, 2008 |
| Replies: 20 Views: 3,357 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
connetionString = ("server=192.9.200.82;database=eKalyan;user... |