blah blah blah is here! blah blah » Close

0
votes
1 answers

How to access Form controls from another class?

Hi all debugging.com members, Nowadays I'm working on a serial comminication program. I've created my own serial class to use my serial functions easly. However I couldn't access Form1 controls from my class. For example, I've serialPort ...

0
votes
1 answers

How to get reference information between parent and child tables (MS SQL Server/MSAccess)?

Is it possible to get information about whether a child table has reference to a parent table through a certain record? For example, tblParent has a record whose primary key value is 5. I want to know whether tblChild_A, tblChild_B and tblC ...

0
votes
0 answers

OLEDB access get age from date

lios
30

guys with this code i set an number of years and displays on datagrid the records of peple thad works this years but also i have in the record the birthdays as date format, is any way to display by selecting the age? e.g. select the pea ...

0
votes
1 answers

Simplest way to delete certain records from Access database

I know this is incredibly basic, but I can't find a simple, straightforward answer that isn't missing some critical element. I have an access database. I need to do some data integrity checking before it gets updated. There are multiple ...

0
votes
1 answers

Connecting to remote machine filesystem?

Hello, how to connect to remote machine's filesystem with .net (C#)? I need to acces remote server's folder on disk. This folder is not shared, and this server is on another domain. I have user account (username and password) and I have ...

0
votes
2 answers

Why out of range exception comes?

sanjib
226

Here is my code: When the Update button is clicked, a RowUpdating event is raised. Generate its event handler : [code]// Update row protected void grid_RowUpdating(object sender, GridViewUpdateEventArgs e) { // Retrieve updated d ...

1
votes
1 answers

Accessing Control from 2nd form

(I can't wait for the search feature to become available because I know this has been answered) I have a checkbox on Form 1 and when the user clicks a button on form2 I want to set that checkbox.checked = true. How do i reference the con ...

0
votes
1 answers

search in access database

hello How can I search in ACCESS database for example: if table1 contain (first name , last name and address) i want to add 3 radio buttons and if RadioButton1 is checked then search in first name column

1
votes
1 answers

Sorting in Gridview

sanjib
226

I wanted to show datas in a GridView in reverse order. Uasually after inserting a data into database, the gridview shows it from the first one and the last one comes at the last. I want to see the latest/last one first, like something happ ...

0
votes
2 answers

Which Model should I follow?

sanjib
226

In an article by Scott Mitchel I read this line: [b]When working with data one option is to embed the data-specific logic directly into the presentation layer (in a web application, the ASP.NET pages make up the presentation layer). This m ...

0
votes
0 answers

Some Question on Data Binding

Hi, I want a two tables in an access database. They are 1. a student table with information regarding students along with a markingID field. 2. a marking table with a markingID primary field and module1...module12 marks. I want to creat ...

0
votes
1 answers

Faster database INSERTs???

I'm working on some code in C# that will run a query against a remote Sybase database and then insert those records into a local Access database. It works just fine, the problem is that it is SLOW!...it takes 15 seconds to insert 150 recor ...

0
votes
0 answers

.exe file to read Access Forms

I have a Microsfot Access database I have created some forms to display some fields and the appropiate data. I need to create a .exe that is going to read the forms off a server that has the database on and will then display these forms ...

0
votes
4 answers

Why i cannot access members throught reference?

Hi friend, here i have written a sample code for the client to access a class members in the BLL through another class: [code] namespace WindowsFormsApplication18 { public partial class Form1 : Form { A ...

0
votes
0 answers

Uploading files to c# from any location

Hello I'm attempting to create a method in my code which allows users to upload files from any location on their desktop. So far, every time I've tried to code this, I get an error saying that 'Access to the path has been denied'. I have ...

Feedback