I am using a template to learn more about fluid design My main confusion at this point regards how structure and size is defined. For example in the CSS, there is a header tag; but the actual area of the header/banner is not defined. Or is it? I cannot figure out how this is occurring. The mark-up seems quite simple. Please see HTML and CCS below <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>The Perfect Fluid Width Layout</title> <link rel="stylesheet" type="text/css" href="style.css" /> <!--[if lt IE 7]> <link rel="stylesheet" …

Member Avatar
Member Avatar
+0 forum 5

Hello i have three colums which i want to make users can upload pictures/videos and automaticly to add to one of the colums but i cannot figure out how to do that... here is the HTML code i have <div class="main"> <div class="row"> <div class="col-md-3"> <div class="panel panel-default"> <div class="panel-body"> Picture/Video </div> </div> </div> <div class="col-md-3"> <div class="panel panel-default"> <div class="panel-body"> Picture/Video </div> </div> </div> <div class="col-md-3"> <div class="panel panel-default"> <div class="panel-body"> Picture/Video </div> </div> </div> </div> </div> and also the fourth column to be fixed at the right side

Member Avatar
Member Avatar
+0 forum 5

I would like the widgets on the window to expand as you expand the window. I know you can do it with the pack method but I'm using the grid method to arange my widgets. Pack Method: label = Label(root, text="Some Text") label.pack(expand=1, fill=BOTH) Grid Method I'm using: self.inventoryLabel = Label(self.root, text="\nInventory") self.inventoryLabel.grid(row=3, column=15, columnspan=15, rowspan=1)

Member Avatar
Member Avatar
+0 forum 1

Hello Daniweb Community, I'm wanting to slice a square image into 9 pieces like below ![Image_Grid_Expected.png](/attachments/small/3/92037daf6101645e42f7718c3f4ccf65.png "align-center") the code I'm currently using is this Private Function CropBitmap(ByRef bmp As Bitmap, ByVal cropX As Integer, ByVal cropY As Integer, ByVal cropWidth As Integer, ByVal cropHeight As Integer) As Bitmap Dim rect As New Rectangle(cropX, cropY, cropWidth, cropHeight) Dim cropped As Bitmap = bmp.Clone(rect, bmp.PixelFormat) Return cropped End Function Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click PictureBox1.Image = CropBitmap(New Bitmap(PictureBox2.Image), 0, 0, 21, 21) PictureBox3.Image = CropBitmap(New Bitmap(PictureBox2.Image), 0, 21, 21, 22) PictureBox4.Image = CropBitmap(New Bitmap(PictureBox2.Image), 0, 43, 21, …

Member Avatar
Member Avatar
+0 forum 24

Hello, guys. The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832. 73167176531330624919225119674426574742355349194934 96983520312774506326239578318016984801869478851843 85861560789112949495459501737958331952853208805511 12540698747158523863050715693290963295227443043557 66896648950445244523161731856403098711121722383113 62229893423380308135336276614282806444486645238749 30358907296290491560440772390713810515859307960866 70172427121883998797908792274921901699720888093776 65727333001053367881220235421809751254540594752243 52584907711670556013604839586446706324415722155397 53697817977846174064955149290862569321978468622482 83972241375657056057490261407972968652414535100474 82166370484403199890008895243450658541227588666881 16427171479924442928230863465674813919123162824586 17866458359124566529476545682848912883142607690042 24219022671055626321111109370544217506941658960408 07198403850962455444362981230987879927244284909188 84580156166097919133875499200524063689912560717606 05886116467109405077541002256983155200055935729725 71636269561882670428252483600823257530420752963450 Find the thirteen adjacent digits in the 1000-digit number that have the greatest product. What is the value of this product? Here's how I did it: #include <iostream> #include <string> #include <vector> using namespace std; string Grid_of_Numbers = "73167176531330624919225119674426574742355349194934" "96983520312774506326239578318016984801869478851843" "85861560789112949495459501737958331952853208805511" "12540698747158523863050715693290963295227443043557" "66896648950445244523161731856403098711121722383113" "62229893423380308135336276614282806444486645238749" "30358907296290491560440772390713810515859307960866" "70172427121883998797908792274921901699720888093776" "65727333001053367881220235421809751254540594752243" "52584907711670556013604839586446706324415722155397" "53697817977846174064955149290862569321978468622482" "83972241375657056057490261407972968652414535100474" "82166370484403199890008895243450658541227588666881" "16427171479924442928230863465674813919123162824586" "17866458359124566529476545682848912883142607690042" "24219022671055626321111109370544217506941658960408" "07198403850962455444362981230987879927244284909188" …

Member Avatar
Member Avatar
+0 forum 7

hi I want to change the width of column in Gridview bound field but it is not changing . Code Is [code] <asp:BoundField DataField="Address" HeaderText="Address" SortExpression="Address"> <ItemStyle Width="500px" /> </asp:BoundField> [/code] thanx

Member Avatar
Member Avatar
+0 forum 5

Hello,I've a gridview control and inside a cell, i've put 3 radiobuttons under a same group. I'm not able to get which radio button is selected through checked property. As checked property is giving false always, when i check it with breakpoint. How can i get a the selected value from a group of radiobuttons. Thank You

Member Avatar
Member Avatar
+0 forum 4

Hi everybody. I have problem with .pack() and .grid(). I have to use this line: mywin.pack(fill=BOTH, expand=YES) I have used .grid every where on my file but now here i have copied a pice of code from some where and have pasted to my file, as you see it has used .pack(). I can't change all .grid() to .pack() because it's difficult for me to use .pack() when i want to set for example the place and direction of buttons, so i use .grid() options like row and column. And if i change that line, that .pack() to .grid(), it …

Member Avatar
Member Avatar
+0 forum 3

Hey good people, I hope you are all well. Ok so here is the scenario, i have 4 tables that i have made in sql server 2008. I am using a drop down menu to diplay their names. Like this... ![ecb53783b16f2f19f927a3cd72bee4d0](/attachments/large/4/ecb53783b16f2f19f927a3cd72bee4d0.png "ecb53783b16f2f19f927a3cd72bee4d0") I am going to use a dataGrid view. What i want to do is that when i select a department name from the drop down, it's table content shows up in the gridview that i can apply Datebase operations on, like add, edit, refresh and delete etc. I don't want to make seperate gridviews for each table. Is …

Member Avatar
Member Avatar
+0 forum 1

Hi Guys, I hope you can help me out... I have a slight issue in where the 'Search Box' Code I currently have seems to sift through the Populated Data Grid View fine. However, when selecting an Account that has been filtered by the use off the 'Search Box' it correctly populates the TextBoxes but when clearing the 'Search Box' it then removes the data in the Grid view below which I don't want. My question is, How do I stop this from happening? I want to keep the DGV Populated to re-use again. I have attached screenshots of the …

Member Avatar
Member Avatar
+0 forum 6

Hi! Could you help me initialize or load the data into a Data Grid View Control using iDB2 Connection? I've tried this code I've seen from the net but it does not seem to work :( I am initializing the connection using form_load and not in the Properties Window. Imports IBM.Data.DB2 Imports IBM.Data.DB2.iSeries Dim cmdGet As New iDB2Command Dim daGet As New iDB2DataAdapter Dim dsGet As New DataSet Dim sqlGet As String conn.ConnectionString = str conn.Open() '****Display all the records in dgTranslog sqlGet = "SELECT * FROM exptranslog" cmdGet.CommandText = sqlGet cmdGet.Connection = conn daGet.SelectCommand = cmdGet daGet.Fill(dsGet) dgTranslog.DataSource = …

Member Avatar
Member Avatar
+0 forum 2

Dear All i want to load some data to grid view (which is not existing in the database currently) and do some chages (putting tax rates etc) and caluculate totals and after all changes done to update them on the database, where can i keep those data temporaly ? and do the manupulation and then update datatbase finally it seems i can't use row updating event on grid view(because i don't want to subit it to database untill i update each and every row manualy) what do you suggest ?

Member Avatar
Member Avatar
+0 forum 3

Having a hard time trying to wrap my head around why my grid system fails, I'm assuming my train of thought is stuck at the moment(akin to writers block). My understanding of grids is while the current cell isn't the last one in the column/row(w/e is horizontal) /*do stuff*/ then increment to the next, else if its the last cell then go to the next "line"(row/column(w/e is vertical)). I guess what I'm asking is what is the problem with my logic and or code? and is there a std::container better suited for this task? (also sorry if this is the …

Member Avatar
Member Avatar
+0 forum 1

![2c915acada1248ef9a1127460f5c34c5](/attachments/small/4/2c915acada1248ef9a1127460f5c34c5.png "align-left") ![163de4b108e6016cbbd130f16496ce47](/attachments/small/4/163de4b108e6016cbbd130f16496ce47.png "align-right") Well, im a beginner and im having some problems with the code. On the display it shows System.Data.Objects.ObjectQuery 1[System.String](on the left). Im trying to merge two diferent tabels by taking Naziv from a different table and adding it to the grid.Another table for the combo(three tables, on the right) And here is the complete code from the class: KozmetikaEntitiess tretmanProdukti = new KozmetikaEntitiess(); public frmTretmaniProdukti() { InitializeComponent(); } public frmTretmaniProdukti(frmMain parent) { InitializeComponent(); MdiParent = parent; } private void frmTretmaniProdukti_Load(object sender, EventArgs e) { cmbTretman.DisplayMember = "Naziv"; cmbTretman.ValueMember = "TretmanID"; cmbTretman.DataSource = from tretman in tretmanProdukti.Tretmani …

Member Avatar
Member Avatar
+0 forum 1

hey, i have stored a few images in mySQL database as BLOB.Now i want to retrieve and display the images on frame as a gallery/grid view.I have displayed one image in a frame but when i tried to add more images it fails...Can anyone help with sample code,coz im new to the language.... I've tried the following code,bt it didnt worked:- [CODE]public class ImageShow extends JFrame{ Image image; public int x = 30,y=30; ResultSet r; public ImageShow(){ setTitle("Image Retrieved"); setSize(1000,1000); addWindowListener(new WindowAdapter(){ public void windowClosing(WindowEvent we){ setVisible(false); } }); setVisible(true); } public void paint(Graphics g){ try { r = ImageRetrieve.rs; …

Member Avatar
Member Avatar
+0 forum 7

Hi mobile devs, I am noob to android studio and java, but have some c and c++ basic knowledge so not noob to programming in general. However I am also noob to all aspects of form design. I did not write title of Question singular because I'm pretty sure I'll have a few as I progress, so It's possible this thread might serve other android noobs. I downloaded Android studio 4.6 but during installation downloaded patch/upgrade to 5.7. My first question, which I'm not to certain how to term is... In the activity_main.xml tab where I can see physical layout …

Member Avatar
Member Avatar
+0 forum 18

Hi, I'M using the simple grid theme and I want to add a LinkedIn social media button on the top right that linkS to my LinkedIn profile. Most of the other main networks are built in to the theme So that you only have to add a link to your profile, but LinkedIn isn't included. I actually managed to figure out how to add The LinkedIn field to the theme. The only problem is I cant get the LinkedIn image icon to display. There is a broken iage displaying and this is even linking to my LinkedIn profile. I just …

Member Avatar
Member Avatar
+0 forum 1

Hey guys, just joined the forum for a little advice! [Click Here](http://jsfiddle.net/Wa7Wm/) I have mocked up this grid that I'm wanting to create. Intially I was going to do this fluid images (like in this example), but I found the layout always shifted a couple of pixels at smaller sizes no matter what the image size / aspect ratio. My next effort was to create these as divs and background images. However, to my frustraion I got exactly the same result (i.e shifting of the div heights when resized). So, does anyone know what the best method to create this …

Member Avatar
+0 forum 0

Hi everyone, If anyone knows how to make a automatuic search through datagid? for instance i've a list of data which polulate in datagrid(Grid master), another set of data(one at a time) caputres from registry folder to compare against the exsisting datagird (Grid master). When the the match is found this data will be saved in the database. Question is how to make this work automatically. I could do this manually as user need to select the data from combobox and hit search button. Any help guys. Appriciated in advance.

Member Avatar
Member Avatar
+0 forum 2

I am confuse about datagrid or table. How do you use grids like explorer, IDM, utorrent uses. are they using data grid or table or something i dont know. cant seem to get it? will post picture if required.

Member Avatar
Member Avatar
+0 forum 3

Hello Community, I was wondering if there is a way to get a grid from another window to display in another window by the way i'm using fluidkit slide transition. Please Help...

Member Avatar
Member Avatar
+0 forum 1

How to design a grid(like a chessboard) of pictures in html with a property that the content of an individual cell covers the entire grid on onmouseover and again it comes back to its place i.e the cell on onmouseout?

Member Avatar
Member Avatar
+0 forum 1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click myconnection = New OleDbConnection("provider=microsoft.ACE.OLEDB.12.0;data source=C:\Users\DELL\Documents\Visual Studio 2012\Projects\WindowsApplication9\WindowsApplication9\NIBM.accdb") myAdapter = New OleDbDataAdapter("select*from Driverdetails", myconnection) myAdapter.Fill(Ds, "Driverdetails") myconnection.Close() DataGridView1.DataSource = Ds DataGridView1.DataMember = "Driverdetails" End Sub

Member Avatar
Member Avatar
+0 forum 1

Please find attached File i want to Display data in grid in this format Please help asap its urgent Thanks in Advance Please help ASAp

Member Avatar
Member Avatar
+0 forum 2

I've created my first WPF form, and the ImageBrush XAML is giving me trouble. The XAML I have is: <Grid.BackGround> <ImageBrush ImageSource="ImageFile.png" TileMode="Tile" /> </Grid.Background> It displays the correct image - but it's stretched instead of tiled! The image is 127x127; the window is 660x808; a single instance of the image is stretched to fill the window instead of multiple tiles of the image filling the window. What am I doing wrong?!

Member Avatar
Member Avatar
+0 forum 1

I have been looking over past exam papers for revision for an upcoming uni exam for Java and one of the questions was, asking for code to add to a given abacus program to make the grid display 3 counters in each column of a 10x6. e.g. as soon as the JPanel opens. So far the current program enables the user to click in each column and add counters to each column, so you can do this manually but it is not the way to do it as when its run there are no counters present in the abacus grid. …

Member Avatar
Member Avatar
+0 forum 4

## Hi i am trying to get gried view data from data base numericaly onfter another. For example first 5 data then another five (6 to 10) then again. I am trying this by clicking on link button but page can not be refresh..i get id from session in manual data source of gried view. ## 'vb code.. Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Me.IsPostBack = False Then id = 5 End If Session.Add("gid", " " & id & " ") End Sub Protected Sub LinkButton3_Click(ByVal sender As Object, ByVal e As System.EventArgs) …

Member Avatar
Member Avatar
+0 forum 1

Hi guys, I've been cracking on with this project for a few days now and had lots of useful pointers to help along the way. I've now hit a little snag where I think I have written the correct update Statement but It seems to error at the last point. **The Code is the following:** if (radioButton1.Checked == true) { //Creates new versions of the Connection string and Data Set// con = new System.Data.OleDb.OleDbConnection(); ds = new DataSet(); //The actual connection to the database// con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = E:/Orders1.mdb"; //Open the Connection to the Database// con.Open(); //The SQL UPDATE …

Member Avatar
Member Avatar
+0 forum 10

#include <iostream> #include <stdlib.h> //For system() #include <conio.h> //For getche() #include <time.h> using namespace std; //You can modify these numbers but don't delete these constants or this starting code will not work const int MAX_HEIGHT = 20; //The height of the grid const int MAX_WIDTH = 40; //The width of the grid /******************************************************************** * Class: PickUpGame * Purpose: To store the grid and the current x and y position of the * user. Also has memeber functions to intialize the grid and print it. * Allows the user to move around the grid but provides no out of * bounds …

Member Avatar
Member Avatar
+0 forum 1

#include <iostream> #include <stdlib.h> //For system() #include <conio.h> //For getche() #include <time.h> using namespace std; //You can modify these numbers but don't delete these constants or this starting code will not work const int MAX_HEIGHT = 20; //The height of the grid const int MAX_WIDTH = 40; //The width of the grid /******************************************************************** * Class: PickUpGame * Purpose: To store the grid and the current x and y position of the * user. Also has memeber functions to intialize the grid and print it. * Allows the user to move around the grid but provides no out of * bounds …

Member Avatar
Member Avatar
-1 forum 2

The End.