I have created a usercontrol. It has two textbox one for description and another for id.
Next i have created a form with datagridview. Datasource for this datagridview is sent from predefined usercontrol. It will have only two colums ID and Description.
Now i want when text on usercontrol textbox for description is changed, form with datagridview displays just below textbox and displays matching data as reference. Form...
User Profile
Collapse
-
How to display another form with datagridview just below a textbox to filter grid dat
-
Help to develop Views from following tables
Hi, am trying to develop a .Net program using MS Sql server
Using calculation in user-end made my application too slow.
So I am trying to make such calculation in server and just call dataTable in use-end
For this I need a sql query that is able to generate following desired View.
Primary information about basic Tables are as follows.
I tried to use different sql builder with no success.
Please...Last edited by Rabbit; Jul 12 '18, 04:06 PM. Reason: Please use code tags when posting code or formatted data -
Adding a Form in Panel in vb.net
I am using following code to add a form in Panel.
Dim ChildForm As New UserSetting
ChildForm.TopLe vel = False : ChildForm.AutoS croll = True
ChildForm.Paren t = Me.Panel1
Me.SplitContain er2.Panel1.Cont rols.Add(ChildF orm)
ChildForm.Show( )
This code add the form and give all access but when I want to edit text in the text box, it does does not get clicked in the middle of text (cursor... -
How to convert in C# code to vb.net
using (var client = new HttpClient())
{
client.DefaultR equestHeaders.A ccept.Clear();
client.DefaultR equestHeaders.A ccept.Add(new
MediaTypeWithQu alityHeaderValu e("applicatio n/json"));
BillViewModel p = new BillViewModel
{
username = "Test_CBMS" , password = "test@321", seller_pan = "999999999" ,
buyer_pan = "123456789" ,
buyer_name="",... -
How to convert this C# code to vb.net
...Code:using (var client = new HttpClient()) { client.DefaultRequestHeaders.Accept.Clear(); client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); BillViewModel p = new BillViewModel { username = "Test_CBMS", password = "test@321", seller_pan = "999999999", buyer_pan = "123456789", buyer_name="", fiscal_yearLast edited by Frinavale; Mar 19 '18, 01:12 PM. -
Rcdl Report using dataset not displaying report.
...Code:Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim ds as DataSet Dim rep As LocalReport = ReportViewer1.LocalReport rep.ReportPath = "F:\My Work\VB\Report\Report3.rdlc" ds = obj.GetRecords("SELECT * from kar", "Kar") Dim RDS As New ReportDataSource() RDS.Name = ds.Tables("Kars") RDS.Value = ds.Tables("Kar")Last edited by Rabbit; May 10 '16, 05:07 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data. -
Thank you for your kind response.
Maybe, but the file I am trying to access is located in my personal computer's hard drive. I also have ensured all rights like change, modify etc to me. Even if it does not allow me to access me.
If you have any idea than please help me. -
How to open protected Ms-Access database in ms access?
Hellow,
How can I open protected Ms-Access database. When I try is say "You don not have the necessary permission to open the file. Have your system Administrator or the person who created this object establish the appropriate permission to you. "
I also tried to use command line interface to open it as '"C:\program Files\Microsoft Office\Office12 \msaccess.exe" "E:\ams\db\imsd b.mdb"... -
IIS 8.0 Error (Web publishing)
Hearty greetings to all.
I have a website collection of different web forms. I had published it in LAN via visual studio when I had Windows 7. Now I have installed windows 8. When I tried to publish same it show following error. How can this error be removed?
Detailed Error Information:
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code ... -
Database itself does not identify which is new or which is old. We need to shape data table in database in such a way which help to reach our motto. For this create one new column named 'status' as integer in the table where you insert data. Now shape you code to return zero if those records are views else 1. Now when user click on the button select all rows where status row value = 1 i.e. "Select * from dataTable where status=1"
...Leave a comment:
-
Did you try this? Instead to use select statement directly in sql statement, return a value from select statement first and then use the value in update statement.
I think it really works.Leave a comment:
-
How to open visual basic 2010 deployed web page?
I have deployed a webpage via visual studio 2010 in my local hard drive. Now I want to access it without opening visual studio and without using windows IIS feature . How can I do it? Please help me to do so. -
Gobindap started a topic While running crystal report on Visual Studio 2010 C# Database login prompts, why?in C SharpWhile running crystal report on Visual Studio 2010 C# Database login prompts, why?
I am using c# (c sharp)to develop my project. I think it is well coded. Crystal report is also designed well. But I have used a Access Database from the disk and when I try to run the report, Database login dialog box prompts me to enter userID and password but I have put no username and password. What should I do to remove this error?
Thanks in advance. -
How to backup and restore database in Visual Basic Express 2010?
I am using Visual Basic Express 2010 to create a project. My database is SQLExpress. My project requires to read certain values from database while opening.
To backup database, I simply copied database from the location to other, it worked successfully. But while replacing the database as restore, as database is already opened while running project, it is unsuccessful.
In this case. how can I restore my database? Is... -
how to refresh one opened form from another form?
In my project, Form1 contains a textbox named marks. Form1 remains opened. In need I need to open Form2, which intends to change the value of textbox marks on Form1. I tried to call the sub procedure which reads the value of textbox 'marks' of Form1 from database, but it did not function. But is happens if I hide the Form1 and show again. I need to change to read the changed value without closing Form. How can it be solved?
In my... -
Thanks for your kind support.
That problem has been solved now. I tried first to insert and then to update, it worked successfully.
Now I have another problem that is, how to refresh one opened form from another form? I tried to reload, call Form_Load but the result was null.
Please help me.Leave a comment:
-
What sql should be bulild to update or insert in follow case?
Hi, I am using VB2010, I need to update data if it exists in the database and if it does not exists I need to insert. How to do it? -
Thank you very much. I tried your second suggestion and that solved my problem completely.
Thank you very muchLeave a comment:
-
Thank you thank you thank you sir very much.
Would you mind sir, can you give me links for documents to study "ON DUPLICATE KEY UPDATE" and JPA.
I don't know how to use ON DUPLICATE KEY UPDATE and what is JPA.Leave a comment:
-
how to identify whether or not particular ID exists or not in database?
I am using Jtable to display and edit data. ID, name and marks columns are required to display here. I want both to edit existing value and insert new value in it. If certain ID exists, I need to update and if not I need to insert new record.
For this how to detect whether or not certain ID already exists there in database and some not? What type of code should I user here?
Please help me to overcome my problem.
No activity results to display
Show More
Leave a comment: