Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Tags
Member Avatar for pikkas

I am working at winforms project and i have a datagridview from which i am trying to update a database from it when the user changes something. Here is the code: [CODE] DataSet ds = new DataSet(); SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["EbosPr.Properties.Settings.Database1ConnectionString1"].ConnectionString); SqlCommand scmd = new SqlCommand("Select * From CustCalls …

Member Avatar for M.Waqas Aslam
0
100
Member Avatar for pikkas

Hello guys, I want to grab data from a website bet-mate.com. I tried some ready made software but as I understood you can grab data if there is an HTML table. In this website that I am trying to grab them there is no table. Can anyone advice me how …

Member Avatar for griswolf
0
143
Member Avatar for pikkas

I have a gridview with 3 columns Name,Surname,Change(ButtonField column) which is populated from an SqlDataReader with the following code [CODE] SqlCommand sqlCommand = new SqlCommand("select * from Empl where userId ='" + userid + "'", sqlConnection); sqlConnection.Open(); SqlDataReader reader = sqlCommand.ExecuteReader(); GridView1.DataSource = reader; GridView1.DataBind(); [/CODE] In my database there …

0
78
Member Avatar for pikkas

I have a workflow application which i run it with WorkflowApplication command. And i am tryng to print the outputs of the workflow with the following code. [CODE] IDictionary<string, object> output = null; app.Completed = delegate(WorkflowApplicationCompletedEventArgs o) { output= o.Outputs; HttpContext.Current.Response.Write(output["res"]); }; [/CODE] When i run the application i get …

0
70
Member Avatar for pikkas

Hi guys, i am working on a software engineering design project at the part of architectural design of a Web Application. I am describing the operations of each Web Page according to IEEE specifications. When describing an operation i have to give 'attributes' and 'return' 'pre and post conditions' as …

Member Avatar for abelLazm
0
75
Member Avatar for pikkas

I have a web app using VS2010 and i want to insert a page with a chart which takes data from a database. for example i have 5 columns with one row and i want a column chart with five bars. something like that, any help? Column1 ---------------------- column2 --------- …

Member Avatar for kvprajapati
0
72
Member Avatar for pikkas

hi, i m trying to make something like a login page and i used the following code to compare the Users password from a password text box and then compare it with the Database password to see if it is the same. nevertheless when i compare the strings the system …

Member Avatar for pikkas
0
176
Member Avatar for pikkas

hi, i m trying to make something like a login page with C# using VS 2010 and SQL server database. I am using the following code to get the password from the appropriate username but i get an error of Object reference not set to an instance of an object. …

Member Avatar for pikkas
0
111
Member Avatar for pikkas

i am trying to make a simple trim function but this doesnt works. any help pls? [CODE] function tr(input){ var i; var str; for(i=0; i<input.length-1; i++){ if(text.charAt(i)==" "){ str+=""+text.charAt(i) } return str } } [/CODE]

Member Avatar for hielo
0
92
Member Avatar for pikkas

hi guys, i am trying to populate a listbox the number of the current month in listbox. and i am using an onload event of the body but it doesnt works. any help please?. i am new on javascript. [CODE] function dat(){ var date=new Date(); var Month= toString(date.getMonth()+1) this.Monthlistbox.options=new Option(Month,Month,true,true); …

Member Avatar for mahavir123
0
140
Member Avatar for pikkas

i want some help for an onChange event for 2 drop down lists in javascript. if the 2 lists for example contains exactly the same values. let say A B C D, if the user chooses the B then automatically the B value in the second list should dissapear, if …

Member Avatar for Taywin
0
120
Member Avatar for pikkas

Hi there, can anyone help me with this problem?. To improve the speed of operations we wish to replace an open hash table with B1 buckets by another one with B2 buckets. Write a procedure to construct the new hash table

Member Avatar for Narue
0
161
Member Avatar for pikkas

i want to use the getexecutiontime() for a function in my program, but i want to use it for a function with arguments and the piece of code that i have is not working because my function have arguments prim_MCST(adj_matrix,nv); [CODE] long getExecutionTime(void (*func)()); // define Function long GetExecutionTime(void (*func)()){ …

Member Avatar for mvmalderen
0
105
Member Avatar for pikkas
Member Avatar for pikkas
0
127
Member Avatar for pikkas

Hi there, Is there any program that calculates the time complexity of some code?. I serach in google but i didnt find anything. Can anyone help me please?

Member Avatar for thoughtcoder
0
60
Member Avatar for pikkas

I have uploaded a case which i have to draw the ER diagrams for a database. Can anyone help me please! i m desperate :(

Member Avatar for ronebenja
0
73
Member Avatar for pikkas

my toshiba satellite notebook can accept up to 4gb ram. So i bought 2x2gb. When i install both ram cards the windows doesnt starts. when i install only one ram card then it works fine. When i install both in bios setup display me that there are only 3gb ram …

Member Avatar for fainsleep
0
115
Member Avatar for pikkas

how can i take a datagridview data and assign them in reportviewer? Any sample code please?

0
58
Member Avatar for pikkas

i m working on a windows application on vb .net 2005. i have a datagridview column "Dates" with dates in it. I want to add dynamically on form load a new datagridview column "Days passed" and in the cells of this column i want to display how many days passed …

0
74
Member Avatar for pikkas

i m using visual studio 2005. i am working on a windows application and i have a form and an mdiparent. On the form i have some buttons wich are control an sql server database and it works fine. when i make the form an mdi child then no one …

Member Avatar for waynespangler
0
160
Member Avatar for pikkas

i am trying to populate a datagridview from an ms access database with this code but it doesnt works. what is going wrong ? Dim con As OleDbConnection = New OleDbConnection("Provider=Microsoft.jet.oledb.4.0;data source=unclp.mdb;") Dim cmd As OleDbCommand = New OleDbCommand("Select * FROM books", con) con.Open() Dim myDA As OleDbDataAdapter = New …

Member Avatar for ericstenson
0
98
Member Avatar for pikkas

i want some help pls with datagridview buttoncolumn, how can i add an event handler to all buttons that are in the column?. please show me a simple example because i new on vb .net(windows forms) Also i want to ask how can i share the same instance of a …

Member Avatar for Ramy Mahrous
0
74
Member Avatar for pikkas

i have these 2 sql for creating 2 tables in my database, what i have to write to show that is one to many relationsip? [one supplier to many order status] CREATE TABLE Suppliers( SupplierID nVarChar(10) NOT NULL CONSTRAINT Suppliers_PK PRIMARY KEY, CompanyName nvarchar(40) NOT NULL, Description nvarchar(100) NULL, SortOrder …

Member Avatar for Jx_Man
0
102
Member Avatar for pikkas

there a way to get this info about my tables in a text file or anything that can be copy paste . i have many tables so i cant write them one by one? Properties DateCreated: 08/05/2007 11:38:58 PM DefaultView: Datasheet GUID: {guid {A79F9FC7-D630- LastUpdated: 09/05/2007 12:18:31 AM 47FB-A227-EB5202999268}} NameMap: …

Member Avatar for K7AAY
0
123
Member Avatar for pikkas

is there a way to generate sql reports with sql reporting services through the visual basic 2005 or 2008 express edition?. is there an add-on or something for express edition?.

Member Avatar for Ramy Mahrous
0
50
Member Avatar for pikkas

i am a student and i am making a database for a gym, i have an entity [members] and an entity [training classes], this is a N:M relationship so i have to make an intermediate table so my database is [members] 1------M [Intermediate table] N------1 [training classes], do you have …

Member Avatar for Nige Ridd
0
80
Member Avatar for pikkas

i have this method to read data from a text file. Code: StringBuffer fileData = new StringBuffer(1000); BufferedReader reader = new BufferedReader(new FileReader(filePath)); char[] buf = new char[1024]; String line; while ((line=reader.readLine())!=null){ String f[] = line.split("\t"); if (line.contains(loginname)) { fileData.append(line); } } reader.close(); return fileData.toString(); If i have a text …

Member Avatar for masijade
0
66
Member Avatar for pikkas

i want this window to be like this CYP BANKING SYSTEM username [_________] password [_________] LOGIN can anyone help me with the layout?, the flowlayout is just a single row! [code] Container logincontainer=getContentPane(); logincontainer.setLayout( new FlowLayout()); JLabel Title=new JLabel("CYP BANKING SYSTEM"); Title.setFont( new Font( "", Font.BOLD, 40 ) ); JLabel …

Member Avatar for rajatC
0
82