Hi, I have a small table generated by a detailsview I would like to format:
there has to be a small white area between the cells in the table. I've tried a dozen things but no matter what I do,
I can't change the size or the color of the borders. They always stay at default border size and in black color.
I have pasted my code below. Please help.
That fixed halve the problem: there is indeed white space between the cells now, but the borders are still black, can you help me make them white? Already set border-color to white but that didn't help at all.
You have to show us the css code for anyone to troubleshoot for you. I looked at source and there is 3 css files that may be affecting the way the elements are acting. If you use your browser's console you may be able to highlight an element that is acting up and see how it changes when resized. Try that.
I am working as Software Developer having 2 years of Experience in web based products Development, i done 6 projects on PHP, Mysql and 2 projects on ASP.NET,C# and i am not use any framework for web Development.
any one can suggest me What I do?
i am more interested to learn and do projects on ASP.
Which is best for my carrier ASP.NET/PHP framework learn? php having more Framework and Asp having only one. i am getting some confusion.
please suggest me
403 means that you have no access right to the provided URL. It may be due some security or that you are pointing to some folder with no browse access or many many other things...
The best is to the company runs the payment system to help you out...
More about 403: http://en.wikipedia.org/wiki/HTTP_403[^]
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
I'm designing a web application to for users to input and retrieve data. The data is stored in a sql database. I need help coding the search button to retrieve the data and display in grid view based on search criteria. I can't get the data to display with my current code. PLEASE HELP!!
Here is my code:
ProtectedSub btnSearch_Click(ByVal sender AsObject, ByVal e As System.EventArgs) Handles btnSearch.Click
IfMe.txtLastN.Text = ""ThenDim erMsg As Windows.Forms.DialogResult = MessageBox.Show("Must enter Last Name.", "Search", MessageBoxButtons.OK)
EndIf'Define connection string with datasourceDim str AsString = ConfigurationManager.ConnectionStrings("SqlDataSource1").ToString
'Define sql statement to be usedDim strUSRACCESS AsString = "SELECT FirstName, LastName, SSN from tblMAGIapplications where (FirstName = @FirstName and LastName = @LastName) or (SSN = @SSN) "'Define sql connection using connection string defined aboveDim USRconn1 AsNew Data.SqlClient.SqlConnection(str)
'Define the compelete sql statement with connection and sql stringDim CMD AsNew Data.SqlClient.SqlCommand(strUSRACCESS, USRconn1)
'Define reader for sql information returnedDim drUSR As Data.SqlClient.SqlDataReader = (0)
'Open SQL Connection
'Dim number As Integer'If Int32.TryParse(Me.txtSS.Text, number) = True Then'CMD.Parameters.AddWithValue("@SSN", number)'Else'CMD.Parameters.AddWithValue("@SSN", 0)'End If'Add parameters
'CMD.Parameters.AddWithValue("@SSN", Int32.TryParse(Me.TextBox1.Text, number))''SqlDataSource1.DataBind()''Me.GridView1.DataSourceID = SqlDataSource1
GridView1.DataSourceID = String.Empty
With the code I post I'm not necessarily getting an error message. For example, when I enter the last name as a search option it's just not returning any data. There is data in the database, and the connection is there.
Well you are not executing your query.
If you did execute the query, you would get an exception, because you commented out that part of the code.
And you are not doing anything with the resultset, if any, that would have been returned by your query.
That's all I got unless you can provide more information about your problem.