|
|
Just a suggestion - please don't post so much of code here. you might be working for some employer and if he finds out that the code is being leaked on public forums you might get in trouble.
Post just the stuff that is causing the problem. always be discreet while giving code. make sure you don't violate the employes NDA in any way. we don't want you to get in trouble.
Every now and then say, "What the Elephant." "What the Elephant" gives you freedom. Freedom brings opportunity. Opportunity makes your future.
|
|
|
|
|
thx for advice i delet the code
|
|
|
|
|
Hi,
I want to know how can I format a number like this:
year = 2012
month = 7
it should be:
year = 2012
month = 07
then bill_code = 201207 (as int)
|
|
|
|
|
int bill_code = 100 * year + month;
|
|
|
|
|
Hello Guys,
I, Vadim Segal, is here to discuss my query regarding website Contact Us Page.I have a website developed in PHP. The contact us page of the website display the contact detail , but now I want to modify this page and want to add the contact us form to this page. So that , whenever the visitor enter their query, it can directly come to mail address. Please help me with your valuable advice.
Thanks
Vadim
|
|
|
|
|
I wrote an article on creating a .Net REST service.
.NET REST service[^]
I hoped to re-write the REST aspects utilizing a .Net restful service open source project. I'm avoiding WCF, as it is counter-REST (light-weight/simple). I am thinking of something fluent, spring-like, convention over configuration. It needs to be robust, handle all the verbs, async, file transfers and auth/security.
I can't find anything at all. Anyone have any leads for a .Net library or Java libraries that could be ported? There may also be an opportunity to start an open source project.
Thanks,
-Bruce
-bruce
|
|
|
|
|
Hello,
i want to make an attendance system in asp.net i have made two tables
1.attence_record (in which i have attendance record like record_id, date, class, subject)
2.raw_att (in which i have particular date and subject attendance)
record_id is foreign key in rwa_att.
now i want to create a grid view control to get the status of particular student.
i also need a dropdown for filling status. that is the main problem.
|
|
|
|
|
Ajit0010 wrote: i want to make an attendance system in asp.net
Ok. Good idea.
Ajit0010 wrote: 1.attence_record (in which i have attendance record like record_id, date, class, subject)
2.raw_att (in which i have particular date and subject attendance)
record_id is foreign key in rwa_att.
Create two tables with column as per need
Ajit0010 wrote: now i want to create a grid view control to get the status of particular student.
Use ADO.NET to get data from DB and use it for display in grid
Ajit0010 wrote: i also need a dropdown for filling status.
Assuming, you meant dropdown in grid, this should give you some idea:
MSDN: Walkthrough: Displaying a Drop-Down List While Editing in the GridView Web Server Control[^]
Now, try first what you want to do! You may find that it's not that hard. Formulate what was done by you that looks like an issue/not working.
|
|
|
|
|
Hi,
How can I redirect user based on thier compnuter language so if the page is English then redirect to www.mydomain.com/en otherwise stay on root www.mydomain.com?
|
|
|
|
|
You could try and base it on the 'Accept-Language' header that the browser sends to the website. This contains a list of preferred languages. See official W3 specifications[^] for more on how to use this header.
But make sure to always have an option for users to change the default language on the site, or you might get angry users that don't want english even though their computer indicates it is the preferred language.
|
|
|
|
|
How to make tab using php in CodeIgniter framework?
|
|
|
|
|
Please, I need help and assistant on how to go about to create and devlop a simple website with easy navigation through the pages
|
|
|
|
|
|
I want to build a webpage or site that will show about our training and camping and all the activities that happened during the camping, but don't know how to go about it
|
|
|
|
|
Okezie Victor wrote: don't know how to go about it
Then you need to spend some time learning. Follow the link I provided and start with some of the tutorials, read some of the CodeProject Articles[^], or even try using Google to search for ready made customizable solutions.
|
|
|
|
|
Hi ,
We have created a new Webservice , in this service we are using exterenal webservice in this webservice wsdl namespce tage () is empty and getting this error : "Schema item 'import' from namespace ''. The namespace attribute cannot have empty string as its value.could you please assit me
Thanks,
Vinay
Vinay
|
|
|
|
|
|
Hi,
I am just beginning with url rewriting. I want some guide please..
I just wanted to know how can I make:
www.mydomain.com/contact.aspx
to show like this:
www.mydomain.com/contact
Thanks
|
|
|
|
|
|
Its better if you try with ISAPI extension/filters for URL rewrite. There are direct methods for rewriting URLs in ISAPI.
|
|
|
|
|
hey guys i have win server 2008 & in it the crystal report cant export any type of files..
if u know solution guide me........
|
|
|
|
|
This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
|
|
|
|
|
I'm trying to create a table where the left 3 columns have text-align: left and the remaining columns have text-align: center. I would like to do it without setting a class on every td.
I know I can't apply text-align to colgroup or col but I've been trying to use those tags to apply a style to the th and td in those colgroup's. E.g.
#content table colgroup.holeinfo td {text-align: left}
But that doesn't work and I'm a bit stuck without resorting to:
<td class="holeinfo">
I'm not keen on heading that way since that would seem tedious and inefficient. And it feels like there ought to be a better way to do it!
xhtml 1.0 strict / css 2.1
I set up the base table styles as follows:
#content table {
width: 100%;
border: 2px solid #000;
border-collapse: collapse;
margin-bottom: 30px;
}
#content table td, #content table th {
padding: 2px;
border: 1px solid #000;
margin-bottom: 3px;
text-align: center;
background: #383838;
}
Then the table looks like this:
<table>
<caption>Morning</caption>
<colgroup class="holeinfo" span="3"></colgroup>
<colgroup class="scoreinfo" span="6"></colgroup>
<thead>
<tr>
<th scope="col">Hole</th>
<th scope="col">Par</th>
<th scope="col">SI</th>
<th scope="col">Gross Score</th>
<th scope="col">Gross Points</th>
<th scope="col">Net Score</th>
<th scope="col">Net Points</th>
<th scope="col">Yellow Ball</th>
<th scope="col">Yellow Ball Points</th>
</tr>
</thead>
<tfoot>
<tr>
<td>-</td><td>36</td><td>-</td><td>45 (+9)</td><td>12</td><td>37 (+1)</td><td>18</td><td>3</td><td>26</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>1</td><td>4</td><td>9</td><td class="bogey">5</td><td>1</td><td class="par">4</td><td>2</td><td>Y</td><td>4</td>
</tr>
<tr>
<td>2</td><td>4</td><td>11</td><td class="dblbogey">6</td><td>-</td><td class="bogey">5</td><td>1</td><td>N</td><td>1</td>
</tr>
</tbody>
</table>
Thanks,
Mike
|
|
|
|
|
Assuming that the browser you are aiming your webpage(s) at can handle CSS3, then the CSS3 tag :nth-child(N) may help
Try this ... it should only apply the CSS to the second and subsequent TD and TH tags after the first TD and TH tag.
#content table tr td:nth-child(n+2), #content table th:nth-child(n+2) {
padding: 2px;
border: 1px solid #000;
margin-bottom: 3px;
text-align: center;
background: #383838;
}
This is how that pseudo-class works http://reference.sitepoint.com/css/understandingnthchildexpressions[^]
Let us know how (or if) it works for you.
modified 1-Aug-19 21:02pm.
|
|
|
|