fname_text = worksheet.row(current_row)[0]
print (str(fname_text))
this returns my text from the excel cell like this: text:'my string/text' ... i don't want the text:' part.
what can i do to just make it return: my string/text
i have noticed several users who travel frequently are having issues with outlook files. when they are away, it wants to sync the entire outlook file all over again which takes forever. however, when they return and get back on the domain, the issue appears to go away and outlook catches up. its...
problem: the GAL does not show up as contacts on user's iphones.
real world example: bob calls sam. sam doesn't know who the number is because the GAL are not synced as contacts in his iphone.
now i know that you can search the GAL from the email side of the phone. i know that you can...
i have setup all the proxy emails and now i would like a powershell command/script to basically flip the switch to the new email addresses. it needs to run for each user.
so right now i have bob@domain1.com and bob@domain2.com ... currently domain1 is the reply email (primary email) and i...
i am new to all this so bare with me. i have created a simple model and i can create an object from the python shell using objects.create() method but i do not know how to do it via a REST call. i can also create objects from the django admin interface but thats not what i need.
anything is...
i am new to all this so bare with me. i have created a simple model and i can create an object from the python shell using objects.create() method but i do not know how to do it via a REST call. i can also create objects from the django admin interface but thats not what i need.
anything is...
so my xbox has like 256mb of built in memory. when i launch the game and choose that as the storage option the menu and everything works fine!
i made sure my hard drive was in securely and it is. so i have to assume my hard drive is bad? corrupt? should i try formatting the drive? if it is...
i do not think it is the xbox. the model is, i want to say jasper.
i will admit that it has sat for a very long time ... maybe almost a year without getting played. other than that everything with console seems to be fine. the updates worked just fine, netflix works just fine, all other xbox...
xbox 360 is the loudest, then ps3, then the wii.
and uncharted is a super demanding game. i never had issues because all my uncharted games ran straight off the hard drive so no stutters, jitters, lag, or long load times :)
basically nothing is working. i cannot start a mission, i cannot install the multiplayer disc. all the menus are f'd up and have different problems and errors everytime i reload them. what is going on?
(if you didn't notice ... all the text is wrong in the pictures. also, after i watch the...
when i do configure i receive no errors
./configure
then i do make and get this:
[root@hostname pubcookie-3.3.4a]# make
./config.status
config.status: creating Makefile
config.status: creating src/pbc_path.h
config.status: creating src/pbc_version.h
config.status: creating...
alias pic"v00001022d00002000sv*sd*bc*sc*i* pcnet32
alias pic"v00001022d00002000sv*sd*bc*sc*i* vmxnet
i don't think so. the vm platform is vmware's esxi
i have never had an issue like this before and this is my second server running same platform.
service network start gave this error:
Determining IP information for eth0 ...RTNETLINK answers: Cannot allocate memory
ifcfg-eth0:
DEVICE=eth0
BOOTPROTO=dhcp
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Ethernet
UUID="string of characters"
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
NAME="System eth0"...
my virtual machine was working fine yesterday, this morning it boots with network error and while i can remote control the machine just fine using vsphere's VM console, i cannot access the machine on the network because i do this:
Code:
ifup eth0
i get this: RTNETLINK answers: Cannot...
lol yeah i just realized that
the year needs to be 2 numbers ... so 2012 needs to be 12
hah, ghetto way:
DateTime.Today.AddYears(-2000).Year);
*edit*
string period = DateTime.Now.AddMonths(-1).ToString("MM-yy");
THERE!
<cfset period = DateFormat(CreateDate(currentYear, currentMonth, 1), "yy-mm")>
this should return period to 12-01 ... its the current year and month prior to the current month.
i could so something like this and combine them but figured there was better way.
int month =...
few questions about this segment of code i wrote:
DataClassesDataContext db = new DataClassesDataContext();
var budgetQuery = from tb2 in db.ExpenseSummaries
where tb2.PROJECT_NUMBER == "134023" && tb2.PA_PERIOD_NAME == "12-01"...
ok i think i am going to stick with linq to sql. the page does not get an immense amount of traffic and if i could write this in php i would have most of it done in a few hours ... but it has to be .NET
the pages that are database heavy only show the results of a handful of queries, and the...
one last question ...
if this is my query:
var gnQuery = (from gn in db.Project where gn.GroupNumber == 1 select gn).Distinct();
this query only returns 1 entity: a group name. since the result is just 1 value ... how do i store it and then call it in my .aspx file.
i would want to call it...
var groupNameQuery = from tb1 in db.Expenses where tb1.AWARD_NUMBER == "444" select tb1.AWARD_NUMBER;
GridView1.DataSource = groupNameQuery;
GridView1.DataBind();
this worked!
this is what i currently have in my code behind file: (for testing purposes)
protected void Page_Load(object sender, EventArgs e)
{
DataClassesDataContext db = new DataClassesDataContext();
var groupNameQuery = from Table in db.Database1 where...
so after dragging over the tables i am currently using over it created a DataClasses.dbml file and if i open the *.designer.cs file i see now that it is defining a lot of things like DataClassesDataContext etc ...
is this something i need to include now in my code behind file?
i edited my post ... slightly confused
i have the data connection setup for the database i need to access in my server explorer but there is no .MDF file there
will do!
thanks again for pointers. i am always looking to do things the "right" way
*edit*
ok yeah, wow, this is awesome!
**edit*
ok wait, how would i do this using SQL server? it says: // Northwnd inherits from System.Data.Linq.DataContext.
How would I mimic that in my situation?
I...
great starting point! thanks
so, in your example does dsStuff.Tables[0] refer to the first query and dsStuff.Tables[1] refer to second query?
and do i have to declare myBindObject and myOtherBindObject
i don't mind having all of my SQL in one command held in a dataset as long as it is easy to reference what i need in the dataset.
pointers or examples?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.