15,886,724 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 12712527 (Top 200 by date)
Member 12712527
13-Mar-23 7:47am
View
Run debugger but can't find the error. while debugging the file showed nullq instead of q. where is the error i can't find. just after sc1.hasnextline() the nullq is shown as if it was previously inserted in the file.but on seeing the file only q is inserted and the next value is 1 but shown null while running the program
Member 12712527
24-Feb-23 6:12am
View
class chkBoxTableCellRenderer extends DefaultTableCellRenderer
{
@Override
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
JCheckBox chk=new JCheckBox();
if(DefaultValue.strValue=="True")
{
chk.setSelected(true);
return chk;
}
else
{
chk.setSelected(false);
return chk;
}
}
}
in Data.java
for(int k=0;k
Member 12712527
21-Feb-23 3:47am
View
OKay thank you sir I got it. It was a silly mistake of 'boolean' and 'Boolean'
Member 12712527
21-Feb-23 3:41am
View
I have already a table with the following datatypes[int,double,string....]
how could i add this to my table
Member 12712527
21-Feb-23 3:37am
View
why do you need checkbox...see the code below
public class jt_jc extends JFrame
{
private JTable table;
private DefaultTableModel model;
public JTable_JCheckBox() {
Random rnd = new Random();
model = new DefaultTableModel(new Object[]{"Check Box1","Check Box2", "Check Box3"}, 0) {
@Override
public Class getColumnClass(int columnIndex) {
return Boolean.class;
}
};
for (int index = 0; index < 10; index++) {
model.addRow(new Object[]{rnd.nextBoolean()});
}
table = new JTable(model);
add(new JScrollPane(table));
setTitle("JCheckBoxJTable Test");
setSize(375, 250);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setLocationRelativeTo(null);
setVisible(true);
}
Member 12712527
26-Jan-23 10:17am
View
but i can't import any user-defined package in another file...it says package doesn't exists
Member 12712527
29-Dec-22 4:11am
View
Okay Sir I am posting all the codes in the Improve Question section
Member 12712527
27-Dec-22 10:58am
View
Sir please see my "What have you tried" here, in this question
Member 12712527
27-Dec-22 10:52am
View
Done the same thing but the problem is why not correct result is comming when i hide a mere messagebox the result is displayed correctly only when i included the messagebox...why
Member 12712527
27-Dec-22 10:46am
View
Sir i have gone through that website previously
Member 12712527
27-Dec-22 10:42am
View
Sir please relieve me from this astonishment that what I commented. why the result is displayed correctly when i use a dialog box...?
Member 12712527
25-Dec-22 11:20am
View
Sir the code is OKAY . when I stored the value(filename) in a string str and compared it with a file having the same value the result was unequaland FileNotFound exception arose. but when i declared...
File fd=new File(path + "\\"+ str) and then compared it with another file having the same value as of str.....i.e. fd.getName.equal(fr.getName)--this file has the same value as of str...the result was equal and it worked
Member 12712527
10-Jun-22 7:45am
View
Sir same code if done on a single window, works but if done on more than one window fails
Member 12712527
10-Jun-22 7:43am
View
I'm not using static classes but other variables are declared static. Sir without static how would i be able to retain the value of a variable...?
Member 12712527
9-Jun-22 21:48pm
View
This program is file when there is only one window. but when there is two window it doesn't work out.
how...?
First of all I have defined two classes which decorates the window.
Secondly I have added these two classes to a splitterpane and added that splitterpane to another frame(main window).
Now in the first class i have defined a JTree object...
second window is left out.
Problem arises when i clicked one of the child node....
the base node is "family"
And two other child nodes are "father" and "mother"
Both in father and mother there is one child node named "create child"
Now when i clicked the create child node a new form is displayed asking for the name of the child node.
when i gave the name and clicked the okay button, it returns to main window by calling the main window's contructor.
Now in the constructor of the first class I have mentioned a static variable "pCreateRep" with a value of zero
Now when the " create child " node is clicked,
another form is displayed and the value of pCreateRep changes to one.
this value is returned to the first class and the decorated form's addObject is called...
I know that the value of the first form's components will be lost if another window opens.
for that i've made each component in the first class as static....
but still the addObject method doesn't work.... please help...
Member 12712527
25-Apr-22 22:34pm
View
Arrays are passed by reference....automatically...
Member 12712527
23-Apr-22 4:59am
View
is it parameterised vaiable in use....
Member 12712527
23-Apr-22 4:57am
View
That means I can use static variables if I use it carefully. Otherwise use a parameterised variable for the given purpose
Member 12712527
12-Apr-22 7:12am
View
Sir with all humble request: i would opt that I am looking forward to build a connection using socket programming. This method is used by C# ,java,etc...
and C# has provided SqlConnection class and Java has provided jdbcodbc driver for them who intend to work on these softwares.
No one thinks of developing Java or C# or build another language or database...
Member 12712527
12-Apr-22 5:04am
View
Very sorry to hurt you...but By my saying I want to state if you provide me only the documentations regarding specific subject then it would be fruitful I don't want the codes...I only want docuentaions for Concepts.
Sir one thing you couldn't by-heart coding but can remember the concept ever if you understand those.
I again say I don't really want the codes but only the concepts...
Member 12712527
12-Apr-22 4:51am
View
Sir will you please give me the documentation of server app overview...
Member 12712527
12-Apr-22 4:47am
View
Sir though I shouldn't take the effort of answering this question but its upto you what feelings you make for me...
Member 12712527
12-Apr-22 4:44am
View
No sir, i haven't given up. Rather my this question is another step taken for completing my work of building own sqlconnection.
You just recaptulate a bit and accumulate the question asked...
i could remember those. they are...
1. I asked about activeX and com...and how DSNs could be created automatically
2. I asked about the connection that java or c# uses to connect to sql server.
3. I asked about client server programming
4. I asked about the ports that server and client uses for connection.
Sir do you find any any similarity asked in the questions ?
Member 12712527
12-Apr-22 4:25am
View
Sir if you want me to try by myself and do the coding unknown to me then you have to assist me the way i feel fruitful to me.
I know nothing about server app and client app, server O.S. and client O.S...
Only thing I know that the server serves a service and client uses it.
For more easy example...You and your freinds once went to a restuarant to have a special type of delicious food.
when you sat for sometime, comes a hotel boy who asks you what do you prefer for dinner. You ordered a non-veternian food. if that food is available he will provide otherwise not.
here the hotel boy, on behalf of the restaurant is serving a service and you are the client who has given the boy, the order....
My point is the client asks for a service to the server and the server if can , serves the service.....
This much i know about client server and nothing more...you need to make me learn the pros and cons of of this only to the limit of programming....will you help me sir...?
Member 12712527
11-Apr-22 9:56am
View
surely it is a benefit....Like microsoft sqlconnection class there is a seperate class for java, its JDBCODBC connection.
As such there are classes for other scripting language or languages. The moto of these class is same-- to connect to sql express...
if someone develops another package then will he rely on sqlconnection class of microsoft or classes of java...!!! why..? he will make his own class whose moto will be to connect sql server
if you say why ? then i would say why java has seperate class for connecting to sql server. it could have taken help of microsoft's sqlconnection class....
Member 12712527
11-Apr-22 7:35am
View
Thanks...
Member 12712527
11-Apr-22 7:32am
View
Sir you have seen my coding the function TableAdapter.Connect(....)
It is the only function that helps programmers to connect any database he wants....
Member 12712527
11-Apr-22 7:28am
View
Sir I promise to you that you may here my name in some years
Member 12712527
11-Apr-22 7:26am
View
Sir i have already started working on it since 2020 may. But you have to help me till the last of me as a coder
Member 12712527
11-Apr-22 7:23am
View
Sir i am very sorry that i have made you angry. but sir i am not rollingj my own rather i want to take some other more advanced approach....
Sir one more thing i want to tell you that in a renowned government hospital my IQ was tested. It came to be 132 ....by saying this i want to prove that uncountable number of question arise in my mind. And there is a terrible feeling of satisfying myself continues.
Member 12712527
11-Apr-22 7:12am
View
Sir....you didn't get my point....my point is connecting the way Microsoft does while connecting to a database suppose sql server....what it has done it has made a class that help users of c#/vb.net to connect a database with just one line of code. And you think that you should be congratulated for what you have done. You are v ery happy.....
but i'm sad and angry as I didn't know the way that micrsoft's programmer would use..he uses the port number that these databases listen.
You use sockets for connecting to DBs which the microsoft guy uses.
Microsoft has done this whole programming and named it as SQLConnection.
You use SqlConnection to connect to SqlExpress and feel that you are a genius.
This is no geniusness but stupidity. Stupidity because you became satisfied with that thing other's do.
If I want to be a good programmer then I think that there is nothing like satisfy.
Member 12712527
11-Apr-22 4:30am
View
Sir here is a solution of how sqlLocalDb instances are started or how it is stopped. By learning all these you could be able to work like a DBA of the database. Here you know the specific command used say suppose to start the instance or stopping it.
you know the command and internally the command uses some functions needed to start / stop the instance. Will you help me to create that function. This function that is used by the command statement maybe doesn't use the built in function that user uses to start or stop an instance of sqlexpress...
Member 12712527
11-Apr-22 3:52am
View
In my class there will be no namespace known as System.Data.SQLClient or Sysetm.Data..
The class will be all yours...only thing is that you can use other namespaces of .net framework.
Member 12712527
11-Apr-22 2:56am
View
Okay let me define the matter in steps:-
1. what i want to do...?
ans: I want to build a class whose work is similar to SQLCOnnection class.
2. what is the function of SQLConnection class...?
ans: It helps C# to connect with SQLEXPRESS.
3. how does it works so...?
ans: It can do this in several ways. The ways are:-
1. By using Client - server methodology
2. By using ports....connecting to the port[TCP] which SQLEXPRESS listen i.e.
using listener class in C#.
3. By using Named Pipes
Note: There may be other ways to communicate between two or more apps. which I don't know.
Now please tell me how to achieve all these. Really would salute you, sir
Member 12712527
11-Apr-22 0:24am
View
So sir I need help from you masters in building the class.
Member 12712527
11-Apr-22 0:22am
View
It may be poor class than the class built in framework but one thing SIR it is all mines
Member 12712527
10-Apr-22 10:52am
View
Your guessing is bit wrong. Nothing like that....
Three softwares I'm working with....
1. ReportBuilder
2. MLM software
3. Most Important of all is Creation of a ORDBMS software....
Note not onl;y this will be surely launched world wide in recent years
Member 12712527
10-Apr-22 8:03am
View
Another thing it is not of only the database but any software to which i could communicate...
Member 12712527
10-Apr-22 8:00am
View
Sir regarding sqlbulkCopy object we use functions defined in the said class. but this object works with only sql server. if i need to bulkcopy data from a different database then it will fail.
so i need to design a class which will bulkcopy the data regardless of database. to be said clearly i need to design my own bulkcopy class
Member 12712527
10-Apr-22 7:01am
View
Sir i am preparing a printviewer app previously told you that. for that reason the end user could be able to connect sql server oracle or any other database with also the libraries provided by microsoft and also the custom function that i'll built for printbuilder
Member 12712527
10-Apr-22 6:56am
View
Yes Sir you are true but their must be some idea behind my questions(which are likely to make you a feel of a mess of question)
Member 12712527
10-Apr-22 5:56am
View
Okay sir I won't ask you more about COM or ActiveX but I found a way to communicating among two or more softwares residing on the same pc.And about the sockets or COM It's TCP/IP, the internet.
Member 12712527
9-Apr-22 11:59am
View
Oh...! Another thing i forget to tell; that is my reportbuilder sw could connect to other sw suppose a graph-designer sw and provide oppurtunity to design that graph sw within my sw.
Member 12712527
9-Apr-22 11:52am
View
Sir I agree absolutely that activex is dead but there is COM Interop through which I could call external database into my app. If this process is posible then please guide me
Member 12712527
9-Apr-22 11:48am
View
Sir I'm now developing a report builder software through which you could view reports generated from several databases. for that i have to connect to databases and the report builder. As we have GUI so a specific table/tables on which report has to be generated. For that reason i was thinking of ole automation
Member 12712527
9-Apr-22 5:56am
View
What are ActiveX...The dlls and the exe-s. class library can be developed c# working similar to ActiveX Objects
Member 12712527
9-Apr-22 5:52am
View
If ActiveX is dead then how come the softwares connect each other...
Member 12712527
9-Apr-22 5:39am
View
Okay thanks for increasing my knowledge a bit. That means not all but some suppose database sw uses this technique. Sir one thing....Developing Activex objects is a special technique. How C# could help me in this regard...?
Member 12712527
9-Apr-22 3:30am
View
i can remember one thing i.e. DCOM regarding COM overview.
does it exists at all in this .net environment...? or obsolete...
Member 12712527
9-Apr-22 3:27am
View
Sir do the backend assumed as a CCOM Object by the frontend software.
In the control DataGridView this COM marshaling mechanism used...?
Member 12712527
9-Apr-22 0:53am
View
Sir OLE feature...you may have the idea to use this technique
Member 12712527
9-Apr-22 0:50am
View
I'm not giving an idea to RE-invent the wheel but have that much of calliber to work with other softwares through your program written in C# [The Language]
Member 12712527
9-Apr-22 0:45am
View
Sure sir that's a way ....but I want to state that here in vb6 was the Filesystem Object/ scripting.object header file through which the function of Windows is visible and you call that specific f open teh DSN dialogunction of windows through vb6. So in the same way is there a function of windows which can be called from C# to open the DSN Dialog. ?
There are also other functions of windows which are visible to other softwares for e.g. frontend softwares like C# to call these functions to open and work with other softwares.
Member 12712527
8-Apr-22 11:12am
View
I've an idea.... One who prepares virus is able to do that work quite easily...
Member 12712527
8-Apr-22 11:08am
View
sir nicest answer....Re-inventing the wheel.....
sir if you give me more information regarding this matter then i'll make custom method to connect sqlexpress.
Member 12712527
8-Apr-22 10:16am
View
Sir suppose i use c#. Do i have to take help of System.Data and etc present in the .net framework. So sir if I develop a language which connects to sqlexpress then only option for me is System.Data. Or other methods available...
Member 12712527
7-Apr-22 21:00pm
View
Is this type of coding recommended...?
Member 12712527
7-Apr-22 8:08am
View
i have done what so ever needed. but same error persists. if you correct me sir...
Member 12712527
7-Apr-22 7:59am
View
Sir you tell me that I haven't modified the code...the code goes like this
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.Sql;
using System.Data.OleDb;
using System.Data.Odbc;
using System.Data.SqlClient;
namespace ReportBuilder.Net
{
public class TableAdapter
{
public class Connect
{
public Connect(ref OdbcConnection odbc,ref string connectingString)
{
odbc.ConnectionString = connectingString;
odbc.Open();
}
public Connect(ref OleDbConnection oledb,ref string connectingString)
{
oledb.ConnectionString = connectingString;
oledb.Open();
}
public Connect(ref SqlConnection Sql,ref string connectingString)
{
Sql.ConnectionString = connectingString;
Sql.Open();
}
public void Dispose()
{
this.Equals(null);
}
public static implicit operator string( Connect c)
{
throw new Exception(c.ToString());
}
public static implicit operator SqlConnection( Connect v)
{
throw new Exception("this is the cause : "+v.ToString());
}
}
public class Command
{
SqlConnection con=new SqlConnection();
public Command(ref string commandText,ref SqlCommand cmd,TableAdapter.Connect)
{
//TableAdapter.Connect TblCon;
SqlConnection conn=new SqlConnection();
cmd.CommandText = commandText;
cmd.CommandType = CommandType.Text;
string strConn = "";
// TableAdapter TblAdp=new TableAdapter();
// TblCon = new Connect(ref conn, ref strConn);
// cmd.Connection = TblCon;
if (cmd.CommandText.StartsWith("select"))
{
cmd.ExecuteReader();
cmd.Dispose();
}
else
{
cmd.ExecuteNonQuery();
cmd.Dispose();
}
//TblCon.Dispose();
}
public Command(ref string commandText,ref OleDbCommand cmd)
{
//TableAdapter.Connect TblCon;
OleDbConnection conn = new OleDbConnection();
cmd.CommandText = commandText;
cmd.CommandType = CommandType.Text;
string strConn = "";
//TblCon = new Connect(ref conn, ref strConn);
if (cmd.CommandText.StartsWith("select"))
{
cmd.ExecuteReader();
cmd.Dispose();
}
else
{
cmd.ExecuteNonQuery();
cmd.Dispose();
}
//TblCon.Dispose();
}
public Command(ref string commandText,ref OdbcCommand cmd)
{
// TableAdapter.Connect TblCon;
OdbcConnection conn=new OdbcConnection();
string strConn = "";
cmd.CommandText = commandText;
cmd.CommandType = CommandType.Text;
// TblCon = new Connect(ref conn, ref strConn);
if (cmd.Comma
Member 12712527
7-Apr-22 7:53am
View
Sir I have one problem i overlook the codes....It is ofcourse my fault that I did coding that way. If you permit me then (yes sir i was guessing). The ref keyword is used to keep reference of the object like pointers in C.
Member 12712527
7-Apr-22 7:13am
View
Sir you guided me well. i have written the modified code and the connection was successful. but regarding the command object there's a error. The error of initialisating the executeQuery() . I am supplying the code to see
the code:-
public Command(ref string commandText,ref SqlCommand cmd)
{
//TableAdapter.Connect TblCon;
SqlConnection conn=new SqlConnection();
cmd.CommandText = commandText;
cmd.CommandType = CommandType.Text;
string strConn = "";
// TableAdapter TblAdp=new TableAdapter();
// TblCon = new Connect(ref conn, ref strConn);
// cmd.Connection = TblCon;
if (cmd.CommandText.StartsWith("select"))
{
cmd.ExecuteReader();
cmd.Dispose();
}
else
{
cmd.ExecuteNonQuery();
cmd.Dispose();
}
//TblCon.Dispose();
}
Member 12712527
2-Aug-21 7:53am
View
in today's AI you could be able to mimic one's thought . In today's AI you could be able to clone handwriting . In today's AI you could be able to clone voice
Member 12712527
2-Aug-21 7:45am
View
that's a cheap idea
Member 12712527
1-Aug-21 2:43am
View
good answer sir
Member 12712527
1-Aug-21 2:16am
View
sir i have seen that in mathematics at set is related to trigonometry , trigonometry is to geometry and so on
Member 12712527
1-Aug-21 2:09am
View
sir now it's absurd but who knows after 50 or 100 years AI might be incorporated in the database
Member 12712527
31-Jul-21 10:07am
View
if you don't help me with your knowledge then it would not be possible for me to withstand longer
Member 12712527
31-Jul-21 10:04am
View
hi hi sir i am not very rich i have only a computer and some basic books you forgot i am a shop keeper small shop
Member 12712527
31-Jul-21 9:39am
View
sir do you have any other idea
Member 12712527
31-Jul-21 9:38am
View
sir do you have any other idea
Member 12712527
31-Jul-21 9:37am
View
sir do you have any other idea
Member 12712527
31-Jul-21 9:25am
View
simple nowadays AI is becoming day by day prominent at that time AI might be involved with the database
Member 12712527
31-Jul-21 9:20am
View
sir an idea just struck my mind nowadays database needs only username and password to access the database but nowadays AI is becoming day by day prominent it might be like this that at that time the database will also need these two things but at that is time AI would be involved
Member 12712527
31-Jul-21 9:11am
View
even after using my way it could be done the idea just struck my mind the idea is nowadays databases are made like this that you've to give only username and password to enter the database but after 100 years AI might be also involved. at this moment it excepts username and password at that time it would also accept username and password but difference is that AI would be involved at that time
Member 12712527
31-Jul-21 8:50am
View
in hashing i have seen same letter gives the same hashed value so sir how come specific user will get specific data
Member 12712527
31-Jul-21 8:45am
View
previously life was hard and thought simple nowadays life is easy and thought complex after 100 years life will be even more simple and thought even more complex nowadays a person has to remember username and password only now sir there might be only one database for everyone after 100 years so sir how come hashing technique would work on that day
Member 12712527
31-Jul-21 8:33am
View
think like this may not be now but after 100 years it might be possible to think like this that only one for everyone nowadays heavy compitition is going on but later maynt be any competition -- only one for everyone
Member 12712527
24-Jul-21 8:55am
View
Sir what i have said earlier in the previous question that idea now learnt as hashing .
very good boy
Member 12712527
24-Jul-21 7:59am
View
please please please give me a book ....i dont know how to search google. i have already said my problem previously free one book
Member 12712527
24-Jul-21 7:32am
View
thank you for your reply
Member 12712527
24-Jul-21 7:30am
View
okay sir i'll not do that another better idea has come in my mind ie we know english alphabets are 26 ie if these letters are written horizontally then 12 are left and 12 are right leaving 2 in the middle ie 13th and 14th. so 12 letters to left , 12 letters to right..here lyes the programming
any letter and any number of letters if encrypted then the encrypted value will contain 26 letters
Member 12712527
16-Jul-21 9:56am
View
no sir no no
only one book would be sufficient
please provide me the best book you prefer
Member 12712527
1-Mar-21 8:56am
View
thanks for encouraging me. but it would take long time to complete first phase of the database as i am alone programmer
Member 12712527
1-Mar-21 8:43am
View
if you have the software only then you can open the dbfile otherwise not this dbfile is asked for password within the software
Member 12712527
1-Mar-21 8:41am
View
if you can get the software you could decrypt it in someway because it is made up of microsoft c# but if you get only the dbfile then could you be able to decrypt it
Member 12712527
1-Mar-21 6:37am
View
sir i have done similar type of program
Member 12712527
1-Mar-21 6:35am
View
i am making a database and the data it provides would be saved in a file if i code it this way then how
Member 12712527
1-Mar-21 6:32am
View
data file by oracle or ms sql server can they be seen ?
Member 12712527
1-Mar-21 6:08am
View
no sir it isn't possible for anyone to read my data
suppose there is a word of even numbered length and i divide the word by 2. converted into integer and added or subtracted it 2 to it and then transformed into byte code.
would it be possible for anyone to transform back to original data from outside the program ?
Member 12712527
26-Feb-21 13:22pm
View
Okay sir good night tomorrow i will see your words
Member 12712527
22-Feb-21 1:44am
View
i found monodevelop is editor for c# but don't know how to run it
Member 12712527
19-Feb-21 4:17am
View
sir you say using dock property is problematic
Member 12712527
18-Feb-21 2:17am
View
thanks sir done it of-course by your example of the code that you provided...
Member 12712527
18-Feb-21 0:02am
View
Yes sir but what about the scroll bars
Member 12712527
17-Feb-21 2:54am
View
sir by using Anchor property the form becomes incredibly large which doesn't fit on the screen
Member 12712527
17-Feb-21 2:52am
View
Deleted
sir by using Anchor property the form becomes incredibly large and does fit in the screen .
Member 12712527
16-Feb-21 8:16am
View
not that but the dock property
Member 12712527
16-Feb-21 8:15am
View
okay sir done it
Member 12712527
16-Feb-21 7:34am
View
i am saying once the database is delivered the user may insert such heavy records in it
so if he wants to scroll through the records maybe not 100 columns but if there are 20 or 30 columns and not 10,000 rows less as 100 or 50 rows then seeing all at once would be impossible . in such case how he will view all the items of the records
Member 12712527
15-Feb-21 6:20am
View
thank you sir my queries regarding this ends
Member 12712527
15-Feb-21 5:57am
View
okay sir i can do it but you say will i get the ipaddress and the port no of the remote pc if i code
socket s=mylist.remoteendpoint -- mylist is the object of tcplistener class
Member 12712527
15-Feb-21 5:51am
View
what will i do ?
oledbconnection con=new oledbconnection
// giving all the parameters to the con
when someone writes in c#
con.connect
it will connect both database and the front end ( which may reside in same or different pc)
Member 12712527
15-Feb-21 5:43am
View
then how could i make oledb connection which runs through MAN
Member 12712527
15-Feb-21 5:41am
View
that means server when online gets a new ipaddress ?
Member 12712527
14-Feb-21 10:11am
View
i will surely listen to you sir and do as much as my knowledge and intelligence could help me . but you have to promise me that you will not stop helping me
Member 12712527
14-Feb-21 6:45am
View
sir now I will leave for a moment because i have to go to the market
Member 12712527
14-Feb-21 6:43am
View
sir sir sir i am a shop keeper and you say i am researching !!!!
i have interest about this application c#
what do you think of me
Member 12712527
14-Feb-21 6:23am
View
thank you for helping me
Member 12712527
14-Feb-21 6:22am
View
thank you sir my further questions will be on this only
Member 12712527
14-Feb-21 6:08am
View
no more questions sir sorry ...
Member 12712527
14-Feb-21 6:06am
View
sorry sir extremely sorry .... i will ask no more questions to you
Member 12712527
14-Feb-21 6:03am
View
the example sighted might be from client call to server --connection status .how will the database present in the server know which client is connecting it if it's not clear
then can i ask for further help
Member 12712527
14-Feb-21 5:57am
View
Deleted
the example you sighted might be from the front end app connecting a database but what would be from the side of database
Member 12712527
14-Feb-21 5:54am
View
Deleted
the example you sighted might be from the side of front end app
Member 12712527
14-Feb-21 5:52am
View
sir sorry believe me i don't know client server architecture
Member 12712527
14-Feb-21 5:46am
View
then how come could i access file
Member 12712527
14-Feb-21 5:45am
View
Deleted
iknow it's different i will put "apple.com" in a string variable and rest i.e.
" d://myddb.dfv" in another so what would be the connecting string
Member 12712527
14-Feb-21 4:12am
View
for now I want to eat apple
Member 12712527
14-Feb-21 4:10am
View
i am just sighting an example -- www.apple.com
Member 12712527
14-Feb-21 4:03am
View
sir DFV File is the database file created by the user when he uses my database to create a table
would the connecting string be like this
con.connectingstring ="https://www.apple.com/d://mydb.dfv"
Or
Different
Member 12712527
13-Feb-21 2:27am
View
Ok
Member 12712527
13-Feb-21 2:24am
View
Custom built database made by me
Member 12712527
11-Feb-21 9:12am
View
Link not showing
Member 12712527
11-Feb-21 9:09am
View
What do you mean by unit testing framework
Member 12712527
11-Feb-21 8:34am
View
Simple I am collecting information because I want to build my own connector (like MySQL connector)as you have mentioned. It might be named xxConnector or anything like MySQL connector or SQL connector
Member 12712527
11-Feb-21 8:07am
View
It's specific because we use MySQL.data namespace while coding a .net application and not system.data
Member 12712527
11-Feb-21 8:04am
View
If specific then I have to build my own custom oledb class
Member 12712527
11-Feb-21 8:02am
View
Sir oledb class, is it for any database or oledb is specific for the databases
Member 12712527
11-Feb-21 6:02am
View
Nice logic sir... 😂
Member 12712527
11-Feb-21 5:41am
View
Hope when installing MySQL " mysql.data".DLL reside in this folder...
Member 12712527
11-Feb-21 5:38am
View
Gac 32 or gac 64 or gac_msilwhats the difference
Suppose system does not reside in system.data which is in gac32 and gac64 but system.data is present in gac 32and 64 is there any difference between system.data of gac32 and that of gac64
Member 12712527
11-Feb-21 5:10am
View
Where do these DLLs and exe reside
Member 12712527
11-Feb-21 2:26am
View
Not so hard as you think. You have thought about it, so you can do it
Member 12712527
10-Feb-21 12:28pm
View
Ok sir good night please provide me the link so that I can view it tomorrow
Member 12712527
10-Feb-21 12:23pm
View
Please send me the link
Member 12712527
10-Feb-21 12:23pm
View
I am trying my level best
Member 12712527
10-Feb-21 12:22pm
View
I haven't studied it please send me the link
Member 12712527
10-Feb-21 12:20pm
View
How you tell me literally I will do it programmatically
Member 12712527
10-Feb-21 12:19pm
View
Sir there is connector class in c# . I want just to know that could I use this class to build an oledb connector
Member 12712527
10-Feb-21 12:16pm
View
And use that class in c# or vb.net
Member 12712527
10-Feb-21 12:16pm
View
You might say that c#and sqlserver connection is there.you use sqlconnection string for that. I say I want to build my own sqlconnection class
Member 12712527
10-Feb-21 12:12pm
View
I want to build that bridge which would connect ms application with custom built database suppose oledb connector
Member 12712527
10-Feb-21 12:05pm
View
Connector is a class of c#. I don't want to connect c#application with any database but want to use the bridge that could connect specific custom built database with any ms built frontend
Member 12712527
9-Feb-21 12:06pm
View
Okay sir its night okay good night sir
Member 12712527
9-Feb-21 11:47am
View
It's not about references but the question is about performance so sir awaiting for your answer eagerly
Member 12712527
9-Feb-21 11:42am
View
So setting it to null frees itself and I think there remains no problem
Member 12712527
9-Feb-21 11:38am
View
Any type of variable it is I want to state that if it remains active all the time during program run it's not garbage collected so space is acquired all the time. .if the program never ends then that space is acquired permanently it's a problem. If it's an instance variable then it's value automatically goes away once it is out of scope so no problem regarding instance variable but problem is there regarding static
Member 12712527
9-Feb-21 11:04am
View
Though space is no problem for a normal PC but it might be the headache to programmer regarding a telephone exchange company or a Web server....
Member 12712527
9-Feb-21 10:58am
View
Same answer as above
Member 12712527
9-Feb-21 10:40am
View
An object in memory maybe static may not be but my question is that as only in the case of static I am thinking that as it remains active all the time in memory until the program ends it is not garbage collected which may lead to performance problem is it right sir
Member 12712527
9-Feb-21 10:20am
View
This static can only be garbage collected once it is freed but if it remains active all the time until the program ends I hope it isn't garbage collected so there is a performance problem. . maybe I think
Member 12712527
6-Feb-21 5:05am
View
confused a bit
Member 12712527
6-Feb-21 5:04am
View
yes sir cleared...
Member 12712527
6-Feb-21 3:12am
View
okay thank you sir
Member 12712527
6-Feb-21 2:52am
View
Deleted
same thing i have done but value is missing
my code
class sm
{
private string [,,,] ac()
{
string [,,,] r=new string [5,55,55,55];
int i=0,j=0,k=0,l=0;
for (int u=0; u<5;u++)
{
r[u,j,k,l]=txt1.text;
j++;
r[i,j,k,l]=txtf1.text;
k++;
r[i,j,k,l]=xt.tostring();
l++;
return r;
}
public string [,,,] h
{
get
{
return ac();
}
}
}
class d//
{
sm v=new sm();
string [,,,] c=v.h;
messagebox(C[0,1,0,0]); // value missing wwhy
}
Member 12712527
5-Feb-21 10:44am
View
sir my code
class a
{
private string[,,,] ac{...function body...}
public string[,,,]cl=>ac().clone();
}
class b
{
a aa=new a();
string[,,,] v=aa.cl;
string str=v.getvalue(0,1,0,0).tostring();
messagebox.show(str); // value is missing
}
is this code have any error .....the first function ac() is all correct .....
Member 12712527
5-Feb-21 9:35am
View
as i trust you and really honour you ,i have done it and found that Microsoft doesn't allow you to do so with the help of property so i used static keyword for it.
i want to hear from you if any better way if present to share it with me
Member 12712527
4-Feb-21 5:40am
View
sir i have done the same thing and the values are okay if it is called from different function of the same class but value is missing once called from different class .
how to solve the problem
Member 12712527
4-Feb-21 4:01am
View
sir in the class where allcontrols() is declared the values are seen but from different function no value is seen once called by another class .the allcontrols() function is receiving data in the array used in it and returning back that array in the return type of the function ....
Member 12712527
4-Feb-21 3:49am
View
possibly no
Member 12712527
4-Feb-21 2:40am
View
the function 'allcontrols' is returning a string array. simple only by seeing the return
type.
the value of this array is seen in the messagebox function, called from another function of the same class but value is missing once called from another class.
why...? does my calling of a function whose return type is a string array is wrong...?
please tell how to return that function from one class to another without loosing the values...
Member 12712527
1-Feb-21 1:44am
View
sure sir
Member 12712527
31-Jan-21 20:42pm
View
sir i have got an idea , ill try it first . i may use property method or i may use the static keyword to get the value into strtxtt...
Member 12712527
31-Jan-21 20:37pm
View
sir sir sir datafile is the name of my folder created by me. you misunderstood me.
Member 12712527
31-Jan-21 10:51am
View
the path is "@datafile/"+ strtxt+"/cc.txt".
but strtxt is entered by user in another form .in the working form this value of strtxt
is missing . how to get the value through code
Member 12712527
31-Jan-21 10:42am
View
sir as in your code if i want to know the name of the 'working data' folder where my file is myfile.txt how ill be able to . the name of the specified folder is in a variable but not showing how to get that name through code
Member 12712527
31-Jan-21 10:23am
View
thank you sir .... i will not just copy and paste your code but i will modify the code
to get the work done
Member 12712527
31-Jan-21 10:08am
View
yes sir but i am building an application where i will be able to know where my text file is residing under which folder
Member 12712527
31-Jan-21 9:52am
View
suppose that i am a text file and i want to know the name of my containing folder how could i be able to ...?
Member 12712527
31-Jan-21 9:50am
View
sir i want to know the name of the folder that my text file is in
Member 12712527
9-Jan-21 2:39am
View
Sir now after studying the code i found the error. the error was in thread call. anyway thanks
Member 12712527
31-Dec-20 11:16am
View
SIR, the program shows up a set of records on execution of specifically typed code .
the code is executed line by line. And the code of the program is written in c#.
The code looks as SQL with the code used in a programming application Please suggest a name for the application
Member 12712527
31-Dec-20 10:33am
View
on execution of the code written in the grammar i defined it displays a set of records. now please state what would be name of the program -- compiler behind an interpreter (c# is a compiler) or simply an ordinary program (translator) ?
Member 12712527
31-Dec-20 10:26am
View
after you write the code in specific grammar; on execution it delivers a set of data present in a table. thhe whole program is written in c#. now please say what I will call the application as ?
Member 12712527
24-Aug-20 12:51pm
View
OK then can I create folder close icon and folder open icon...?
Member 12712527
24-Jul-20 5:02am
View
After Resource. onle culture,equals, reference equal and resource manager is comming.
Member 12712527
24-Jul-20 5:00am
View
After Properties.Resurces no Name of the .png file as mentioned in the resource is comming...
Member 12712527
23-Jul-20 7:57am
View
Sir my answer...
Member 12712527
23-Jul-20 7:36am
View
No not saying that, but single node of the same group will have one image and another node of the same group will have another image. And also the sub-node of node[0] will have one different image other than these nodes....
Member 12712527
21-Jul-20 4:02am
View
Thanks...
Member 12712527
11-Jul-20 14:17pm
View
What will you do.....
public IntPtr func()
{
private string[] arg;
Do some work with arg....
and
return arg;
}
Is this way correct...?
Member 12712527
11-Jul-20 13:27pm
View
Sir what's your answer still get a book...?
Member 12712527
11-Jul-20 13:14pm
View
void abc(out ref string arg)
Member 12712527
11-Jul-20 13:11pm
View
It's like returning pointers from function in C....
What would you say if I use the ref keyword....?
Member 12712527
11-Jul-20 12:36pm
View
A variable contains only one value, an array has multiple values but looses its value if called from outside. How to retain the value in a variable is learnt. But I didn't know how to retain the values in an array without declaring it static....I WANT TO DO THAT.......
Member 12712527
11-Jul-20 12:30pm
View
How to built a database of 4D...!!!
Member 12712527
11-Jul-20 12:21pm
View
There are objects of 4D in the universe....
Member 12712527
11-Jul-20 12:20pm
View
Okay I'll not return the array from any method but can I return the array itself...
Member 12712527
11-Jul-20 12:16pm
View
Sir I'm trying to make a database, where I would need this thing....
One more thing just came in my mind now....make a 4D image processing application...
Member 12712527
11-Jul-20 11:48am
View
I don't want to use static arrays in the program. But in case if I don't find any solution...I have to use it...This will cause issue in my program as I learned from someone that static variable r array is not collected by the garbage collector....So the program will have issues....
Member 12712527
11-Jul-20 11:36am
View
Sir I have learned how you can use one integer or string value of one class to another class by the use of property. So I used the same for array. But it showed compiler warning--property should not be used to return arrays. So I asked for help that how you would return array from a method without declaring static....
Member 12712527
11-Jul-20 11:18am
View
Sorry Sir....I will us list for that....will it be Okay.....please reply...
I'm sure it will have no performance issue but any oher issues...
Member 12712527
11-Jul-20 10:27am
View
Sir this is my problem...what shall I do...?
Member 12712527
11-Jul-20 10:24am
View
My problem is this as I stated so what shall I do....?
Leave programming.....
Member 12712527
11-Jul-20 10:20am
View
But Sir the question was downvoted. Still shall he come across it....?
Member 12712527
11-Jul-20 10:18am
View
4-Dimensional Array....
Member 12712527
11-Jul-20 9:43am
View
I referred to Mr. OriginalGriff....
Member 12712527
11-Jul-20 7:34am
View
Sir, you said not to return arrays from a property....so I'm thinking this way...because
I need a method in a class will return a static array which is to be consumed by another class..
Suppose...
class a
{
public static string[,,,] rows;
private string[,,,] DoSomething()
{
Do some work with row...
return row;
}
}
class B
{
public void Consumer()
{
private string[,,,] col;
col=a.row;
Do some work.....
}
}
This will be the program....
Member 12712527
11-Jul-20 7:12am
View
Sir, you said not to return arrays from a property....so I'm thinking this way...because
I need a method in a class will return a static array which is to be consumed by another class..
Suppose...
class a
{
public static string[,,,] rows;
private string[,,,] DoSomething()
{
Do some work with row...
return row;
}
}
class B
{
public void Consumer()
{
private string[,,,] col;
col=a.row;
Do some work.....
}
}
This will be the program....
Sorry if I said anything wrong....not calling the method but returning a static variable.....
Member 12712527
10-Jul-20 11:52am
View
Sir you're saying Lists are also bad. Is it viable to use static array or what will be the right solution....?
Show More