|
If I knew it, I would'nt ask!!!therefore I need more explanation!
|
|
|
|
|
|
THANKS A LOT FOR YOUR VERY HELPFUL SUGGESTION PLEASE DONT BOTHER YOURSELF TO MUCH TO ANSWER MY PROBLEMS/QUESTIONS!!
|
|
|
|
|
You're welcome. You have been answered, cool off and open your eyes and mind.
only two letters away from being an asset
|
|
|
|
|
ANYWAY TNX
|
|
|
|
|
The aspnetdb.mdf is just a database with the membership schema/functionality installed.
All you really need to do is rename the DB/Log file to something less ambiguous (e.g. client_db.mdf")
Now, the schema is intact along with all the functionality. Then change the DB name in your connection string, presumably in your web.config file to match that of what you renamed it too.
Then you can add all the tables you need, to the existing DB.
However, it would be good to brush up on the Memebership classes and security protocols like previously mentioned.
Hope this helps.
|
|
|
|
|
This website is designed for programmers. We will not just hand over chunks of code. If you have a piece of code that is not working, we can look at it and give you help. You are asking for something that is a basic, and a simple google search and a couple hours of reading/typing will solve your answer. but you want us to do it, and you're acting upset. Get over yourself and put a little brain power into it.
__________________
Bob is my homeboy.
|
|
|
|
|
YES MAYBE U R RIGHT!!
BUT AS FAR AS I HAVE CHECKED THIS WEBSITES DISCUSSION BOARD MOST OF THE QUESTIONS R MORE THAN A PIECE OF CODE/QUESTIONS!!AND UNFORTUNATELY/FORTUNATELY THEY GET THEIR ASNSWER!!
|
|
|
|
|
First, I don't understand your response.
Second, don't type in all caps. It's considered rude.
__________________
Bob is my homeboy.
|
|
|
|
|
I have a gridview showing ProjectCode, Contractor and the Project Cost. I want to iterate through the grid row and highlight the row with the lowest projectcost in green while the rest cost in another color. pls how do i go about this
t.aransiola
|
|
|
|
|
After binding the Data to the GridView find the index of the Row which contains
lowest projectcost.
let it be leastIndex;
gridView.Rows[leastIndex].Style["background-color"] = "#cccccc";
If it does not works:
make a loop and try to set the property to all the cells of that row:
gridView.Rows[leastIndex].Cells[i].Style["background-color"] = "#cccccc";
Regards,
Arun Kumar.A
|
|
|
|
|
Hi, I have declared sitemapprovider in my web.config file:
------------------------------------------
<system.web>
<authentication mode="Forms" />
<roleManager enabled="true" />
<siteMap >
<providers>
<add name="secureProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="Web.sitemap" securityTrimmingEnabled="true"></add>
</providers>
</siteMap>
-----------------------------------------------------
However, when I try to use this map provider via menu control, I cannot see any item in the menu. What may be wrong?
I`m using standard Menu control with SiteMapDataSource, where I point the name of that provider declared in web.config file. Menu is placed in my master page.
Thank you very much in advance
|
|
|
|
|
Hi
Hope you guys can help? I’ve struggling with this for ages.
I have this ASP.NET page that prints Labels/Barcodes to a local printer (BarcodePrinter1) – the user doesn’t get to select a destination, it’s hardcoded.
Now if that page is run over Citrix, then the hard coding fails, because the printer gets mapped to the Citrix session as (Client\\localcomputername#\BarcodePrinter1).
So what I was proposing was setting the localcomputername to the LAST computer from Active Directory, that the user logged on to.
That’s where I’ve hit my brick wall.
Can it be done? Is there another way to retrieve the users local computer name from the webpage, when this is run over Citrix? Can we determine whether the page is running from Citrix at all?
Any pointers/solutions would be gratefully accepted.
Thanks
Tony
|
|
|
|
|
I have a grid view that has a number of templated fields. The gridview is populated using a stored procedure. What I want to do is get the values in each cell in a row. But I am not getting any value from the cell. The simplified code is as shown below. Any idea why the code is not showing the value in the cell.
protected void dgPayment_RowEditing(object sender, GridViewEditEventArgs e)
{
try
{
string claimNo = dgPayment.Rows[e.NewEditIndex].Cells[3].Text;
}
catch(Exception ex)
{
ex.Message.ToString();
}
}
|
|
|
|
|
I noticed you are doing it from _RowEditing. Are you trying to get the new value or the value the user is editing? I think you can access something like e.NewValue to get the new value, but that is only available from _RowUpdating as far as I am aware. I am still pretty new to gridview myself.
|
|
|
|
|
Thanks for your response. I am trying to get the value the user is editing or the current value not the new.
|
|
|
|
|
how you're filling the gridview, if you are filing it in load event then maake sure you write that in
if(!page.ispostback)
{
fill data grid here.
}
in that way you'll get the value.
|
|
|
|
|
Hi Everyone,
I'm new to ASP.NET and I am kind of stuck with a project that I am working on. I have 2 tables in my Access db, tblQuestions and tblResponses. For every question in the tblQuestions table, there are multiple responses. How do I pull the question's and include only the responses that are tied to that question (by QuestionId - Every response is tied back to the tblQuestions table by question Id).
Using VB.NET (NOT C#) as backend code
Example:
Question 1
Checkbox - Response 1
Checkbox - Response 2
Checkbox - Response 3
Question 2
Dropdown - Responses
Question 3
Radio - Response 1
Radio - Response 2
Radio - Response 3
I would really appriciate any help!
Thanks in Advance
-- modified at 15:37 Friday 25th May, 2007
|
|
|
|
|
U have not cleared ur problem clearly. Pls clear ur question. I U need in VB.NET or Query.
|
|
|
|
|
I need VB.NET code.
Sorry.
|
|
|
|
|
Read "How to get an answer to your question" post
It's not a VB.NET or C# question, it's a relational database issue
only two letters away from being an asset
|
|
|
|
|
It is a ASP/VB.NET Question!!!
I need to write the code that will display my results on the page.
tblQuestion:
QuestID | QuestDesc
1 | My 1st Question
2 | My 2nd Question
3 | My 3rd Question
tblResponse:
RespId | RespDesc | QuestId
1 | Yes | 1
2 | No | 1
3 | Too Much | 2
4 | Just right | 2
5 | Not Enough | 2
6 | Yes | 3
7 | No | 3
8 | Maybe | 3
I need my page to display
My 1st Question
-Yes
-No
My 2nd Question
-Too Much
-Just Right
-Not Enough
My 3rd Question
-Yes
-No
-Maybe
How do I do this?
Your Help will be GREATLY Appriciated! No need for ANGRY faces!!!! SMILE!!!!
Thanks in Advance
-- modified at 15:08 Friday 25th May, 2007
|
|
|
|
|
Read "How to get an answer to your question" post.
H-E-L-P is not a title worth answering
only two letters away from being an asset
|
|
|
|
|
Is that a better title??????
With all due respect, either HELP me or STOP wasting my TIME!!!!!
Happy Day!
|
|
|
|
|