Hello i am very new to this form and i have learnt my self. sorry for my poor english! i want setting page as shows in picture but it not showing same relsult i have tried many time :( . [Click Here](http://i.imgur.com/ei1ZVo5.png) . my code is <div id="addcontainer"> <div id="addprimary"> <ul> <li><a href="#home"><img src="http://bengali.exintimes.com/wp-content/uploads/2015/05/125_banner1.jpg"></a></li> <li><a href="#news"><img src="https://www.seoclerk.com/pics/183798-18HhJR1392119968.jpg"></a></li> <li><a href="#contact"><img src="http://bengali.exintimes.com/wp-content/uploads/2015/05/125_banner1.jpg"></a></li> </ul> </div> <div id="addcontent"> </div> <div id="addsecondary"> <ul> <li><a href="#home"><img src="http://bengali.exintimes.com/wp-content/uploads/2015/05/125_banner1.jpg"></a></li> <li><a href="#news"><img src="https://www.seoclerk.com/pics/183798-18HhJR1392119968.jpg"></a></li> <li><a href="#contact"><img src="http://bengali.exintimes.com/wp-content/uploads/2015/05/125_banner1.jpg"></a></li> </ul> </div> </div> #addcontainer { width: 100%; } #addprimary { float: left; max-width: 125px; } #addsecondary { float: right; width: 125px; } #addcontent …

Member Avatar
Member Avatar
+0 forum 2

Hello I hope someone can show me a path to get in right direction. I need a datagridview with offset columns, as shown on the photo. I have tried to add three datagridviews next to each others, but this messes up horisontal scrolling when I add data to them. Hopefully someone can give me an idea about how to achieve this. The offset colums (col 6-9) always have one less row than the other columns. I like to have one datagridview, this will not mess up horisontal scrolling, when I fill the grid with data. ![GridView.jpg](/attachments/small/3/eedb5ca018305665936cadee1ea5f759.jpg "align-left")

Member Avatar
Member Avatar
+0 forum 2

Hey guys. So I'm currently building an app and I'm having a bit of trouble. So I have an Excel file and it reads it and opens it fine(I imported microsoft.office.interops.excel but what I want to know is how to loop through column A and pick out the rows that are equal to "USA Hawaii". And then out of those rows I want it to pick out the rows in column B that say "7". And then out of those rows I want it to pick out the row that says "58". I was going to use and If statement …

Member Avatar
Member Avatar
+0 forum 2

Hello I have an SQL query that i want to concatenate the fields and display it in a way that those concatenated fields will be displayed first row will have 4 columns,second row will also have 4 columns....etc. for instance the query `SELECT imageurl, caption, template FROM template; The Result imageurl caption template image001 cap001 temp001 image002 cap002 temp002 image003 cap003 temp003 image004 cap004 temp004 image005 cap005 temp005 image006 cap006 temp006 image007 cap007 temp007 image008 cap008 temp008 I want it to be displayed this way cap001 cap002 cap003 cap004 image001 image002 image003 image004 temp001 temp002 temp003 temp004 cap005 cap006 cap007 …

Member Avatar
Member Avatar
+0 forum 4

I need to sort items from multiple columns. I use this to get the id from the columns and format the data: $.fn.serial = function() { var array = []; var $elem = $(this); $elem.each(function(i) { var id = this.id; $(move_selector, this).each(function(e) { array.push( 'id[]=' + this.id ); }); }); var data = array.join('&'); //console.log(data); return data; }; $(function() { $("div.connectedSortable").sortable({ connectWith: '.connectedSortable', update: function(event, move_selector) { $('#data').empty().html( $('.connectedSortable').serial() ); var datatest = $('#data').text(); //$('#test').text(datatest) console.log(datatest); } }); }); This gets the data to the console.log but I can't seem to get it into a variable that I can use …

Member Avatar
Member Avatar
+0 forum 2

Hi Guys, If you have a Text Box which you are putting in the Decimal Places such as "15.50". Then Submitting this to a Access Database then on re-fresh the data shows in the grid view as "15.5". Where abouts should this be modified so that it shows Decimal Places? Is it on the Access DB Layout and how it's store or should there be come amendment on the code side? It looks like the GridView is removing the trailing '.00's' ?? Many thanks for any help.

Member Avatar
Member Avatar
+0 forum 11

Hi all, I have a 3-tier menu system in that there are 3 levels such that each top-level menu item has X mid-level items and each mid-level item has Y bottom-level items. For each top-level item I need to split the mid-level and bottom-level items into 3 columns as equally as possible with the restriction that I cannot split the children of a mid-level item into 2+ columns. If I didn't have to keep all the children of a mid-level item together, making equal columns would be pretty much as simple as diving the total number of children in a …

Member Avatar
Member Avatar
+0 forum 1

Hello, I am trying the example from Bootstrap 3 for nested columns. The problem is, the nested row is going out of the parent column. So this code: <div class="row" style="border: 1px solid red"> <div class="col-md-9"> Level 1: .col-md-9 <div class="row" style="border: 1px solid blue"> <div class="col-md-6"> Level 2: .col-md-6 </div> <div class="col-md-6"> Level 2: .col-md-6 </div> </div> </div> </div> The row with the blue border starts about 10px outside of the row with the red border. Screenshot attached. ![d20ec268e4f6a5a1a03172c26601f453](/attachments/large/2/d20ec268e4f6a5a1a03172c26601f453.jpg "d20ec268e4f6a5a1a03172c26601f453") Why is that?

Member Avatar
Member Avatar
+0 forum 3

Hi, this program of mine can plot timestamp & irradiance but how can i plot another line of data for temperature? This is my txt data: TimeStamp,Irradiance,Temperature 21/7/2014 0:00,0.66,26.2 21/7/2014 0:00,0.71,23.4 21/7/2014 0:00,0.65,25.4 21/7/2014 0:00,0.67,25.3 21/7/2014 0:01,0.58,30.5 21/7/2014 0:01,0.54,26.7 21/7/2014 0:01,0.63,25.5 21/7/2014 0:01,0.65,26.9 21/7/2014 0:02,0.64,22.2 and this is a snippet of my code: from datetime import datetime import matplotlib.pyplot as plt import matplotlib.dates as mdates import numpy as np from scipy.stats import mode import re linematchregex = re.compile('(\d+/\d+/\d+ \d+:\d+),(\d+\.\d+)') startTime = datetime.strptime(raw_input('please enter start time in format like 21/7/2014 0:00 :'), '%d/%m/%Y %H:%M') endTime = datetime.strptime(raw_input('please enter end time in …

Member Avatar
Member Avatar
+0 forum 7

I need to add Column1 + Column2 And Display Result In Column3 But I need to do it for all rows in column3 automatically. I need a very short code. Thankyou.

Member Avatar
Member Avatar
+0 forum 2

Hi, I am using a responsive website to make a site which is here - http://rwgraphicdesign.com/Smith/index2.html What I want to do is have the last column ONLY, which lists the locations the Dr. performs exams at, to have a different background color. I have tried a bunch of different things but nothing unless it changes all the column backgrounds. Any help?

Member Avatar
Member Avatar
+0 forum 5

This python script prints all the columns of an sqlite database which path is given as argument.

Member Avatar
+4 forum 0

My website is [Career Tracker](http://careertracker.net/) i want to desing wordpress like collum wise 2 collumn like this post1 post2 post3 post4 post5 post6 any idea how to make this ...in wordpress ??

Member Avatar
Member Avatar
+0 forum 1

Hi All, i have requirement like to Convert rows to columns in SQL server. i have retrieved data like below: MatchId SelectionName Odds 322 Home Win 1.33 322 Draw 5.00 322 Away Win 9.00 322 Under 2.5 2.40 322 Over 2.5 1.53 and want to convert like below: MatchId Home Win Draw Away Win Under 2.5 Over 2.5 322 1.33 5.00 9.00 2.40 1.53 how can i do this? Thanks, KK

Member Avatar
Member Avatar
+0 forum 2

Hey Guys, So I was doin a tutorial and I incorporated it into my code and it works for the most part. The program gives you a list of town names you pick one and hit search. All good so far then the program goes into the database and pulls the relevant info from 6 tables and they display in the next gui on a Jtable. Only problem is the column header are taken from the database aswell but I want Generic column titles as the ones from the table reflect the table they were pulled from and since there …

Member Avatar
Member Avatar
+0 forum 4

Hi all. Using VB6: I have an application in which I am programmatically populating a datagrid. When I first drop the datagrid on my form, it has 2 columns by default. I can add further columns to them but I wanted to know if there was a tidy way of starting from column 1 to begin with, or do I just have to delete the first two columns and start again? This is (pretty much) my column definition loop For Each Col In RsDivisions.Fields Set c = DataGridDiv.Columns.Add(DataGridDiv.Columns.Count) With c .Visible = True .Width = 1000 .Caption = Col.Name .Alignment …

Member Avatar
Member Avatar
+0 forum 4

Hello! I'm trying to fill a Crystal Reports in a generic way. This is because I don't have direct access to the database, I just call a service that returns a DataTable. I'm no expert in C# or Crystal Reports, is there any way to fill a Crystal report without knowing the columns I'm receiving? This is what I've tried so far: dt = new DataTable(); dt = getData(); var rpt = new ReportDocument(); rpt.Load(@"CrystalReport1.rpt"); rpt.SetDataSource(dt); crystalReportViewer1.ReportSource = rpt; var paramFields = new ParameterFields(); var paramField = new ParameterField {Name = "col1"}; var paramDiscreteValue = new ParameterDiscreteValue {Value = "Descripcion"}; …

Member Avatar
+0 forum 0

The following snippet will show, how you can pass a data array to a function, and generate a table with N columns. `$data` contains some dummy data, which can come from any data source. Then you call `createHtmlTable` passing the data, the number of columns you want, and a function, which will be called for each row, where you can specify the exact layout of each cell. I hope the comments speak for themselves. If not, please reply and let me know.

Member Avatar
Member Avatar
+3 forum 7

Hello guys I need a favor, I have array of data fetched form mysql db and contain 4 information **id - thumb - views - added by** I want to display those arrays in 3 or 4 coloumn like picture gallery. I did it with only picture and its work ![gtest1](/attachments/large/3/gtest1.jpg "gtest1") but when I try to add information under it its show in vertical I need to devide the results into 3 or 4 column and each result look like this ![gtest2](/attachments/small/3/gtest2.jpg "gtest2") Tried this but its useless <? while($data = mysql_fetch_assoc($rs)) { ?> <span><a href="details.php?pic=<? echo $data['id']; ?>"><img …

Member Avatar
Member Avatar
+0 forum 11

im trying to get the user to enter information into a textbox and then after clicking submit button the page has a table containing with that information in the rows. so for example the table has the heading Artist, Songs, Year made, Gene and the user has to enter data for each feild inside a text box and it store it in here. this is what i have so far <!DOCTYPE HTML> <HTML> <H2>JavaScript Sort Table</H2> <head> <script> function sortTable(col, myTable){ var cell = col + myTable.cols; var totalRows = myTable.rows.length; var tSort = 0; var columns = new Array(); …

Member Avatar
Member Avatar
+0 forum 2

Dear All! I want to get my columns value into rows . i am taking sum of qty of each month . like this select sum(Case when month(invoicedate) = 1 then qty else 0 end) as janQty, sum(Case when month(invoicedate) = 1 then qty else 0 end) as febQty, sum(Case when month(invoicedate) = 1 then qty else 0 end) as marQty, . . . from Invoices above query is returning result like this janQty---------febQty---------marQty------------- --156-----------678-------------345------ and my required format is janqQty------156 febqQty------678 marqQty------345 . . . i can use union all like this this select 'jan' as month, sum(case when …

Member Avatar
Member Avatar
+0 forum 2

Not sure if I posted correctly. I am trying to do a bubble sort on a 2D array. I want to sort the array by columns. I get it to compile but it doesn't run correctly. #include <iostream> using namespace std; int main() { int array[10][10]; int col, row; cout<<"Enter numbers to put into row "; for(int i = 0; i < 9; i++){ cin>>row; cout<<"Enter the numbers to put into column "; for(int j = i+1; j < 10; j++){ cin>>col; array[i][j]; } } int maxIndex; for(int i=0; i<size-1;i++) { maxIndex=i; for(int j=i+1;j<size;j++){ if(a[j][col] > a[maxIndex][col]) maxIndex=j; } if(a[i][col] …

Member Avatar
Member Avatar
+0 forum 4

Hi guys, I have created a gridview which is supposed to display 3 columns: | view | Name | Position | The gridview becomes visible based a a selection of a dropdownlist. When I load the gridview from the dropdownlist however, the grid view appears as such: | view | Name | Position | Name | Position | Why are the columns repeating and how do I resolve this issue? here is the markup for the dropdownlist and its corresponding gridview: <div> <table width="80%" align="center"> <tr> <td class="auto-style1"> <asp:Label ID="Lbl_SelectTeam" runat="server" Text="Select a Team" /> </td> <td> <asp:DropDownList ID="Ddl_Teams" runat="server" …

Member Avatar
Member Avatar
+0 forum 3

Hello there, I really need help ASAP. A user has two students(maybe more) where he need to complete marking the score sheet for the students. So, I have a score sheet where the user will insert their id in the textbox and then it will display the first studentName, studentID, studentTitle and studentProgram on the form. Then the user will insert mark for the first student, and click button "next" After clicking, the score sheet will display the second studentName, studentID, studentTitle and studentProgram on the form. I only able to do up to the first student. I dont know …

Member Avatar
Member Avatar
+0 forum 7

In a SQL field I have this: GroupManager 2.0 (2.9.3) (Phoenix)<br/>MultiInv 3.1.3<br/>Ptweaks 4.2<br/>WorldEdit 1232-0bc9369 Which spits out this: GroupManager 2.0 (2.9.3) (Phoenix) MultiInv 3.1.3 Ptweaks 4.2 WorldEdit 1232-0bc9369 Multiverse-NetherPortals 2.4-b530 How can I make it so it's two text columns like this when I echo it onto a page: GroupManager 2.0 (2.9.3) (Phoenix) WorldEdit 1232-0bc9369 MultiInv 3.1.3 Multiverse-NetherPortals 2.4-b530 Ptweaks 4.2 I've done my searches with no results :/

Member Avatar
Member Avatar
+0 forum 1

I'm learning as I go here, but I'm stuck at the moment. I am trying to dynamically create a datagridview and populate it from a database using SQL. I have created my columns, but I don't know how to assign the data coming out of my sql query to its matching column. Some of the columns will be populated using information from the sql statement, others (not added at the moment) are supposed to be comboboxes, ect, so the user can choose the information needed. I don't even know if I'm on the right track with this. Any help, suggestions, …

Member Avatar
Member Avatar
+0 forum 4

Hello. I can search for items in first listview column using FindItemWithText. I wonder is it possible to search in other listview columns and highlight found text, not all item line ? :?: Searched on google all day long but no luck... :sad: My Listview contains multiple items and each item has 9 subitems. I would like to search in column 4. Thanks in advance for any help! :icon_wink: My code i use to search in first column. [CODE] Dim findItem As ListViewItem = ListView1.FindItemWithText(TextBox1.Text, False, 0, True) If findItem IsNot Nothing Then ListView1.MultiSelect = False ListView1.TopItem = findItem findItem.Selected …

Member Avatar
Member Avatar
+0 forum 5

Hello Dears I need help in having two columns in my website , i don't know why it can't be done i tried everything with table and div and css ,, but it appears on column is down and the another is up it's so strange !!!!!!!! i tried also valign and top in css but it doesn't work here is an example for my website http://videos.play35.com/funniest-security-footage-of-idiot-car-crash/ the problem that is under the video i want to make the Description and the Ad 300x250 in two columns but as you see , the description is down and the ad is …

Member Avatar
Member Avatar
+0 forum 4

how to drop multiple columns at a time.. i tried with the following syntax "alter table <table_name> drop column <col_name1>, <col_name2>" but i am getting syntactical error.

Member Avatar
Member Avatar
+0 forum 5

hi friends... The following code is for getting tables list from specific database from MySql... =================================================================== #include <windows.h> #include <iostream> #include <mysql/mysql.h> using namespace std; int main() { //connection params char *host = "localhost"; char *user = "root"; char *pass = ""; char *db = "prakash"; //sock MYSQL *sock; sock = mysql_init(0); if (sock) cout << "sock handle ok!" << endl; else { cout << "sock handle failed!" << mysql_error(sock) << endl; } //connection if (mysql_real_connect(sock, host, user, pass, db, 0, NULL, 0)) cout << "connection ok!" << endl; else { cout << "connection fail: " << mysql_error(sock) << endl; …

Member Avatar
+0 forum 0

The End.